From 8623bbd9d949797c2c297c7a4ba788f3f37fb47b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 8 Oct 2020 14:32:25 -0700 Subject: [PATCH 01/21] build(java): readme.sh should be executable (#41) Source-Author: Jeff Ching Source-Date: Wed Sep 30 13:20:04 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 0762e8ee2ec21cdfc4d82020b985a104feb0453b Source-Link: https://github.com/googleapis/synthtool/commit/0762e8ee2ec21cdfc4d82020b985a104feb0453b --- .kokoro/readme.sh | 0 synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 .kokoro/readme.sh diff --git a/.kokoro/readme.sh b/.kokoro/readme.sh old mode 100644 new mode 100755 diff --git a/synth.metadata b/synth.metadata index d48c71613..056fadb9f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow-cx.git", - "sha": "ddb1709b06773ae5801b6aeaef0454cf4bc0b63b" + "sha": "8d7f23b953cb9f5468a77a72c493ac5fa1ed080d" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8a7a3021fe97aa0a3641db642fe2b767f1c8110f" + "sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b" } } ], From a05b10597190c11fd9d5c8e28842dae99efc9079 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Oct 2020 23:44:19 +0200 Subject: [PATCH 02/21] chore(deps): update dependency com.google.cloud:google-cloud-dialogflow-cx to v0.1.2 (#33) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-dialogflow-cx](https://togithub.com/googleapis/java-dialogflow-cx) | patch | `0.1.0` -> `0.1.2` | --- ### Release Notes
googleapis/java-dialogflow-cx ### [`v0.1.2`](https://togithub.com/googleapis/java-dialogflow-cx/blob/master/CHANGELOG.md#​012-httpswwwgithubcomgoogleapisjava-dialogflow-cxcomparev011v012-2020-10-08) [Compare Source](https://togithub.com/googleapis/java-dialogflow-cx/compare/v0.1.1...v0.1.2) ### [`v0.1.1`](https://togithub.com/googleapis/java-dialogflow-cx/blob/master/CHANGELOG.md#​011-httpswwwgithubcomgoogleapisjava-dialogflow-cxcomparev010v011-2020-09-23) [Compare Source](https://togithub.com/googleapis/java-dialogflow-cx/compare/v0.1.0...v0.1.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#github/googleapis/java-dialogflow-cx). --- samples/install-without-bom/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 4703fe045..8ce3bd1fa 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-dialogflow-cx - 0.1.0 + 0.1.2 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index d21fc71b7..57ce3e384 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-dialogflow-cx - 0.1.0 + 0.1.2 From b923e7fd0843a94a890430ae63bb2185d982a9ff Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 8 Oct 2020 21:46:08 +0000 Subject: [PATCH 03/21] chore: release 0.1.3-SNAPSHOT (#44) :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-cx-bom/pom.xml | 8 ++++---- google-cloud-dialogflow-cx/pom.xml | 4 ++-- grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-dialogflow-cx-v3beta1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-dialogflow-cx-bom/pom.xml b/google-cloud-dialogflow-cx-bom/pom.xml index 6135e6487..4d9508d1b 100644 --- a/google-cloud-dialogflow-cx-bom/pom.xml +++ b/google-cloud-dialogflow-cx-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-dialogflow-cx-bom - 0.1.2 + 0.1.3-SNAPSHOT pom com.google.cloud @@ -68,17 +68,17 @@ com.google.cloud google-cloud-dialogflow-cx - 0.1.2 + 0.1.3-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-cx-v3beta1 - 0.1.2 + 0.1.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3beta1 - 0.1.2 + 0.1.3-SNAPSHOT diff --git a/google-cloud-dialogflow-cx/pom.xml b/google-cloud-dialogflow-cx/pom.xml index b313ad903..38cbbb3c8 100644 --- a/google-cloud-dialogflow-cx/pom.xml +++ b/google-cloud-dialogflow-cx/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-dialogflow-cx - 0.1.2 + 0.1.3-SNAPSHOT jar Google Dialogflow CX https://github.com/googleapis/java-dialogflow-cx @@ -11,7 +11,7 @@ com.google.cloud google-cloud-dialogflow-cx-parent - 0.1.2 + 0.1.3-SNAPSHOT google-cloud-dialogflow-cx diff --git a/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml b/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml index e4a2c9092..507c5dc28 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3beta1 - 0.1.2 + 0.1.3-SNAPSHOT grpc-google-cloud-dialogflow-cx-v3beta1 GRPC library for grpc-google-cloud-dialogflow-cx-v3beta1 com.google.cloud google-cloud-dialogflow-cx-parent - 0.1.2 + 0.1.3-SNAPSHOT diff --git a/pom.xml b/pom.xml index 5feac1964..12f2283d9 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dialogflow-cx-parent pom - 0.1.2 + 0.1.3-SNAPSHOT Google Dialogflow CX Parent https://github.com/googleapis/java-dialogflow-cx @@ -70,17 +70,17 @@ com.google.cloud google-cloud-dialogflow-cx - 0.1.2 + 0.1.3-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-cx-v3beta1 - 0.1.2 + 0.1.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3beta1 - 0.1.2 + 0.1.3-SNAPSHOT diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml b/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml index 1a206e323..a0a5cc64f 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml +++ b/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dialogflow-cx-v3beta1 - 0.1.2 + 0.1.3-SNAPSHOT proto-google-cloud-dialogflow-cx-v3beta1 PROTO library for proto-google-cloud-dialogflow-cx-v3beta1 com.google.cloud google-cloud-dialogflow-cx-parent - 0.1.2 + 0.1.3-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 50651f824..8859c6360 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-dialogflow-cx - 0.1.2 + 0.1.3-SNAPSHOT diff --git a/versions.txt b/versions.txt index ba448ec4a..0dfbd22fb 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-dialogflow-cx:0.1.2:0.1.2 -proto-google-cloud-dialogflow-cx-v3beta1:0.1.2:0.1.2 -grpc-google-cloud-dialogflow-cx-v3beta1:0.1.2:0.1.2 \ No newline at end of file +google-cloud-dialogflow-cx:0.1.2:0.1.3-SNAPSHOT +proto-google-cloud-dialogflow-cx-v3beta1:0.1.2:0.1.3-SNAPSHOT +grpc-google-cloud-dialogflow-cx-v3beta1:0.1.2:0.1.3-SNAPSHOT \ No newline at end of file From 2ac186f70087e5b6262d95a6c80dcbf3de3a0135 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 12 Oct 2020 18:59:43 +0200 Subject: [PATCH 04/21] test(deps): update dependency junit:junit to v4.13.1 --- google-cloud-dialogflow-cx/pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/google-cloud-dialogflow-cx/pom.xml b/google-cloud-dialogflow-cx/pom.xml index 38cbbb3c8..c33106cd5 100644 --- a/google-cloud-dialogflow-cx/pom.xml +++ b/google-cloud-dialogflow-cx/pom.xml @@ -68,7 +68,7 @@ junit junit test - 4.13 + 4.13.1 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 8ce3bd1fa..aac115d50 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -36,7 +36,7 @@ junit junit - 4.13 + 4.13.1 test diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 8859c6360..4069aa879 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ junit junit - 4.13 + 4.13.1 test diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 57ce3e384..7bd523412 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -34,7 +34,7 @@ junit junit - 4.13 + 4.13.1 test From 77f66504b74069e65eca3e2afddd495565c064af Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 12 Oct 2020 14:06:07 -0700 Subject: [PATCH 05/21] feat!: Remove flow level spell correction setting. feat: Change LRO response for ImportAgent from Empty to ImportAgentResponse, to include the created agent name. feat: Add parameter flag into page and intent parameters. feat: Add `allow_playback_interruption` to OutputAudioText to make it have feature parity with Text message type. feat: Enable sentiment analysis feature. feat: Enable EventInput. feat: Enable `trigger_event` in MatchIntentResponse. docs: Add documentation for sessions. (#42) feat: Change LRO response for ImportAgent from Empty to ImportAgentResponse, to include the created agent name. feat: Remove flow level spell correction setting. feat: Add parameter flag into page and intent parameters. feat: Add `allow_playback_interruption` to OutputAudioText to make it have feature parity with Text message type. feat: Enable sentiment analysis feature. feat: Enable EventInput. feat: Enable `trigger_event` in MatchIntentResponse. docs: Add documentation for sessions. BREAKING CHANGE: removed enable_spell_correction from `NluSettings` This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e7e729c8-48cb-4ca6-b514-0cf6cff070be/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 336005205 Source-Link: https://github.com/googleapis/googleapis/commit/f7a34a4b51edcb758ee36e5fc580ac89ba2417fd --- .../cx/v3beta1/EntityTypesGrpc.java | 15 +- .../cx/v3beta1/SessionEntityTypesGrpc.java | 15 +- .../dialogflow/cx/v3beta1/SessionsGrpc.java | 65 +- .../clirr-ignored-differences.xml | 31 + .../dialogflow/cx/v3beta1/AgentProto.java | 100 +- .../cx/v3beta1/AudioConfigProto.java | 12 +- .../dialogflow/cx/v3beta1/AudioInput.java | 20 +- .../cx/v3beta1/AudioInputOrBuilder.java | 5 +- .../cx/v3beta1/CreateEntityTypeRequest.java | 6 +- .../cx/v3beta1/CreateFlowRequest.java | 6 +- .../cx/v3beta1/CreatePageRequest.java | 6 +- .../CreateSessionEntityTypeRequest.java | 6 +- .../cx/v3beta1/CreateWebhookRequest.java | 6 +- .../cx/v3beta1/DeleteEntityTypeRequest.java | 38 +- .../DeleteEntityTypeRequestOrBuilder.java | 8 +- .../cx/v3beta1/DeleteFlowRequest.java | 6 +- .../cx/v3beta1/DeletePageRequest.java | 6 +- .../DeleteSessionEntityTypeRequest.java | 6 +- .../cx/v3beta1/DeleteWebhookRequest.java | 34 +- .../DeleteWebhookRequestOrBuilder.java | 7 +- .../cx/v3beta1/DetectIntentRequest.java | 14 + .../v3beta1/DetectIntentRequestOrBuilder.java | 4 + .../cx/v3beta1/DetectIntentResponse.java | 24 +- .../DetectIntentResponseOrBuilder.java | 6 +- .../dialogflow/cx/v3beta1/EntityType.java | 50 +- .../cx/v3beta1/EntityTypeOrBuilder.java | 12 +- .../dialogflow/cx/v3beta1/EventHandler.java | 46 +- .../dialogflow/cx/v3beta1/EventInput.java | 636 +++ .../cx/v3beta1/EventInputOrBuilder.java | 50 + .../cloud/dialogflow/cx/v3beta1/Flow.java | 161 +- .../dialogflow/cx/v3beta1/FlowOrBuilder.java | 35 +- .../dialogflow/cx/v3beta1/FlowProto.java | 153 +- .../cloud/dialogflow/cx/v3beta1/Form.java | 123 +- .../cx/v3beta1/FulfillIntentResponse.java | 24 +- .../FulfillIntentResponseOrBuilder.java | 6 +- .../cx/v3beta1/GetEntityTypeRequest.java | 6 +- .../dialogflow/cx/v3beta1/GetFlowRequest.java | 6 +- .../dialogflow/cx/v3beta1/GetPageRequest.java | 6 +- .../v3beta1/GetSessionEntityTypeRequest.java | 6 +- .../cx/v3beta1/GetWebhookRequest.java | 6 +- .../cx/v3beta1/ImportAgentResponse.java | 644 +++ .../v3beta1/ImportAgentResponseOrBuilder.java | 52 + .../cx/v3beta1/InputAudioConfig.java | 61 +- .../cx/v3beta1/InputAudioConfigOrBuilder.java | 16 +- .../cloud/dialogflow/cx/v3beta1/Intent.java | 113 + .../dialogflow/cx/v3beta1/IntentProto.java | 129 +- .../cx/v3beta1/ListEntityTypesRequest.java | 6 +- .../cx/v3beta1/ListEntityTypesResponse.java | 6 +- .../cx/v3beta1/ListFlowsRequest.java | 6 +- .../cx/v3beta1/ListFlowsResponse.java | 6 +- .../cx/v3beta1/ListPagesRequest.java | 6 +- .../cx/v3beta1/ListPagesResponse.java | 6 +- .../ListSessionEntityTypesRequest.java | 6 +- .../ListSessionEntityTypesResponse.java | 6 +- .../cx/v3beta1/ListWebhooksRequest.java | 6 +- .../cx/v3beta1/ListWebhooksResponse.java | 6 +- .../cloud/dialogflow/cx/v3beta1/Match.java | 84 +- .../cx/v3beta1/MatchIntentRequest.java | 14 + .../v3beta1/MatchIntentRequestOrBuilder.java | 4 + .../cx/v3beta1/MatchIntentResponse.java | 373 +- .../v3beta1/MatchIntentResponseOrBuilder.java | 70 +- .../dialogflow/cx/v3beta1/MatchOrBuilder.java | 21 +- .../dialogflow/cx/v3beta1/NluSettings.java | 98 - .../cx/v3beta1/NluSettingsOrBuilder.java | 15 - .../cloud/dialogflow/cx/v3beta1/Page.java | 182 +- .../cloud/dialogflow/cx/v3beta1/PageInfo.java | 477 +- .../cx/v3beta1/PageInfoOrBuilder.java | 34 +- .../dialogflow/cx/v3beta1/PageOrBuilder.java | 49 +- .../dialogflow/cx/v3beta1/PageProto.java | 155 +- .../dialogflow/cx/v3beta1/QueryInput.java | 308 ++ .../cx/v3beta1/QueryInputOrBuilder.java | 35 + .../cx/v3beta1/QueryParameters.java | 94 + .../cx/v3beta1/QueryParametersOrBuilder.java | 14 + .../dialogflow/cx/v3beta1/QueryResult.java | 811 ++- .../cx/v3beta1/QueryResultOrBuilder.java | 167 +- .../cx/v3beta1/ResponseMessage.java | 4831 +++++++++-------- .../cx/v3beta1/ResponseMessageOrBuilder.java | 60 +- .../cx/v3beta1/ResponseMessageProto.java | 73 +- .../cx/v3beta1/SentimentAnalysisResult.java | 657 +++ .../SentimentAnalysisResultOrBuilder.java | 53 + .../cx/v3beta1/SessionEntityType.java | 142 +- .../v3beta1/SessionEntityTypeOrBuilder.java | 28 +- .../dialogflow/cx/v3beta1/SessionInfo.java | 260 +- .../cx/v3beta1/SessionInfoOrBuilder.java | 104 +- .../dialogflow/cx/v3beta1/SessionProto.java | 385 +- .../cx/v3beta1/SpeechModelVariant.java | 11 +- .../v3beta1/StreamingDetectIntentRequest.java | 68 +- ...StreamingDetectIntentRequestOrBuilder.java | 4 + .../v3beta1/StreamingRecognitionResult.java | 77 +- .../StreamingRecognitionResultOrBuilder.java | 15 +- .../dialogflow/cx/v3beta1/TextInput.java | 28 +- .../cx/v3beta1/TextInputOrBuilder.java | 8 +- .../cx/v3beta1/TrainFlowRequest.java | 6 +- .../cx/v3beta1/TransitionRoute.java | 116 +- .../cx/v3beta1/TransitionRouteOrBuilder.java | 20 +- .../cx/v3beta1/UpdateEntityTypeRequest.java | 6 +- .../cx/v3beta1/UpdateFlowRequest.java | 54 +- .../v3beta1/UpdateFlowRequestOrBuilder.java | 12 +- .../cx/v3beta1/UpdatePageRequest.java | 6 +- .../UpdateSessionEntityTypeRequest.java | 6 +- .../cx/v3beta1/UpdateWebhookRequest.java | 6 +- .../cx/v3beta1/VoiceSelectionParams.java | 49 +- .../VoiceSelectionParamsOrBuilder.java | 14 +- .../cloud/dialogflow/cx/v3beta1/Webhook.java | 97 +- .../cx/v3beta1/WebhookOrBuilder.java | 20 +- .../dialogflow/cx/v3beta1/WebhookRequest.java | 116 +- .../cx/v3beta1/WebhookRequestOrBuilder.java | 19 +- .../cx/v3beta1/WebhookResponse.java | 36 +- .../cx/v3beta1/WebhookResponseOrBuilder.java | 9 +- .../cloud/dialogflow/cx/v3beta1/agent.proto | 9 + .../dialogflow/cx/v3beta1/audio_config.proto | 32 +- .../dialogflow/cx/v3beta1/entity_type.proto | 45 +- .../cloud/dialogflow/cx/v3beta1/flow.proto | 51 +- .../cloud/dialogflow/cx/v3beta1/intent.proto | 5 + .../cloud/dialogflow/cx/v3beta1/page.proto | 144 +- .../cx/v3beta1/response_message.proto | 83 +- .../cloud/dialogflow/cx/v3beta1/session.proto | 196 +- .../cx/v3beta1/session_entity_type.proto | 67 +- .../cloud/dialogflow/cx/v3beta1/webhook.proto | 153 +- synth.metadata | 10 +- 120 files changed, 8305 insertions(+), 5738 deletions(-) create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/clirr-ignored-differences.xml create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInput.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInputOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResult.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResultOrBuilder.java diff --git a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesGrpc.java b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesGrpc.java index 7de173cf0..d31f19492 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesGrpc.java @@ -26,8 +26,7 @@ * * *
- * Service for managing
- * [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
+ * Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
  * 
*/ @javax.annotation.Generated( @@ -315,8 +314,7 @@ public EntityTypesFutureStub newStub( * * *
-   * Service for managing
-   * [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
+   * Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
    * 
*/ public abstract static class EntityTypesImplBase implements io.grpc.BindableService { @@ -435,8 +433,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
-   * Service for managing
-   * [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
+   * Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
    * 
*/ public static final class EntityTypesStub @@ -539,8 +536,7 @@ public void deleteEntityType( * * *
-   * Service for managing
-   * [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
+   * Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
    * 
*/ public static final class EntityTypesBlockingStub @@ -623,8 +619,7 @@ public com.google.protobuf.Empty deleteEntityType( * * *
-   * Service for managing
-   * [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
+   * Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
    * 
*/ public static final class EntityTypesFutureStub diff --git a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesGrpc.java b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesGrpc.java index c794eba01..7ebafc045 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesGrpc.java @@ -26,8 +26,7 @@ * * *
- * Service for managing
- * [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
+ * Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
  * 
*/ @javax.annotation.Generated( @@ -338,8 +337,7 @@ public SessionEntityTypesFutureStub newStub( * * *
-   * Service for managing
-   * [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
+   * Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
    * 
*/ public abstract static class SessionEntityTypesImplBase implements io.grpc.BindableService { @@ -461,8 +459,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
-   * Service for managing
-   * [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
+   * Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
    * 
*/ public static final class SessionEntityTypesStub @@ -569,8 +566,7 @@ public void deleteSessionEntityType( * * *
-   * Service for managing
-   * [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
+   * Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
    * 
*/ public static final class SessionEntityTypesBlockingStub @@ -659,8 +655,7 @@ public com.google.protobuf.Empty deleteSessionEntityType( * * *
-   * Service for managing
-   * [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
+   * Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
    * 
*/ public static final class SessionEntityTypesFutureStub diff --git a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsGrpc.java b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsGrpc.java index 38f2d61ae..ad3ac2aac 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsGrpc.java @@ -30,9 +30,8 @@ * *
  * A session represents an interaction with a user. You retrieve user input
- * and pass it to the
- * [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent]
- * method to determine user intent and respond.
+ * and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine
+ * user intent and respond.
  * 
*/ @javax.annotation.Generated( @@ -277,9 +276,8 @@ public SessionsFutureStub newStub( * *
    * A session represents an interaction with a user. You retrieve user input
-   * and pass it to the
-   * [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent]
-   * method to determine user intent and respond.
+   * and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine
+   * user intent and respond.
    * 
*/ public abstract static class SessionsImplBase implements io.grpc.BindableService { @@ -338,13 +336,9 @@ public void matchIntent( * * *
-     * Fulfills a matched intent returned by
-     * [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
-     * Must be called after
-     * [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],
-     * with input from
-     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].
-     * Otherwise, the behavior is undefined.
+     * Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
+     * Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from
+     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined.
      * 
*/ public void fulfillIntent( @@ -394,9 +388,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * *
    * A session represents an interaction with a user. You retrieve user input
-   * and pass it to the
-   * [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent]
-   * method to determine user intent and respond.
+   * and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine
+   * user intent and respond.
    * 
*/ public static final class SessionsStub extends io.grpc.stub.AbstractAsyncStub { @@ -471,13 +464,9 @@ public void matchIntent( * * *
-     * Fulfills a matched intent returned by
-     * [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
-     * Must be called after
-     * [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],
-     * with input from
-     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].
-     * Otherwise, the behavior is undefined.
+     * Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
+     * Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from
+     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined.
      * 
*/ public void fulfillIntent( @@ -496,9 +485,8 @@ public void fulfillIntent( * *
    * A session represents an interaction with a user. You retrieve user input
-   * and pass it to the
-   * [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent]
-   * method to determine user intent and respond.
+   * and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine
+   * user intent and respond.
    * 
*/ public static final class SessionsBlockingStub @@ -544,13 +532,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse matchIntent( * * *
-     * Fulfills a matched intent returned by
-     * [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
-     * Must be called after
-     * [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],
-     * with input from
-     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].
-     * Otherwise, the behavior is undefined.
+     * Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
+     * Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from
+     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined.
      * 
*/ public com.google.cloud.dialogflow.cx.v3beta1.FulfillIntentResponse fulfillIntent( @@ -564,9 +548,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.FulfillIntentResponse fulfillInten * *
    * A session represents an interaction with a user. You retrieve user input
-   * and pass it to the
-   * [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent]
-   * method to determine user intent and respond.
+   * and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine
+   * user intent and respond.
    * 
*/ public static final class SessionsFutureStub @@ -616,13 +599,9 @@ protected SessionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * * *
-     * Fulfills a matched intent returned by
-     * [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
-     * Must be called after
-     * [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],
-     * with input from
-     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].
-     * Otherwise, the behavior is undefined.
+     * Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
+     * Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from
+     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/clirr-ignored-differences.xml b/proto-google-cloud-dialogflow-cx-v3beta1/clirr-ignored-differences.xml new file mode 100644 index 000000000..4634a3f0a --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/clirr-ignored-differences.xml @@ -0,0 +1,31 @@ + + + + + 7012 + com/google/cloud/dialogflow/cx/v3beta1/*OrBuilder + * get*(*) + + + 7012 + com/google/cloud/dialogflow/cx/v3beta1/*OrBuilder + boolean contains*(*) + + + 7012 + com/google/cloud/dialogflow/cx/v3beta1/*OrBuilder + boolean has*(*) + + + + + 6011 + com/google/cloud/dialogflow/cx/v3beta1/NluSettings + ENABLE_SPELL_CORRECTION_FIELD_NUMBER + + + 7002 + com/google/cloud/dialogflow/cx/v3beta1/NluSettings* + * *EnableSpellCorrection(*) + + diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java index ee7514b79..d42153673 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java @@ -71,6 +71,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_RestoreAgentRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_RestoreAgentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -125,49 +129,51 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tent\030\002 \001(\014H\000B\007\n\005agent\"\203\001\n\023RestoreAgentRe" + "quest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\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\005agent2\327\013\n\006" - + "Agents\022\275\001\n\nListAgents\0225.google.cloud.dia" - + "logflow.cx.v3beta1.ListAgentsRequest\0326.g" - + "oogle.cloud.dialogflow.cx.v3beta1.ListAg" - + "entsResponse\"@\202\323\344\223\0021\022//v3beta1/{parent=p" - + "rojects/*/locations/*}/agents\332A\006parent\022\252" - + "\001\n\010GetAgent\0223.google.cloud.dialogflow.cx" - + ".v3beta1.GetAgentRequest\032).google.cloud." - + "dialogflow.cx.v3beta1.Agent\">\202\323\344\223\0021\022//v3" - + "beta1/{name=projects/*/locations/*/agent" - + "s/*}\332A\004name\022\277\001\n\013CreateAgent\0226.google.clo" - + "ud.dialogflow.cx.v3beta1.CreateAgentRequ" - + "est\032).google.cloud.dialogflow.cx.v3beta1" - + ".Agent\"M\202\323\344\223\0028\"//v3beta1/{parent=project" - + "s/*/locations/*}/agents:\005agent\332A\014parent," - + "agent\022\312\001\n\013UpdateAgent\0226.google.cloud.dia" - + "logflow.cx.v3beta1.UpdateAgentRequest\032)." - + "google.cloud.dialogflow.cx.v3beta1.Agent" - + "\"X\202\323\344\223\002>25/v3beta1/{agent.name=projects/" - + "*/locations/*/agents/*}:\005agent\332A\021agent,u" - + "pdate_mask\022\235\001\n\013DeleteAgent\0226.google.clou" - + "d.dialogflow.cx.v3beta1.DeleteAgentReque" - + "st\032\026.google.protobuf.Empty\">\202\323\344\223\0021*//v3b" - + "eta1/{name=projects/*/locations/*/agents" - + "/*}\332A\004name\022\327\001\n\013ExportAgent\0226.google.clou" - + "d.dialogflow.cx.v3beta1.ExportAgentReque" - + "st\032\035.google.longrunning.Operation\"q\202\323\344\223\002" - + ";\"6/v3beta1/{name=projects/*/locations/*" - + "/agents/*}:export:\001*\312A-\n\023ExportAgentResp" - + "onse\022\026google.protobuf.Struct\022\334\001\n\014Restore" - + "Agent\0227.google.cloud.dialogflow.cx.v3bet" - + "a1.RestoreAgentRequest\032\035.google.longrunn" - + "ing.Operation\"t\202\323\344\223\002<\"7/v3beta1/{name=pr" - + "ojects/*/locations/*/agents/*}:restore:\001" - + "*\312A/\n\025google.protobuf.Empty\022\026google.prot" - + "obuf.Struct\032x\312A\031dialogflow.googleapis.co" - + "m\322AYhttps://www.googleapis.com/auth/clou" - + "d-platform,https://www.googleapis.com/au" - + "th/dialogflowB\251\001\n&com.google.cloud.dialo" - + "gflow.cx.v3beta1B\nAgentProtoP\001ZDgoogle.g" - + "olang.org/genproto/googleapis/cloud/dial" - + "ogflow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cl" - + "oud.Dialogflow.Cx.V3Beta1b\006proto3" + + "\000\022\027\n\ragent_content\030\003 \001(\014H\000B\007\n\005agent\"J\n\023I" + + "mportAgentResponse\0223\n\005agent\030\001 \001(\tB$\372A!\n\037" + + "dialogflow.googleapis.com/Agent2\327\013\n\006Agen" + + "ts\022\275\001\n\nListAgents\0225.google.cloud.dialogf" + + "low.cx.v3beta1.ListAgentsRequest\0326.googl" + + "e.cloud.dialogflow.cx.v3beta1.ListAgents" + + "Response\"@\202\323\344\223\0021\022//v3beta1/{parent=proje" + + "cts/*/locations/*}/agents\332A\006parent\022\252\001\n\010G" + + "etAgent\0223.google.cloud.dialogflow.cx.v3b" + + "eta1.GetAgentRequest\032).google.cloud.dial" + + "ogflow.cx.v3beta1.Agent\">\202\323\344\223\0021\022//v3beta" + + "1/{name=projects/*/locations/*/agents/*}" + + "\332A\004name\022\277\001\n\013CreateAgent\0226.google.cloud.d" + + "ialogflow.cx.v3beta1.CreateAgentRequest\032" + + ").google.cloud.dialogflow.cx.v3beta1.Age" + + "nt\"M\202\323\344\223\0028\"//v3beta1/{parent=projects/*/" + + "locations/*}/agents:\005agent\332A\014parent,agen" + + "t\022\312\001\n\013UpdateAgent\0226.google.cloud.dialogf" + + "low.cx.v3beta1.UpdateAgentRequest\032).goog" + + "le.cloud.dialogflow.cx.v3beta1.Agent\"X\202\323" + + "\344\223\002>25/v3beta1/{agent.name=projects/*/lo" + + "cations/*/agents/*}:\005agent\332A\021agent,updat" + + "e_mask\022\235\001\n\013DeleteAgent\0226.google.cloud.di" + + "alogflow.cx.v3beta1.DeleteAgentRequest\032\026" + + ".google.protobuf.Empty\">\202\323\344\223\0021*//v3beta1" + + "/{name=projects/*/locations/*/agents/*}\332" + + "A\004name\022\327\001\n\013ExportAgent\0226.google.cloud.di" + + "alogflow.cx.v3beta1.ExportAgentRequest\032\035" + + ".google.longrunning.Operation\"q\202\323\344\223\002;\"6/" + + "v3beta1/{name=projects/*/locations/*/age" + + "nts/*}:export:\001*\312A-\n\023ExportAgentResponse" + + "\022\026google.protobuf.Struct\022\334\001\n\014RestoreAgen" + + "t\0227.google.cloud.dialogflow.cx.v3beta1.R" + + "estoreAgentRequest\032\035.google.longrunning." + + "Operation\"t\202\323\344\223\002<\"7/v3beta1/{name=projec" + + "ts/*/locations/*/agents/*}:restore:\001*\312A/" + + "\n\025google.protobuf.Empty\022\026google.protobuf" + + ".Struct\032x\312A\031dialogflow.googleapis.com\322AY" + + "https://www.googleapis.com/auth/cloud-pl" + + "atform,https://www.googleapis.com/auth/d" + + "ialogflowB\251\001\n&com.google.cloud.dialogflo" + + "w.cx.v3beta1B\nAgentProtoP\001ZDgoogle.golan" + + "g.org/genproto/googleapis/cloud/dialogfl" + + "ow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud." + + "Dialogflow.Cx.V3Beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -279,6 +285,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "AgentUri", "AgentContent", "Agent", }); + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor, + new java.lang.String[] { + "Agent", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioConfigProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioConfigProto.java index 09342ae35..b24b909f6 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioConfigProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioConfigProto.java @@ -58,10 +58,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n5google/cloud/dialogflow/cx/v3beta1/aud" + "io_config.proto\022\"google.cloud.dialogflow" - + ".cx.v3beta1\032\034google/api/annotations.prot" - + "o\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032\036google/protobuf/d" - + "uration.proto\"\222\001\n\016SpeechWordInfo\022\014\n\004word" + + ".cx.v3beta1\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032\036google/" + + "protobuf/duration.proto\032\034google/api/anno" + + "tations.proto\"\222\001\n\016SpeechWordInfo\022\014\n\004word" + "\030\003 \001(\t\022/\n\014start_offset\030\001 \001(\0132\031.google.pr" + "otobuf.Duration\022-\n\nend_offset\030\002 \001(\0132\031.go" + "ogle.protobuf.Duration\022\022\n\nconfidence\030\004 \001" @@ -115,10 +115,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 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.DurationProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_dialogflow_cx_v3beta1_SpeechWordInfo_descriptor = getDescriptor().getMessageTypes().get(0); @@ -171,10 +171,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); 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.DurationProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInput.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInput.java index 149fe729c..8a6b70203 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInput.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInput.java @@ -188,9 +188,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.InputAudioConfigOrBuilder getConfi *
    * The natural language speech audio to be processed.
    * A single request can contain up to 1 minute of speech audio data.
-   * The [transcribed
-   * text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot
-   * contain more than 256 bytes.
+   * The [transcribed text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot contain more than 256
+   * bytes.
    * For non-streaming audio detect intent, both `config` and `audio` must be
    * provided.
    * For streaming audio detect intent, `config` must be provided in
@@ -762,9 +761,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.InputAudioConfigOrBuilder getConfi
      * 
      * The natural language speech audio to be processed.
      * A single request can contain up to 1 minute of speech audio data.
-     * The [transcribed
-     * text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot
-     * contain more than 256 bytes.
+     * The [transcribed text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot contain more than 256
+     * bytes.
      * For non-streaming audio detect intent, both `config` and `audio` must be
      * provided.
      * For streaming audio detect intent, `config` must be provided in
@@ -785,9 +783,8 @@ public com.google.protobuf.ByteString getAudio() {
      * 
      * The natural language speech audio to be processed.
      * A single request can contain up to 1 minute of speech audio data.
-     * The [transcribed
-     * text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot
-     * contain more than 256 bytes.
+     * The [transcribed text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot contain more than 256
+     * bytes.
      * For non-streaming audio detect intent, both `config` and `audio` must be
      * provided.
      * For streaming audio detect intent, `config` must be provided in
@@ -814,9 +811,8 @@ public Builder setAudio(com.google.protobuf.ByteString value) {
      * 
      * The natural language speech audio to be processed.
      * A single request can contain up to 1 minute of speech audio data.
-     * The [transcribed
-     * text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot
-     * contain more than 256 bytes.
+     * The [transcribed text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot contain more than 256
+     * bytes.
      * For non-streaming audio detect intent, both `config` and `audio` must be
      * provided.
      * For streaming audio detect intent, `config` must be provided in
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInputOrBuilder.java
index 91ada388d..d5ee628a0 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInputOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInputOrBuilder.java
@@ -70,9 +70,8 @@ public interface AudioInputOrBuilder
    * 
    * The natural language speech audio to be processed.
    * A single request can contain up to 1 minute of speech audio data.
-   * The [transcribed
-   * text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot
-   * contain more than 256 bytes.
+   * The [transcribed text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot contain more than 256
+   * bytes.
    * For non-streaming audio detect intent, both `config` and `audio` must be
    * provided.
    * For streaming audio detect intent, `config` must be provided in
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateEntityTypeRequest.java
index 2ff323b16..ef03e8132 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateEntityTypeRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateEntityTypeRequest.java
@@ -22,8 +22,7 @@
  *
  *
  * 
- * The request message for
- * [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType].
+ * The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateEntityTypeRequest} @@ -498,8 +497,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType].
+   * The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateEntityTypeRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequest.java index 9d1b671b6..ca560291e 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Flows.CreateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow].
+ * The request message for [Flows.CreateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateFlowRequest} @@ -493,8 +492,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Flows.CreateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow].
+   * The request message for [Flows.CreateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateFlowRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequest.java index 2521c4a07..4fd42ca6a 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage].
+ * The request message for [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreatePageRequest} @@ -503,8 +502,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage].
+   * The request message for [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreatePageRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateSessionEntityTypeRequest.java index c13c4a32a..f13208eb0 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateSessionEntityTypeRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType].
+ * The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateSessionEntityTypeRequest} @@ -427,8 +426,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType].
+   * The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateSessionEntityTypeRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateWebhookRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateWebhookRequest.java index 8b0dec91d..052aca789 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateWebhookRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateWebhookRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook].
+ * The request message for [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateWebhookRequest} @@ -415,8 +414,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook].
+   * The request message for [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateWebhookRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequest.java index 514a334ef..f83ee2965 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType].
+ * The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteEntityTypeRequest} @@ -186,11 +185,9 @@ public com.google.protobuf.ByteString getNameBytes() { * indicating the referencing resources. * * If `force` is set to true, Dialogflow will remove the entity type, as * well as any references to the entity type (i.e. Page - * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the - * entity type will be changed to - * '@sys.any' and intent - * [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the - * entity type will be removed). + * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to + * '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type + * will be removed). *
* * bool force = 2; @@ -375,8 +372,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType].
+   * The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteEntityTypeRequest} @@ -677,11 +673,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * indicating the referencing resources. * * If `force` is set to true, Dialogflow will remove the entity type, as * well as any references to the entity type (i.e. Page - * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the - * entity type will be changed to - * '@sys.any' and intent - * [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the - * entity type will be removed). + * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to + * '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type + * will be removed). *
* * bool force = 2; @@ -702,11 +696,9 @@ public boolean getForce() { * indicating the referencing resources. * * If `force` is set to true, Dialogflow will remove the entity type, as * well as any references to the entity type (i.e. Page - * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the - * entity type will be changed to - * '@sys.any' and intent - * [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the - * entity type will be removed). + * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to + * '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type + * will be removed). *
* * bool force = 2; @@ -730,11 +722,9 @@ public Builder setForce(boolean value) { * indicating the referencing resources. * * If `force` is set to true, Dialogflow will remove the entity type, as * well as any references to the entity type (i.e. Page - * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the - * entity type will be changed to - * '@sys.any' and intent - * [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the - * entity type will be removed). + * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to + * '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type + * will be removed). *
* * bool force = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequestOrBuilder.java index bd22e696e..01a36e192 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequestOrBuilder.java @@ -66,11 +66,9 @@ public interface DeleteEntityTypeRequestOrBuilder * indicating the referencing resources. * * If `force` is set to true, Dialogflow will remove the entity type, as * well as any references to the entity type (i.e. Page - * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the - * entity type will be changed to - * '@sys.any' and intent - * [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the - * entity type will be removed). + * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to + * '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type + * will be removed). *
* * bool force = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteFlowRequest.java index 1771cc513..46ceef762 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteFlowRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteFlowRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow].
+ * The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteFlowRequest} @@ -373,8 +372,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow].
+   * The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteFlowRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeletePageRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeletePageRequest.java index d73313b44..ad2e86800 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeletePageRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeletePageRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Pages.DeletePage][google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage].
+ * The request message for [Pages.DeletePage][google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeletePageRequest} @@ -373,8 +372,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Pages.DeletePage][google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage].
+   * The request message for [Pages.DeletePage][google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeletePageRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteSessionEntityTypeRequest.java index ff196a841..618cec2e5 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteSessionEntityTypeRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType].
+ * The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteSessionEntityTypeRequest} @@ -343,8 +342,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType].
+   * The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteSessionEntityTypeRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequest.java index 3d542ae10..3b1333469 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook].
+ * The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteWebhookRequest} @@ -185,10 +184,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * If `force` is set to false, an error will be returned with message * indicating the referenced resources. * * If `force` is set to true, Dialogflow will remove the webhook, as well - * as any references to the webhook (i.e. - * [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and - * [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments - * that point to this webhook will be removed). + * as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] + * and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook + * will be removed). * * * bool force = 2; @@ -373,8 +371,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook].
+   * The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteWebhookRequest} @@ -671,10 +668,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * If `force` is set to false, an error will be returned with message * indicating the referenced resources. * * If `force` is set to true, Dialogflow will remove the webhook, as well - * as any references to the webhook (i.e. - * [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and - * [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments - * that point to this webhook will be removed). + * as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] + * and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook + * will be removed). * * * bool force = 2; @@ -694,10 +690,9 @@ public boolean getForce() { * * If `force` is set to false, an error will be returned with message * indicating the referenced resources. * * If `force` is set to true, Dialogflow will remove the webhook, as well - * as any references to the webhook (i.e. - * [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and - * [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments - * that point to this webhook will be removed). + * as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] + * and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook + * will be removed). * * * bool force = 2; @@ -720,10 +715,9 @@ public Builder setForce(boolean value) { * * If `force` is set to false, an error will be returned with message * indicating the referenced resources. * * If `force` is set to true, Dialogflow will remove the webhook, as well - * as any references to the webhook (i.e. - * [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and - * [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments - * that point to this webhook will be removed). + * as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] + * and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook + * will be removed). * * * bool force = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequestOrBuilder.java index 7ccc848fb..b29260f2b 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequestOrBuilder.java @@ -65,10 +65,9 @@ public interface DeleteWebhookRequestOrBuilder * * If `force` is set to false, an error will be returned with message * indicating the referenced resources. * * If `force` is set to true, Dialogflow will remove the webhook, as well - * as any references to the webhook (i.e. - * [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and - * [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments - * that point to this webhook will be removed). + * as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] + * and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook + * will be removed). * * * bool force = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequest.java index cd9d1b466..ae90df790 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequest.java @@ -177,6 +177,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -210,6 +212,8 @@ public java.lang.String getSession() { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -799,6 +803,8 @@ public Builder mergeFrom( * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -831,6 +837,8 @@ public java.lang.String getSession() { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -863,6 +871,8 @@ public com.google.protobuf.ByteString getSessionBytes() { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -894,6 +904,8 @@ public Builder setSession(java.lang.String value) { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -921,6 +933,8 @@ public Builder clearSession() { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequestOrBuilder.java index 0a81c346f..777218531 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequestOrBuilder.java @@ -36,6 +36,8 @@ public interface DetectIntentRequestOrBuilder * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -58,6 +60,8 @@ public interface DetectIntentRequestOrBuilder * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java index 20b81369c..c144fbed4 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java @@ -259,9 +259,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryResultOrBuilder getQueryResul * The audio data bytes encoded as specified in the request. * Note: The output audio is generated based on the values of default platform * text responses found in the - * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - * field. If multiple default text responses exist, they will be concatenated - * when generating audio. If no default platform text responses exist, the + * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + * multiple default text responses exist, they will be concatenated when + * generating audio. If no default platform text responses exist, the * generated audio content will be empty. * In some scenarios, multiple output audio fields may be present in the * response structure. In these cases, only the top-most-level audio output @@ -1021,9 +1021,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryResultOrBuilder getQueryResul * The audio data bytes encoded as specified in the request. * Note: The output audio is generated based on the values of default platform * text responses found in the - * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - * field. If multiple default text responses exist, they will be concatenated - * when generating audio. If no default platform text responses exist, the + * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + * multiple default text responses exist, they will be concatenated when + * generating audio. If no default platform text responses exist, the * generated audio content will be empty. * In some scenarios, multiple output audio fields may be present in the * response structure. In these cases, only the top-most-level audio output @@ -1045,9 +1045,9 @@ public com.google.protobuf.ByteString getOutputAudio() { * The audio data bytes encoded as specified in the request. * Note: The output audio is generated based on the values of default platform * text responses found in the - * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - * field. If multiple default text responses exist, they will be concatenated - * when generating audio. If no default platform text responses exist, the + * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + * multiple default text responses exist, they will be concatenated when + * generating audio. If no default platform text responses exist, the * generated audio content will be empty. * In some scenarios, multiple output audio fields may be present in the * response structure. In these cases, only the top-most-level audio output @@ -1075,9 +1075,9 @@ public Builder setOutputAudio(com.google.protobuf.ByteString value) { * The audio data bytes encoded as specified in the request. * Note: The output audio is generated based on the values of default platform * text responses found in the - * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - * field. If multiple default text responses exist, they will be concatenated - * when generating audio. If no default platform text responses exist, the + * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + * multiple default text responses exist, they will be concatenated when + * generating audio. If no default platform text responses exist, the * generated audio content will be empty. * In some scenarios, multiple output audio fields may be present in the * response structure. In these cases, only the top-most-level audio output diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java index cf5735378..0acc80768 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java @@ -92,9 +92,9 @@ public interface DetectIntentResponseOrBuilder * The audio data bytes encoded as specified in the request. * Note: The output audio is generated based on the values of default platform * text responses found in the - * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - * field. If multiple default text responses exist, they will be concatenated - * when generating audio. If no default platform text responses exist, the + * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + * multiple default text responses exist, they will be concatenated when + * generating audio. If no default platform text responses exist, the * generated audio content will be empty. * In some scenarios, multiple output audio fields may be present in the * response structure. In these cases, only the top-most-level audio output diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityType.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityType.java index 815df81f7..029a4e3ca 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityType.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityType.java @@ -40,9 +40,7 @@ * entity is represented by the `EntityType` type. * * **User** - entities that are built for an individual user such as * favorites, preferences, playlists, and so on. A user entity is - * represented by the - * [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] - * type. + * represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] type. * For more information about entity types, see the [Dialogflow * documentation](https://cloud.google.com/dialogflow/docs/entities-overview). * @@ -2320,8 +2318,7 @@ public com.google.protobuf.Parser getParserForType() { * *
    * The unique identifier of the entity type.
-   * Required for
-   * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+   * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/entityTypes/<Entity Type ID>`.
    * 
@@ -2347,8 +2344,7 @@ public java.lang.String getName() { * *
    * The unique identifier of the entity type.
-   * Required for
-   * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+   * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/entityTypes/<Entity Type ID>`.
    * 
@@ -2376,8 +2372,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The human-readable name of the entity type, unique within the
-   * agent.
+   * Required. The human-readable name of the entity type, unique within the agent.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2400,8 +2395,7 @@ public java.lang.String getDisplayName() { * * *
-   * Required. The human-readable name of the entity type, unique within the
-   * agent.
+   * Required. The human-readable name of the entity type, unique within the agent.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2945,9 +2939,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * entity is represented by the `EntityType` type. * * **User** - entities that are built for an individual user such as * favorites, preferences, playlists, and so on. A user entity is - * represented by the - * [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] - * type. + * represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] type. * For more information about entity types, see the [Dialogflow * documentation](https://cloud.google.com/dialogflow/docs/entities-overview). * @@ -3225,8 +3217,7 @@ public Builder mergeFrom( * *
      * The unique identifier of the entity type.
-     * Required for
-     * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+     * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/entityTypes/<Entity Type ID>`.
      * 
@@ -3251,8 +3242,7 @@ public java.lang.String getName() { * *
      * The unique identifier of the entity type.
-     * Required for
-     * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+     * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/entityTypes/<Entity Type ID>`.
      * 
@@ -3277,8 +3267,7 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * The unique identifier of the entity type.
-     * Required for
-     * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+     * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/entityTypes/<Entity Type ID>`.
      * 
@@ -3302,8 +3291,7 @@ public Builder setName(java.lang.String value) { * *
      * The unique identifier of the entity type.
-     * Required for
-     * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+     * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/entityTypes/<Entity Type ID>`.
      * 
@@ -3323,8 +3311,7 @@ public Builder clearName() { * *
      * The unique identifier of the entity type.
-     * Required for
-     * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+     * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/entityTypes/<Entity Type ID>`.
      * 
@@ -3350,8 +3337,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The human-readable name of the entity type, unique within the
-     * agent.
+     * Required. The human-readable name of the entity type, unique within the agent.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -3373,8 +3359,7 @@ public java.lang.String getDisplayName() { * * *
-     * Required. The human-readable name of the entity type, unique within the
-     * agent.
+     * Required. The human-readable name of the entity type, unique within the agent.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -3396,8 +3381,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-     * Required. The human-readable name of the entity type, unique within the
-     * agent.
+     * Required. The human-readable name of the entity type, unique within the agent.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -3418,8 +3402,7 @@ public Builder setDisplayName(java.lang.String value) { * * *
-     * Required. The human-readable name of the entity type, unique within the
-     * agent.
+     * Required. The human-readable name of the entity type, unique within the agent.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -3436,8 +3419,7 @@ public Builder clearDisplayName() { * * *
-     * Required. The human-readable name of the entity type, unique within the
-     * agent.
+     * Required. The human-readable name of the entity type, unique within the agent.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypeOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypeOrBuilder.java index 84405f653..6c2cdc66c 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypeOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypeOrBuilder.java @@ -28,8 +28,7 @@ public interface EntityTypeOrBuilder * *
    * The unique identifier of the entity type.
-   * Required for
-   * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+   * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/entityTypes/<Entity Type ID>`.
    * 
@@ -44,8 +43,7 @@ public interface EntityTypeOrBuilder * *
    * The unique identifier of the entity type.
-   * Required for
-   * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+   * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/entityTypes/<Entity Type ID>`.
    * 
@@ -60,8 +58,7 @@ public interface EntityTypeOrBuilder * * *
-   * Required. The human-readable name of the entity type, unique within the
-   * agent.
+   * Required. The human-readable name of the entity type, unique within the agent.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -73,8 +70,7 @@ public interface EntityTypeOrBuilder * * *
-   * Required. The human-readable name of the entity type, unique within the
-   * agent.
+   * Required. The human-readable name of the entity type, unique within the agent.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventHandler.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventHandler.java index 76bcfca35..d20d16874 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventHandler.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventHandler.java @@ -22,21 +22,16 @@ * * *
- * An event handler specifies an
- * [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be
- * handled during a session. When the specified event happens, the following
- * actions are taken in order:
+ * An event handler specifies an [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be handled
+ * during a session. When the specified event happens, the following actions are
+ * taken in order:
  * *   If there is a
- * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment]
- * associated with the event, it will be called.
- * *   If there is a
- * [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page]
- * associated with the event, the session will transition into the specified
- * page.
- * *   If there is a
- * [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow]
- * associated with the event, the session will transition into the specified
- * flow.
+ * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment] associated with
+ * the event, it will be called.
+ * *   If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page] associated
+ * with the event, the session will transition into the specified page.
+ * *   If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow] associated
+ * with the event, the session will transition into the specified flow.
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.EventHandler} @@ -708,21 +703,16 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * An event handler specifies an
-   * [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be
-   * handled during a session. When the specified event happens, the following
-   * actions are taken in order:
-   * *   If there is a
-   * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment]
-   * associated with the event, it will be called.
-   * *   If there is a
-   * [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page]
-   * associated with the event, the session will transition into the specified
-   * page.
+   * An event handler specifies an [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be handled
+   * during a session. When the specified event happens, the following actions are
+   * taken in order:
    * *   If there is a
-   * [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow]
-   * associated with the event, the session will transition into the specified
-   * flow.
+   * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment] associated with
+   * the event, it will be called.
+   * *   If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page] associated
+   * with the event, the session will transition into the specified page.
+   * *   If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow] associated
+   * with the event, the session will transition into the specified flow.
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.EventHandler} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInput.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInput.java new file mode 100644 index 000000000..c7e450de4 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInput.java @@ -0,0 +1,636 @@ +/* + * 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/cx/v3beta1/session.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * Represents the event to trigger.
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.EventInput} + */ +public final class EventInput extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.EventInput) + EventInputOrBuilder { + private static final long serialVersionUID = 0L; + // Use EventInput.newBuilder() to construct. + private EventInput(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private EventInput() { + event_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EventInput(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private EventInput( + 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(); + + event_ = 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.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.EventInput.class, + com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder.class); + } + + public static final int EVENT_FIELD_NUMBER = 1; + private volatile java.lang.Object event_; + /** + * + * + *
+   * Name of the event.
+   * 
+ * + * string event = 1; + * + * @return The event. + */ + @java.lang.Override + public java.lang.String getEvent() { + java.lang.Object ref = event_; + 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(); + event_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the event.
+   * 
+ * + * string event = 1; + * + * @return The bytes for event. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEventBytes() { + java.lang.Object ref = event_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + event_ = 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 (!getEventBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, event_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getEventBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, event_); + } + 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.cx.v3beta1.EventInput)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.EventInput other = + (com.google.cloud.dialogflow.cx.v3beta1.EventInput) obj; + + if (!getEvent().equals(other.getEvent())) 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) + EVENT_FIELD_NUMBER; + hash = (53 * hash) + getEvent().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.EventInput parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.EventInput 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.cx.v3beta1.EventInput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.EventInput 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.cx.v3beta1.EventInput parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.EventInput parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.EventInput parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.EventInput 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.cx.v3beta1.EventInput parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.EventInput 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.cx.v3beta1.EventInput parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.EventInput 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.cx.v3beta1.EventInput 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 the event to trigger.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.EventInput} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.EventInput) + com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.EventInput.class, + com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.EventInput.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(); + event_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.EventInput getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.EventInput build() { + com.google.cloud.dialogflow.cx.v3beta1.EventInput result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.EventInput buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.EventInput result = + new com.google.cloud.dialogflow.cx.v3beta1.EventInput(this); + result.event_ = event_; + 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.cx.v3beta1.EventInput) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.EventInput) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.EventInput other) { + if (other == com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance()) + return this; + if (!other.getEvent().isEmpty()) { + event_ = other.event_; + 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.cx.v3beta1.EventInput parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.EventInput) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object event_ = ""; + /** + * + * + *
+     * Name of the event.
+     * 
+ * + * string event = 1; + * + * @return The event. + */ + public java.lang.String getEvent() { + java.lang.Object ref = event_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + event_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the event.
+     * 
+ * + * string event = 1; + * + * @return The bytes for event. + */ + public com.google.protobuf.ByteString getEventBytes() { + java.lang.Object ref = event_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + event_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the event.
+     * 
+ * + * string event = 1; + * + * @param value The event to set. + * @return This builder for chaining. + */ + public Builder setEvent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + event_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the event.
+     * 
+ * + * string event = 1; + * + * @return This builder for chaining. + */ + public Builder clearEvent() { + + event_ = getDefaultInstance().getEvent(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the event.
+     * 
+ * + * string event = 1; + * + * @param value The bytes for event to set. + * @return This builder for chaining. + */ + public Builder setEventBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + event_ = 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.cx.v3beta1.EventInput) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.EventInput) + private static final com.google.cloud.dialogflow.cx.v3beta1.EventInput DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.EventInput(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.EventInput getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EventInput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EventInput(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.cx.v3beta1.EventInput getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInputOrBuilder.java new file mode 100644 index 000000000..93452f6d6 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInputOrBuilder.java @@ -0,0 +1,50 @@ +/* + * 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/cx/v3beta1/session.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface EventInputOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.EventInput) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the event.
+   * 
+ * + * string event = 1; + * + * @return The event. + */ + java.lang.String getEvent(); + /** + * + * + *
+   * Name of the event.
+   * 
+ * + * string event = 1; + * + * @return The bytes for event. + */ + com.google.protobuf.ByteString getEventBytes(); +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Flow.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Flow.java index 5365f41a9..e4ddacffb 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Flow.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Flow.java @@ -488,10 +488,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute getTransitionRoute * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -512,10 +511,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute getTransitionRoute * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -536,10 +534,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute getTransitionRoute * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -559,10 +556,9 @@ public int getEventHandlersCount() { * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -582,10 +578,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandler getEventHandlers(int * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2086,10 +2081,9 @@ private void ensureEventHandlersIsMutable() { * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2113,10 +2107,9 @@ private void ensureEventHandlersIsMutable() { * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2139,10 +2132,9 @@ public int getEventHandlersCount() { * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2165,10 +2157,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandler getEventHandlers(int * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2198,10 +2189,9 @@ public Builder setEventHandlers( * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2228,10 +2218,9 @@ public Builder setEventHandlers( * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2260,10 +2249,9 @@ public Builder addEventHandlers(com.google.cloud.dialogflow.cx.v3beta1.EventHand * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2293,10 +2281,9 @@ public Builder addEventHandlers( * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2323,10 +2310,9 @@ public Builder addEventHandlers( * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2353,10 +2339,9 @@ public Builder addEventHandlers( * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2383,10 +2368,9 @@ public Builder addAllEventHandlers( * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2412,10 +2396,9 @@ public Builder clearEventHandlers() { * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2441,10 +2424,9 @@ public Builder removeEventHandlers(int index) { * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2464,10 +2446,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandler.Builder getEventHandl * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2491,10 +2472,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandlerOrBuilder getEventHand * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2518,10 +2498,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandlerOrBuilder getEventHand * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2541,10 +2520,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandler.Builder addEventHandl * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -2566,10 +2544,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandler.Builder addEventHandl * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowOrBuilder.java index aa224295c..1d4f81ae0 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowOrBuilder.java @@ -228,10 +228,9 @@ com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder getTransitionRou * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -248,10 +247,9 @@ com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder getTransitionRou * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -268,10 +266,9 @@ com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder getTransitionRou * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -288,10 +285,9 @@ com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder getTransitionRou * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; @@ -309,10 +305,9 @@ com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder getTransitionRou * handlers][Page.event_handlers], which can be used to handle common events * regardless of the current page. Event handlers defined in the page * have higher priority than those defined in the flow. - * Unlike - * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], - * these handlers are evaluated on a first-match basis. The first one that - * matches the event get executed, with the rest being ignored. + * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are + * evaluated on a first-match basis. The first one that matches the event + * get executed, with the rest being ignored. * * * repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java index 60db1ba49..85a6844bc 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java @@ -80,87 +80,86 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "google/cloud/dialogflow/cx/v3beta1/page." + "proto\032#google/longrunning/operations.pro" + "to\032\033google/protobuf/empty.proto\032 google/" - + "protobuf/field_mask.proto\"\333\003\n\013NluSetting" + + "protobuf/field_mask.proto\"\266\003\n\013NluSetting" + "s\022M\n\nmodel_type\030\001 \001(\01629.google.cloud.dia" + "logflow.cx.v3beta1.NluSettings.ModelType" + "\022 \n\030classification_threshold\030\003 \001(\002\022^\n\023mo" + "del_training_mode\030\004 \001(\0162A.google.cloud.d" + "ialogflow.cx.v3beta1.NluSettings.ModelTr" - + "ainingMode\022#\n\027enable_spell_correction\030\005 " - + "\001(\010B\002\030\001\"Y\n\tModelType\022\032\n\026MODEL_TYPE_UNSPE" - + "CIFIED\020\000\022\027\n\023MODEL_TYPE_STANDARD\020\001\022\027\n\023MOD" - + "EL_TYPE_ADVANCED\020\003\"{\n\021ModelTrainingMode\022" - + "#\n\037MODEL_TRAINING_MODE_UNSPECIFIED\020\000\022!\n\035" - + "MODEL_TRAINING_MODE_AUTOMATIC\020\001\022\036\n\032MODEL" - + "_TRAINING_MODE_MANUAL\020\002\"\217\003\n\004Flow\022\014\n\004name" - + "\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013des" - + "cription\030\003 \001(\t\022N\n\021transition_routes\030\004 \003(" - + "\01323.google.cloud.dialogflow.cx.v3beta1.T" - + "ransitionRoute\022H\n\016event_handlers\030\n \003(\01320" - + ".google.cloud.dialogflow.cx.v3beta1.Even" - + "tHandler\022E\n\014nlu_settings\030\013 \001(\0132/.google." - + "cloud.dialogflow.cx.v3beta1.NluSettings:" - + "h\352Ae\n\036dialogflow.googleapis.com/Flow\022Cpr" - + "ojects/{project}/locations/{location}/ag" - + "ents/{agent}/flows/{flow}\"\237\001\n\021CreateFlow" - + "Request\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialogf" - + "low.googleapis.com/Flow\022;\n\004flow\030\002 \001(\0132(." - + "google.cloud.dialogflow.cx.v3beta1.FlowB" - + "\003\340A\002\022\025\n\rlanguage_code\030\003 \001(\t\"X\n\021DeleteFlo" - + "wRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogfl" - + "ow.googleapis.com/Flow\022\r\n\005force\030\002 \001(\010\"\210\001" - + "\n\020ListFlowsRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372" - + "A \022\036dialogflow.googleapis.com/Flow\022\021\n\tpa" - + "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\025\n\rlan" - + "guage_code\030\004 \001(\t\"e\n\021ListFlowsResponse\0227\n" - + "\005flows\030\001 \003(\0132(.google.cloud.dialogflow.c" - + "x.v3beta1.Flow\022\027\n\017next_page_token\030\002 \001(\t\"" - + "]\n\016GetFlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n" - + "\036dialogflow.googleapis.com/Flow\022\025\n\rlangu" - + "age_code\030\002 \001(\t\"\235\001\n\021UpdateFlowRequest\022;\n\004" - + "flow\030\001 \001(\0132(.google.cloud.dialogflow.cx." - + "v3beta1.FlowB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032" - + ".google.protobuf.FieldMaskB\003\340A\002\022\025\n\rlangu" - + "age_code\030\003 \001(\t\"H\n\020TrainFlowRequest\0224\n\004na" - + "me\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.googleapis." - + "com/Flow2\231\n\n\005Flows\022\302\001\n\nCreateFlow\0225.goog" - + "le.cloud.dialogflow.cx.v3beta1.CreateFlo" - + "wRequest\032(.google.cloud.dialogflow.cx.v3" - + "beta1.Flow\"S\202\323\344\223\002?\"7/v3beta1/{parent=pro" - + "jects/*/locations/*/agents/*}/flows:\004flo" - + "w\332A\013parent,flow\022\243\001\n\nDeleteFlow\0225.google." - + "cloud.dialogflow.cx.v3beta1.DeleteFlowRe" - + "quest\032\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/" - + "v3beta1/{name=projects/*/locations/*/age" - + "nts/*/flows/*}\332A\004name\022\302\001\n\tListFlows\0224.go" - + "ogle.cloud.dialogflow.cx.v3beta1.ListFlo" - + "wsRequest\0325.google.cloud.dialogflow.cx.v" - + "3beta1.ListFlowsResponse\"H\202\323\344\223\0029\0227/v3bet" - + "a1/{parent=projects/*/locations/*/agents" - + "/*}/flows\332A\006parent\022\257\001\n\007GetFlow\0222.google." - + "cloud.dialogflow.cx.v3beta1.GetFlowReque" - + "st\032(.google.cloud.dialogflow.cx.v3beta1." - + "Flow\"F\202\323\344\223\0029\0227/v3beta1/{name=projects/*/" - + "locations/*/agents/*/flows/*}\332A\004name\022\314\001\n" - + "\nUpdateFlow\0225.google.cloud.dialogflow.cx" - + ".v3beta1.UpdateFlowRequest\032(.google.clou" - + "d.dialogflow.cx.v3beta1.Flow\"]\202\323\344\223\002D2 * * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Form} @@ -305,6 +304,21 @@ public interface ParameterOrBuilder * .google.protobuf.Value default_value = 9; */ com.google.protobuf.ValueOrBuilder getDefaultValueOrBuilder(); + + /** + * + * + *
+     * Indicates whether the parameter content is logged in text and audio. If
+     * it is set to true, the parameter content will be replaced to parameter
+     * name in both request and response. The default value is false.
+     * 
+ * + * bool redact = 11; + * + * @return The redact. + */ + boolean getRedact(); } /** * @@ -414,6 +428,11 @@ private Parameter( defaultValue_ = subBuilder.buildPartial(); } + break; + } + case 88: + { + redact_ = input.readBool(); break; } default: @@ -2899,6 +2918,26 @@ public com.google.protobuf.ValueOrBuilder getDefaultValueOrBuilder() { return getDefaultValue(); } + public static final int REDACT_FIELD_NUMBER = 11; + private boolean redact_; + /** + * + * + *
+     * Indicates whether the parameter content is logged in text and audio. If
+     * it is set to true, the parameter content will be replaced to parameter
+     * name in both request and response. The default value is false.
+     * 
+ * + * bool redact = 11; + * + * @return The redact. + */ + @java.lang.Override + public boolean getRedact() { + return redact_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2931,6 +2970,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (defaultValue_ != null) { output.writeMessage(9, getDefaultValue()); } + if (redact_ != false) { + output.writeBool(11, redact_); + } unknownFields.writeTo(output); } @@ -2958,6 +3000,9 @@ public int getSerializedSize() { if (defaultValue_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDefaultValue()); } + if (redact_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, redact_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2986,6 +3031,7 @@ public boolean equals(final java.lang.Object obj) { if (hasDefaultValue()) { if (!getDefaultValue().equals(other.getDefaultValue())) return false; } + if (getRedact() != other.getRedact()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3013,6 +3059,8 @@ public int hashCode() { hash = (37 * hash) + DEFAULT_VALUE_FIELD_NUMBER; hash = (53 * hash) + getDefaultValue().hashCode(); } + hash = (37 * hash) + REDACT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRedact()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -3181,6 +3229,8 @@ public Builder clear() { defaultValue_ = null; defaultValueBuilder_ = null; } + redact_ = false; + return this; } @@ -3222,6 +3272,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter buildPartial() { } else { result.defaultValue_ = defaultValueBuilder_.build(); } + result.redact_ = redact_; onBuilt(); return result; } @@ -3294,6 +3345,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter o if (other.hasDefaultValue()) { mergeDefaultValue(other.getDefaultValue()); } + if (other.getRedact() != false) { + setRedact(other.getRedact()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -4090,6 +4144,64 @@ public com.google.protobuf.ValueOrBuilder getDefaultValueOrBuilder() { return defaultValueBuilder_; } + private boolean redact_; + /** + * + * + *
+       * Indicates whether the parameter content is logged in text and audio. If
+       * it is set to true, the parameter content will be replaced to parameter
+       * name in both request and response. The default value is false.
+       * 
+ * + * bool redact = 11; + * + * @return The redact. + */ + @java.lang.Override + public boolean getRedact() { + return redact_; + } + /** + * + * + *
+       * Indicates whether the parameter content is logged in text and audio. If
+       * it is set to true, the parameter content will be replaced to parameter
+       * name in both request and response. The default value is false.
+       * 
+ * + * bool redact = 11; + * + * @param value The redact to set. + * @return This builder for chaining. + */ + public Builder setRedact(boolean value) { + + redact_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Indicates whether the parameter content is logged in text and audio. If
+       * it is set to true, the parameter content will be replaced to parameter
+       * name in both request and response. The default value is false.
+       * 
+ * + * bool redact = 11; + * + * @return This builder for chaining. + */ + public Builder clearRedact() { + + redact_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4380,9 +4492,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * A form is a data model that groups related parameters that can be collected * from the user. The process in which the agent prompts the user and collects * parameter values from the user is called form filling. A form can be added to - * a [page][google.cloud.dialogflow.cx.v3beta1.Page]. When form filling is done, - * the filled parameters will be written to the - * [session][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * a [page][google.cloud.dialogflow.cx.v3beta1.Page]. When form filling is done, the filled parameters will be + * written to the [session][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * * * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Form} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponse.java index d095798bc..e602ce21f 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponse.java @@ -259,9 +259,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryResultOrBuilder getQueryResul * The audio data bytes encoded as specified in the request. * Note: The output audio is generated based on the values of default platform * text responses found in the - * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - * field. If multiple default text responses exist, they will be concatenated - * when generating audio. If no default platform text responses exist, the + * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + * multiple default text responses exist, they will be concatenated when + * generating audio. If no default platform text responses exist, the * generated audio content will be empty. * In some scenarios, multiple output audio fields may be present in the * response structure. In these cases, only the top-most-level audio output @@ -1023,9 +1023,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryResultOrBuilder getQueryResul * The audio data bytes encoded as specified in the request. * Note: The output audio is generated based on the values of default platform * text responses found in the - * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - * field. If multiple default text responses exist, they will be concatenated - * when generating audio. If no default platform text responses exist, the + * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + * multiple default text responses exist, they will be concatenated when + * generating audio. If no default platform text responses exist, the * generated audio content will be empty. * In some scenarios, multiple output audio fields may be present in the * response structure. In these cases, only the top-most-level audio output @@ -1047,9 +1047,9 @@ public com.google.protobuf.ByteString getOutputAudio() { * The audio data bytes encoded as specified in the request. * Note: The output audio is generated based on the values of default platform * text responses found in the - * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - * field. If multiple default text responses exist, they will be concatenated - * when generating audio. If no default platform text responses exist, the + * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + * multiple default text responses exist, they will be concatenated when + * generating audio. If no default platform text responses exist, the * generated audio content will be empty. * In some scenarios, multiple output audio fields may be present in the * response structure. In these cases, only the top-most-level audio output @@ -1077,9 +1077,9 @@ public Builder setOutputAudio(com.google.protobuf.ByteString value) { * The audio data bytes encoded as specified in the request. * Note: The output audio is generated based on the values of default platform * text responses found in the - * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - * field. If multiple default text responses exist, they will be concatenated - * when generating audio. If no default platform text responses exist, the + * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + * multiple default text responses exist, they will be concatenated when + * generating audio. If no default platform text responses exist, the * generated audio content will be empty. * In some scenarios, multiple output audio fields may be present in the * response structure. In these cases, only the top-most-level audio output diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponseOrBuilder.java index ede5f0e55..7c9a92b54 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponseOrBuilder.java @@ -92,9 +92,9 @@ public interface FulfillIntentResponseOrBuilder * The audio data bytes encoded as specified in the request. * Note: The output audio is generated based on the values of default platform * text responses found in the - * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - * field. If multiple default text responses exist, they will be concatenated - * when generating audio. If no default platform text responses exist, the + * [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + * multiple default text responses exist, they will be concatenated when + * generating audio. If no default platform text responses exist, the * generated audio content will be empty. * In some scenarios, multiple output audio fields may be present in the * response structure. In these cases, only the top-most-level audio output diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetEntityTypeRequest.java index 68ed1a7d1..cfe896b79 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetEntityTypeRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
+ * The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetEntityTypeRequest} @@ -417,8 +416,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
+   * The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetEntityTypeRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequest.java index c6a71b34c..c2595d2ff 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequest.java @@ -22,8 +22,7 @@ * * *
- * The response message for
- * [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow].
+ * The response message for [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetFlowRequest} @@ -415,8 +414,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response message for
-   * [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow].
+   * The response message for [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetFlowRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequest.java index 22c6265fa..c061e15f8 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Pages.GetPage][google.cloud.dialogflow.cx.v3beta1.Pages.GetPage].
+ * The request message for [Pages.GetPage][google.cloud.dialogflow.cx.v3beta1.Pages.GetPage].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetPageRequest} @@ -423,8 +422,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Pages.GetPage][google.cloud.dialogflow.cx.v3beta1.Pages.GetPage].
+   * The request message for [Pages.GetPage][google.cloud.dialogflow.cx.v3beta1.Pages.GetPage].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetPageRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetSessionEntityTypeRequest.java index 23a944d76..6fd72da3a 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetSessionEntityTypeRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType].
+ * The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetSessionEntityTypeRequest} @@ -342,8 +341,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType].
+   * The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetSessionEntityTypeRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequest.java index 1a784451b..fad0e1648 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook].
+ * The request message for [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetWebhookRequest} @@ -333,8 +332,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook].
+   * The request message for [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetWebhookRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java new file mode 100644 index 000000000..95cb2f98d --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java @@ -0,0 +1,644 @@ +/* + * 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/cx/v3beta1/agent.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * The response message for [Agents.ImportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ImportAgent].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse} + */ +public final class ImportAgentResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) + ImportAgentResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportAgentResponse.newBuilder() to construct. + private ImportAgentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportAgentResponse() { + agent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportAgentResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ImportAgentResponse( + 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(); + + agent_ = 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.cx.v3beta1.AgentProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.AgentProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.class, + com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.Builder.class); + } + + public static final int AGENT_FIELD_NUMBER = 1; + private volatile java.lang.Object agent_; + /** + * + * + *
+   * The unique identifier of the new agent.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * string agent = 1 [(.google.api.resource_reference) = { ... } + * + * @return The agent. + */ + @java.lang.Override + public java.lang.String getAgent() { + java.lang.Object ref = agent_; + 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(); + agent_ = s; + return s; + } + } + /** + * + * + *
+   * The unique identifier of the new agent.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * string agent = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for agent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAgentBytes() { + java.lang.Object ref = agent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + agent_ = 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 (!getAgentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agent_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getAgentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agent_); + } + 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.cx.v3beta1.ImportAgentResponse)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse other = + (com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) obj; + + if (!getAgent().equals(other.getAgent())) 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) + AGENT_FIELD_NUMBER; + hash = (53 * hash) + getAgent().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse 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.cx.v3beta1.ImportAgentResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse 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.cx.v3beta1.ImportAgentResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse 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.cx.v3beta1.ImportAgentResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse 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.cx.v3beta1.ImportAgentResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse 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.cx.v3beta1.ImportAgentResponse 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 [Agents.ImportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ImportAgent].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) + com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.AgentProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.AgentProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.class, + com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.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(); + agent_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.AgentProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse build() { + com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse result = + new com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse(this); + result.agent_ = agent_; + 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.cx.v3beta1.ImportAgentResponse) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse other) { + if (other == com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.getDefaultInstance()) + return this; + if (!other.getAgent().isEmpty()) { + agent_ = other.agent_; + 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.cx.v3beta1.ImportAgentResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object agent_ = ""; + /** + * + * + *
+     * The unique identifier of the new agent.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * string agent = 1 [(.google.api.resource_reference) = { ... } + * + * @return The agent. + */ + public java.lang.String getAgent() { + java.lang.Object ref = agent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + agent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The unique identifier of the new agent.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * string agent = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for agent. + */ + public com.google.protobuf.ByteString getAgentBytes() { + java.lang.Object ref = agent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + agent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The unique identifier of the new agent.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * string agent = 1 [(.google.api.resource_reference) = { ... } + * + * @param value The agent to set. + * @return This builder for chaining. + */ + public Builder setAgent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + agent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The unique identifier of the new agent.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * string agent = 1 [(.google.api.resource_reference) = { ... } + * + * @return This builder for chaining. + */ + public Builder clearAgent() { + + agent_ = getDefaultInstance().getAgent(); + onChanged(); + return this; + } + /** + * + * + *
+     * The unique identifier of the new agent.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * string agent = 1 [(.google.api.resource_reference) = { ... } + * + * @param value The bytes for agent to set. + * @return This builder for chaining. + */ + public Builder setAgentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + agent_ = 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.cx.v3beta1.ImportAgentResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) + private static final com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAgentResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAgentResponse(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.cx.v3beta1.ImportAgentResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java new file mode 100644 index 000000000..b9612cc5c --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java @@ -0,0 +1,52 @@ +/* + * 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/cx/v3beta1/agent.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface ImportAgentResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The unique identifier of the new agent.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * string agent = 1 [(.google.api.resource_reference) = { ... } + * + * @return The agent. + */ + java.lang.String getAgent(); + /** + * + * + *
+   * The unique identifier of the new agent.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * string agent = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for agent. + */ + com.google.protobuf.ByteString getAgentBytes(); +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfig.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfig.java index 7214be0ed..40c7cb901 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfig.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfig.java @@ -227,12 +227,10 @@ public int getSampleRateHertz() { * * *
-   * Optional. If `true`, Dialogflow returns
-   * [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
-   * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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.
+   * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+   * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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; @@ -396,8 +394,7 @@ public com.google.protobuf.ByteString getModelBytes() { * * *
-   * Optional. Which variant of the [Speech
-   * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10; @@ -412,8 +409,7 @@ public int getModelVariantValue() { * * *
-   * Optional. Which variant of the [Speech
-   * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10; @@ -1067,12 +1063,10 @@ public Builder clearSampleRateHertz() { * * *
-     * Optional. If `true`, Dialogflow returns
-     * [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
-     * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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.
+     * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+     * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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; @@ -1087,12 +1081,10 @@ public boolean getEnableWordInfo() { * * *
-     * Optional. If `true`, Dialogflow returns
-     * [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
-     * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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.
+     * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+     * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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; @@ -1110,12 +1102,10 @@ public Builder setEnableWordInfo(boolean value) { * * *
-     * Optional. If `true`, Dialogflow returns
-     * [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
-     * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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.
+     * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+     * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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; @@ -1494,8 +1484,7 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Which variant of the [Speech
-     * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10; @@ -1510,8 +1499,7 @@ public int getModelVariantValue() { * * *
-     * Optional. Which variant of the [Speech
-     * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10; @@ -1529,8 +1517,7 @@ public Builder setModelVariantValue(int value) { * * *
-     * Optional. Which variant of the [Speech
-     * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10; @@ -1550,8 +1537,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant getModelVariant * * *
-     * Optional. Which variant of the [Speech
-     * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10; @@ -1573,8 +1559,7 @@ public Builder setModelVariant( * * *
-     * Optional. Which variant of the [Speech
-     * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfigOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfigOrBuilder.java index 534e4021b..c01a08850 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfigOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfigOrBuilder.java @@ -73,12 +73,10 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. If `true`, Dialogflow returns
-   * [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
-   * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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.
+   * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+   * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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; @@ -203,8 +201,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. Which variant of the [Speech
-   * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10; @@ -216,8 +213,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. Which variant of the [Speech
-   * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java index 8ae7089aa..551964f1f 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java @@ -2875,6 +2875,21 @@ public interface ParameterOrBuilder * @return The isList. */ boolean getIsList(); + + /** + * + * + *
+     * Indicates whether the parameter content is logged in text and audio. If
+     * it is set to true, the parameter content will be replaced to parameter
+     * id in both request and response. The default value is false.
+     * 
+ * + * bool redact = 4; + * + * @return The redact. + */ + boolean getRedact(); } /** * @@ -2948,6 +2963,11 @@ private Parameter( isList_ = input.readBool(); break; } + case 32: + { + redact_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -3116,6 +3136,26 @@ public boolean getIsList() { return isList_; } + public static final int REDACT_FIELD_NUMBER = 4; + private boolean redact_; + /** + * + * + *
+     * Indicates whether the parameter content is logged in text and audio. If
+     * it is set to true, the parameter content will be replaced to parameter
+     * id in both request and response. The default value is false.
+     * 
+ * + * bool redact = 4; + * + * @return The redact. + */ + @java.lang.Override + public boolean getRedact() { + return redact_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3139,6 +3179,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (isList_ != false) { output.writeBool(3, isList_); } + if (redact_ != false) { + output.writeBool(4, redact_); + } unknownFields.writeTo(output); } @@ -3157,6 +3200,9 @@ public int getSerializedSize() { if (isList_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isList_); } + if (redact_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, redact_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3176,6 +3222,7 @@ public boolean equals(final java.lang.Object obj) { if (!getId().equals(other.getId())) return false; if (!getEntityType().equals(other.getEntityType())) return false; if (getIsList() != other.getIsList()) return false; + if (getRedact() != other.getRedact()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3193,6 +3240,8 @@ public int hashCode() { hash = (53 * hash) + getEntityType().hashCode(); hash = (37 * hash) + IS_LIST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsList()); + hash = (37 * hash) + REDACT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRedact()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -3347,6 +3396,8 @@ public Builder clear() { isList_ = false; + redact_ = false; + return this; } @@ -3377,6 +3428,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent.Parameter buildPartial() { result.id_ = id_; result.entityType_ = entityType_; result.isList_ = isList_; + result.redact_ = redact_; onBuilt(); return result; } @@ -3440,6 +3492,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Intent.Parameter if (other.getIsList() != false) { setIsList(other.getIsList()); } + if (other.getRedact() != false) { + setRedact(other.getRedact()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3779,6 +3834,64 @@ public Builder clearIsList() { return this; } + private boolean redact_; + /** + * + * + *
+       * Indicates whether the parameter content is logged in text and audio. If
+       * it is set to true, the parameter content will be replaced to parameter
+       * id in both request and response. The default value is false.
+       * 
+ * + * bool redact = 4; + * + * @return The redact. + */ + @java.lang.Override + public boolean getRedact() { + return redact_; + } + /** + * + * + *
+       * Indicates whether the parameter content is logged in text and audio. If
+       * it is set to true, the parameter content will be replaced to parameter
+       * id in both request and response. The default value is false.
+       * 
+ * + * bool redact = 4; + * + * @param value The redact to set. + * @return This builder for chaining. + */ + public Builder setRedact(boolean value) { + + redact_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Indicates whether the parameter content is logged in text and audio. If
+       * it is set to true, the parameter content will be replaced to parameter
+       * id in both request and response. The default value is false.
+       * 
+ * + * bool redact = 4; + * + * @return This builder for chaining. + */ + public Builder clearRedact() { + + redact_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java index 9376c6e21..693913e26 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java @@ -82,7 +82,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gle/api/client.proto\032\037google/api/field_b" + "ehavior.proto\032\031google/api/resource.proto" + "\032\033google/protobuf/empty.proto\032 google/pr" - + "otobuf/field_mask.proto\"\223\005\n\006Intent\022\014\n\004na" + + "otobuf/field_mask.proto\"\244\005\n\006Intent\022\014\n\004na" + "me\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022S\n\020t" + "raining_phrases\030\003 \003(\01329.google.cloud.dia" + "logflow.cx.v3beta1.Intent.TrainingPhrase" @@ -93,68 +93,69 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ">.google.cloud.dialogflow.cx.v3beta1.Int" + "ent.TrainingPhrase.PartB\003\340A\002\022\024\n\014repeat_c" + "ount\030\003 \001(\005\032/\n\004Part\022\021\n\004text\030\001 \001(\tB\003\340A\002\022\024\n" - + "\014parameter_id\030\002 \001(\t\032p\n\tParameter\022\017\n\002id\030\001" - + " \001(\tB\003\340A\002\022A\n\013entity_type\030\002 \001(\tB,\340A\002\372A&\n$" - + "dialogflow.googleapis.com/EntityType\022\017\n\007" - + "is_list\030\003 \001(\010:n\352Ak\n dialogflow.googleapi" - + "s.com/Intent\022Gprojects/{project}/locatio" - + "ns/{location}/agents/{agent}/intents/{in" - + "tent}\"\321\001\n\022ListIntentsRequest\0228\n\006parent\030\001" - + " \001(\tB(\340A\002\372A\"\022 dialogflow.googleapis.com/" - + "Intent\022\025\n\rlanguage_code\030\002 \001(\t\022C\n\013intent_" - + "view\030\005 \001(\0162..google.cloud.dialogflow.cx." - + "v3beta1.IntentView\022\021\n\tpage_size\030\003 \001(\005\022\022\n" - + "\npage_token\030\004 \001(\t\"k\n\023ListIntentsResponse" - + "\022;\n\007intents\030\001 \003(\0132*.google.cloud.dialogf" - + "low.cx.v3beta1.Intent\022\027\n\017next_page_token" - + "\030\002 \001(\t\"a\n\020GetIntentRequest\0226\n\004name\030\001 \001(\t" - + "B(\340A\002\372A\"\n dialogflow.googleapis.com/Inte" - + "nt\022\025\n\rlanguage_code\030\002 \001(\t\"\247\001\n\023CreateInte" - + "ntRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 dialo" - + "gflow.googleapis.com/Intent\022?\n\006intent\030\002 " - + "\001(\0132*.google.cloud.dialogflow.cx.v3beta1" - + ".IntentB\003\340A\002\022\025\n\rlanguage_code\030\003 \001(\t\"\236\001\n\023" - + "UpdateIntentRequest\022?\n\006intent\030\001 \001(\0132*.go" - + "ogle.cloud.dialogflow.cx.v3beta1.IntentB" - + "\003\340A\002\022\025\n\rlanguage_code\030\002 \001(\t\022/\n\013update_ma" - + "sk\030\003 \001(\0132\032.google.protobuf.FieldMask\"M\n\023" - + "DeleteIntentRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A" - + "\"\n dialogflow.googleapis.com/Intent*X\n\nI" - + "ntentView\022\033\n\027INTENT_VIEW_UNSPECIFIED\020\000\022\027" - + "\n\023INTENT_VIEW_PARTIAL\020\001\022\024\n\020INTENT_VIEW_F" - + "ULL\020\0022\344\010\n\007Intents\022\312\001\n\013ListIntents\0226.goog" - + "le.cloud.dialogflow.cx.v3beta1.ListInten" - + "tsRequest\0327.google.cloud.dialogflow.cx.v" - + "3beta1.ListIntentsResponse\"J\202\323\344\223\002;\0229/v3b" - + "eta1/{parent=projects/*/locations/*/agen" - + "ts/*}/intents\332A\006parent\022\267\001\n\tGetIntent\0224.g" - + "oogle.cloud.dialogflow.cx.v3beta1.GetInt" - + "entRequest\032*.google.cloud.dialogflow.cx." - + "v3beta1.Intent\"H\202\323\344\223\002;\0229/v3beta1/{name=p" - + "rojects/*/locations/*/agents/*/intents/*" - + "}\332A\004name\022\316\001\n\014CreateIntent\0227.google.cloud" - + ".dialogflow.cx.v3beta1.CreateIntentReque" - + "st\032*.google.cloud.dialogflow.cx.v3beta1." - + "Intent\"Y\202\323\344\223\002C\"9/v3beta1/{parent=project" - + "s/*/locations/*/agents/*}/intents:\006inten" - + "t\332A\rparent,intent\022\332\001\n\014UpdateIntent\0227.goo" - + "gle.cloud.dialogflow.cx.v3beta1.UpdateIn" - + "tentRequest\032*.google.cloud.dialogflow.cx" - + ".v3beta1.Intent\"e\202\323\344\223\002J2@/v3beta1/{inten" - + "t.name=projects/*/locations/*/agents/*/i" - + "ntents/*}:\006intent\332A\022intent,update_mask\022\251" - + "\001\n\014DeleteIntent\0227.google.cloud.dialogflo" - + "w.cx.v3beta1.DeleteIntentRequest\032\026.googl" - + "e.protobuf.Empty\"H\202\323\344\223\002;*9/v3beta1/{name" - + "=projects/*/locations/*/agents/*/intents" - + "/*}\332A\004name\032x\312A\031dialogflow.googleapis.com" - + "\322AYhttps://www.googleapis.com/auth/cloud" - + "-platform,https://www.googleapis.com/aut" - + "h/dialogflowB\252\001\n&com.google.cloud.dialog" - + "flow.cx.v3beta1B\013IntentProtoP\001ZDgoogle.g" - + "olang.org/genproto/googleapis/cloud/dial" - + "ogflow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cl" - + "oud.Dialogflow.Cx.V3Beta1b\006proto3" + + "\014parameter_id\030\002 \001(\t\032\200\001\n\tParameter\022\017\n\002id\030" + + "\001 \001(\tB\003\340A\002\022A\n\013entity_type\030\002 \001(\tB,\340A\002\372A&\n" + + "$dialogflow.googleapis.com/EntityType\022\017\n" + + "\007is_list\030\003 \001(\010\022\016\n\006redact\030\004 \001(\010:n\352Ak\n dia" + + "logflow.googleapis.com/Intent\022Gprojects/" + + "{project}/locations/{location}/agents/{a" + + "gent}/intents/{intent}\"\321\001\n\022ListIntentsRe" + + "quest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 dialogflo" + + "w.googleapis.com/Intent\022\025\n\rlanguage_code" + + "\030\002 \001(\t\022C\n\013intent_view\030\005 \001(\0162..google.clo" + + "ud.dialogflow.cx.v3beta1.IntentView\022\021\n\tp" + + "age_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"k\n\023Li" + + "stIntentsResponse\022;\n\007intents\030\001 \003(\0132*.goo" + + "gle.cloud.dialogflow.cx.v3beta1.Intent\022\027" + + "\n\017next_page_token\030\002 \001(\t\"a\n\020GetIntentRequ" + + "est\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n dialogflow.go" + + "ogleapis.com/Intent\022\025\n\rlanguage_code\030\002 \001" + + "(\t\"\247\001\n\023CreateIntentRequest\0228\n\006parent\030\001 \001" + + "(\tB(\340A\002\372A\"\022 dialogflow.googleapis.com/In" + + "tent\022?\n\006intent\030\002 \001(\0132*.google.cloud.dial" + + "ogflow.cx.v3beta1.IntentB\003\340A\002\022\025\n\rlanguag" + + "e_code\030\003 \001(\t\"\236\001\n\023UpdateIntentRequest\022?\n\006" + + "intent\030\001 \001(\0132*.google.cloud.dialogflow.c" + + "x.v3beta1.IntentB\003\340A\002\022\025\n\rlanguage_code\030\002" + + " \001(\t\022/\n\013update_mask\030\003 \001(\0132\032.google.proto" + + "buf.FieldMask\"M\n\023DeleteIntentRequest\0226\n\004" + + "name\030\001 \001(\tB(\340A\002\372A\"\n dialogflow.googleapi" + + "s.com/Intent*X\n\nIntentView\022\033\n\027INTENT_VIE" + + "W_UNSPECIFIED\020\000\022\027\n\023INTENT_VIEW_PARTIAL\020\001" + + "\022\024\n\020INTENT_VIEW_FULL\020\0022\344\010\n\007Intents\022\312\001\n\013L" + + "istIntents\0226.google.cloud.dialogflow.cx." + + "v3beta1.ListIntentsRequest\0327.google.clou" + + "d.dialogflow.cx.v3beta1.ListIntentsRespo" + + "nse\"J\202\323\344\223\002;\0229/v3beta1/{parent=projects/*" + + "/locations/*/agents/*}/intents\332A\006parent\022" + + "\267\001\n\tGetIntent\0224.google.cloud.dialogflow." + + "cx.v3beta1.GetIntentRequest\032*.google.clo" + + "ud.dialogflow.cx.v3beta1.Intent\"H\202\323\344\223\002;\022" + + "9/v3beta1/{name=projects/*/locations/*/a" + + "gents/*/intents/*}\332A\004name\022\316\001\n\014CreateInte" + + "nt\0227.google.cloud.dialogflow.cx.v3beta1." + + "CreateIntentRequest\032*.google.cloud.dialo" + + "gflow.cx.v3beta1.Intent\"Y\202\323\344\223\002C\"9/v3beta" + + "1/{parent=projects/*/locations/*/agents/" + + "*}/intents:\006intent\332A\rparent,intent\022\332\001\n\014U" + + "pdateIntent\0227.google.cloud.dialogflow.cx" + + ".v3beta1.UpdateIntentRequest\032*.google.cl" + + "oud.dialogflow.cx.v3beta1.Intent\"e\202\323\344\223\002J" + + "2@/v3beta1/{intent.name=projects/*/locat" + + "ions/*/agents/*/intents/*}:\006intent\332A\022int" + + "ent,update_mask\022\251\001\n\014DeleteIntent\0227.googl" + + "e.cloud.dialogflow.cx.v3beta1.DeleteInte" + + "ntRequest\032\026.google.protobuf.Empty\"H\202\323\344\223\002" + + ";*9/v3beta1/{name=projects/*/locations/*" + + "/agents/*/intents/*}\332A\004name\032x\312A\031dialogfl" + + "ow.googleapis.com\322AYhttps://www.googleap" + + "is.com/auth/cloud-platform,https://www.g" + + "oogleapis.com/auth/dialogflowB\252\001\n&com.go" + + "ogle.cloud.dialogflow.cx.v3beta1B\013Intent" + + "ProtoP\001ZDgoogle.golang.org/genproto/goog" + + "leapis/cloud/dialogflow/cx/v3beta1;cx\370\001\001" + + "\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -203,7 +204,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_Parameter_descriptor, new java.lang.String[] { - "Id", "EntityType", "IsList", + "Id", "EntityType", "IsList", "Redact", }); internal_static_google_cloud_dialogflow_cx_v3beta1_ListIntentsRequest_descriptor = getDescriptor().getMessageTypes().get(1); diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesRequest.java index 9d3d60fbe..6e975123a 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
+ * The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListEntityTypesRequest} @@ -514,8 +513,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
+   * The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListEntityTypesRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesResponse.java index 247c41109..d2145c7e0 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesResponse.java @@ -22,8 +22,7 @@ * * *
- * The response message for
- * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
+ * The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListEntityTypesResponse} @@ -431,8 +430,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response message for
-   * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
+   * The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListEntityTypesResponse} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequest.java index bd0b5979e..4b88dfbdb 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
+ * The request message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListFlowsRequest} @@ -512,8 +511,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
+   * The request message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListFlowsRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsResponse.java index fc28db242..e9c3879e1 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsResponse.java @@ -22,8 +22,7 @@ * * *
- * The response message for
- * [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
+ * The response message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse} @@ -428,8 +427,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response message for
-   * [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
+   * The response message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequest.java index 0c926d5e5..699bbd7d5 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
+ * The request message for [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListPagesRequest} @@ -522,8 +521,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
+   * The request message for [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListPagesRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesResponse.java index 7fa22566e..3f7469217 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesResponse.java @@ -22,8 +22,7 @@ * * *
- * The response message for
- * [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
+ * The response message for [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListPagesResponse} @@ -428,8 +427,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response message for
-   * [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
+   * The response message for [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListPagesResponse} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesRequest.java index 1677f176b..242c4e85e 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
+ * The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListSessionEntityTypesRequest} @@ -439,8 +438,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
+   * The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListSessionEntityTypesRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesResponse.java index c96a6ac86..8ca058dab 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesResponse.java @@ -22,8 +22,7 @@ * * *
- * The response message for
- * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
+ * The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListSessionEntityTypesResponse} @@ -442,8 +441,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response message for
-   * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
+   * The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListSessionEntityTypesResponse} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksRequest.java index 0dde3d739..1433052f8 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
+ * The request message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListWebhooksRequest} @@ -430,8 +429,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
+   * The request message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListWebhooksRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksResponse.java index de3e31a13..cc964672d 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksResponse.java @@ -22,8 +22,7 @@ * * *
- * The response message for
- * [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
+ * The response message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListWebhooksResponse} @@ -429,8 +428,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response message for
-   * [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
+   * The response message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListWebhooksResponse} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Match.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Match.java index 53ad1eed9..6b8650c66 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Match.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Match.java @@ -384,10 +384,9 @@ private MatchType(int value) { * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * query. Some, not all fields are filled in this message, including but not
-   * limited to: `name` and `display_name`. Only filled for
-   * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+   * this message, including but not limited to: `name` and `display_name`. Only
+   * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -402,10 +401,9 @@ public boolean hasIntent() { * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * query. Some, not all fields are filled in this message, including but not
-   * limited to: `name` and `display_name`. Only filled for
-   * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+   * this message, including but not limited to: `name` and `display_name`. Only
+   * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -422,10 +420,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent getIntent() { * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * query. Some, not all fields are filled in this message, including but not
-   * limited to: `name` and `display_name`. Only filled for
-   * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+   * this message, including but not limited to: `name` and `display_name`. Only
+   * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -1048,10 +1045,9 @@ public Builder mergeFrom( * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * query. Some, not all fields are filled in this message, including but not
-     * limited to: `name` and `display_name`. Only filled for
-     * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+     * this message, including but not limited to: `name` and `display_name`. Only
+     * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -1065,10 +1061,9 @@ public boolean hasIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * query. Some, not all fields are filled in this message, including but not
-     * limited to: `name` and `display_name`. Only filled for
-     * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+     * this message, including but not limited to: `name` and `display_name`. Only
+     * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -1088,10 +1083,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent getIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * query. Some, not all fields are filled in this message, including but not
-     * limited to: `name` and `display_name`. Only filled for
-     * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+     * this message, including but not limited to: `name` and `display_name`. Only
+     * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -1113,10 +1107,9 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3beta1.Intent value) { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * query. Some, not all fields are filled in this message, including but not
-     * limited to: `name` and `display_name`. Only filled for
-     * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+     * this message, including but not limited to: `name` and `display_name`. Only
+     * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -1136,10 +1129,9 @@ public Builder setIntent( * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * query. Some, not all fields are filled in this message, including but not
-     * limited to: `name` and `display_name`. Only filled for
-     * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+     * this message, including but not limited to: `name` and `display_name`. Only
+     * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -1165,10 +1157,9 @@ public Builder mergeIntent(com.google.cloud.dialogflow.cx.v3beta1.Intent value) * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * query. Some, not all fields are filled in this message, including but not
-     * limited to: `name` and `display_name`. Only filled for
-     * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+     * this message, including but not limited to: `name` and `display_name`. Only
+     * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -1188,10 +1179,9 @@ public Builder clearIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * query. Some, not all fields are filled in this message, including but not
-     * limited to: `name` and `display_name`. Only filled for
-     * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+     * this message, including but not limited to: `name` and `display_name`. Only
+     * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -1205,10 +1195,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder getIntentBuilder() * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * query. Some, not all fields are filled in this message, including but not
-     * limited to: `name` and `display_name`. Only filled for
-     * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+     * this message, including but not limited to: `name` and `display_name`. Only
+     * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -1226,10 +1215,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentOrBuilder * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * query. Some, not all fields are filled in this message, including but not
-     * limited to: `name` and `display_name`. Only filled for
-     * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+     * this message, including but not limited to: `name` and `display_name`. Only
+     * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequest.java index a4a648bef..e1bee4170 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequest.java @@ -160,6 +160,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -193,6 +195,8 @@ public java.lang.String getSession() { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -705,6 +709,8 @@ public Builder mergeFrom( * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -737,6 +743,8 @@ public java.lang.String getSession() { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -769,6 +777,8 @@ public com.google.protobuf.ByteString getSessionBytes() { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -800,6 +810,8 @@ public Builder setSession(java.lang.String value) { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -827,6 +839,8 @@ public Builder clearSession() { * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequestOrBuilder.java index ec01ba02f..73c58e6cf 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequestOrBuilder.java @@ -36,6 +36,8 @@ public interface MatchIntentRequestOrBuilder * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * @@ -58,6 +60,8 @@ public interface MatchIntentRequestOrBuilder * It's up to the API caller to choose an appropriate `Session ID`. It can be * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). * * * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponse.java index 8ba5f7b0b..eff2f11d5 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponse.java @@ -117,6 +117,13 @@ private MatchIntentResponse( currentPage_ = subBuilder.buildPartial(); } + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + queryCase_ = 6; + query_ = s; break; } default: @@ -166,6 +173,7 @@ public enum QueryCase TEXT(1), TRIGGER_INTENT(2), TRANSCRIPT(3), + TRIGGER_EVENT(6), QUERY_NOT_SET(0); private final int value; @@ -190,6 +198,8 @@ public static QueryCase forNumber(int value) { return TRIGGER_INTENT; case 3: return TRANSCRIPT; + case 6: + return TRIGGER_EVENT; case 0: return QUERY_NOT_SET; default: @@ -211,8 +221,8 @@ public QueryCase getQueryCase() { * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-   * was provided as input, this field will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+   * will contain a copy of the text.
    * 
* * string text = 1; @@ -239,8 +249,8 @@ public java.lang.String getText() { * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-   * was provided as input, this field will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+   * will contain a copy of the text.
    * 
* * string text = 1; @@ -269,9 +279,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-   * provided as input, this field will contain a copy of the intent
-   * identifier.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+   * contain a copy of the intent identifier.
    * 
* * string trigger_intent = 2; @@ -298,9 +307,8 @@ public java.lang.String getTriggerIntent() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-   * provided as input, this field will contain a copy of the intent
-   * identifier.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+   * contain a copy of the intent identifier.
    * 
* * string trigger_intent = 2; @@ -329,9 +337,8 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *
-   * If [natural language speech
-   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-   * input, this field will contain the trascript for the audio.
+   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+   * this field will contain the trascript for the audio.
    * 
* * string transcript = 3; @@ -358,9 +365,8 @@ public java.lang.String getTranscript() { * * *
-   * If [natural language speech
-   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-   * input, this field will contain the trascript for the audio.
+   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+   * this field will contain the trascript for the audio.
    * 
* * string transcript = 3; @@ -384,6 +390,64 @@ public com.google.protobuf.ByteString getTranscriptBytes() { } } + public static final int TRIGGER_EVENT_FIELD_NUMBER = 6; + /** + * + * + *
+   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
+   * contain a copy of the event name.
+   * 
+ * + * string trigger_event = 6; + * + * @return The triggerEvent. + */ + public java.lang.String getTriggerEvent() { + java.lang.Object ref = ""; + if (queryCase_ == 6) { + ref = query_; + } + 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(); + if (queryCase_ == 6) { + query_ = s; + } + return s; + } + } + /** + * + * + *
+   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
+   * contain a copy of the event name.
+   * 
+ * + * string trigger_event = 6; + * + * @return The bytes for triggerEvent. + */ + public com.google.protobuf.ByteString getTriggerEventBytes() { + java.lang.Object ref = ""; + if (queryCase_ == 6) { + ref = query_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (queryCase_ == 6) { + query_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int MATCHES_FIELD_NUMBER = 4; private java.util.List matches_; /** @@ -464,9 +528,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.MatchOrBuilder getMatchesOrBuilder * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -481,9 +544,8 @@ public boolean hasCurrentPage() { * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -500,9 +562,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page getCurrentPage() { * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -541,6 +602,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (currentPage_ != null) { output.writeMessage(5, getCurrentPage()); } + if (queryCase_ == 6) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, query_); + } unknownFields.writeTo(output); } @@ -565,6 +629,9 @@ public int getSerializedSize() { if (currentPage_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCurrentPage()); } + if (queryCase_ == 6) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, query_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -597,6 +664,9 @@ public boolean equals(final java.lang.Object obj) { case 3: if (!getTranscript().equals(other.getTranscript())) return false; break; + case 6: + if (!getTriggerEvent().equals(other.getTriggerEvent())) return false; + break; case 0: default: } @@ -632,6 +702,10 @@ public int hashCode() { hash = (37 * hash) + TRANSCRIPT_FIELD_NUMBER; hash = (53 * hash) + getTranscript().hashCode(); break; + case 6: + hash = (37 * hash) + TRIGGER_EVENT_FIELD_NUMBER; + hash = (53 * hash) + getTriggerEvent().hashCode(); + break; case 0: default: } @@ -834,6 +908,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse buildPartial() if (queryCase_ == 3) { result.query_ = query_; } + if (queryCase_ == 6) { + result.query_ = query_; + } if (matchesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { matches_ = java.util.Collections.unmodifiableList(matches_); @@ -951,6 +1028,13 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.MatchIntentRespo onChanged(); break; } + case TRIGGER_EVENT: + { + queryCase_ = 6; + query_ = other.query_; + onChanged(); + break; + } case QUERY_NOT_SET: { break; @@ -1006,8 +1090,8 @@ public Builder clearQuery() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-     * was provided as input, this field will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+     * will contain a copy of the text.
      * 
* * string text = 1; @@ -1035,8 +1119,8 @@ public java.lang.String getText() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-     * was provided as input, this field will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+     * will contain a copy of the text.
      * 
* * string text = 1; @@ -1064,8 +1148,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-     * was provided as input, this field will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+     * will contain a copy of the text.
      * 
* * string text = 1; @@ -1086,8 +1170,8 @@ public Builder setText(java.lang.String value) { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-     * was provided as input, this field will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+     * will contain a copy of the text.
      * 
* * string text = 1; @@ -1106,8 +1190,8 @@ public Builder clearText() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-     * was provided as input, this field will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+     * will contain a copy of the text.
      * 
* * string text = 1; @@ -1130,9 +1214,8 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-     * provided as input, this field will contain a copy of the intent
-     * identifier.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+     * contain a copy of the intent identifier.
      * 
* * string trigger_intent = 2; @@ -1160,9 +1243,8 @@ public java.lang.String getTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-     * provided as input, this field will contain a copy of the intent
-     * identifier.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+     * contain a copy of the intent identifier.
      * 
* * string trigger_intent = 2; @@ -1190,9 +1272,8 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-     * provided as input, this field will contain a copy of the intent
-     * identifier.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+     * contain a copy of the intent identifier.
      * 
* * string trigger_intent = 2; @@ -1213,9 +1294,8 @@ public Builder setTriggerIntent(java.lang.String value) { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-     * provided as input, this field will contain a copy of the intent
-     * identifier.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+     * contain a copy of the intent identifier.
      * 
* * string trigger_intent = 2; @@ -1234,9 +1314,8 @@ public Builder clearTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-     * provided as input, this field will contain a copy of the intent
-     * identifier.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+     * contain a copy of the intent identifier.
      * 
* * string trigger_intent = 2; @@ -1259,9 +1338,8 @@ public Builder setTriggerIntentBytes(com.google.protobuf.ByteString value) { * * *
-     * If [natural language speech
-     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-     * input, this field will contain the trascript for the audio.
+     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+     * this field will contain the trascript for the audio.
      * 
* * string transcript = 3; @@ -1289,9 +1367,8 @@ public java.lang.String getTranscript() { * * *
-     * If [natural language speech
-     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-     * input, this field will contain the trascript for the audio.
+     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+     * this field will contain the trascript for the audio.
      * 
* * string transcript = 3; @@ -1319,9 +1396,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *
-     * If [natural language speech
-     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-     * input, this field will contain the trascript for the audio.
+     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+     * this field will contain the trascript for the audio.
      * 
* * string transcript = 3; @@ -1342,9 +1418,8 @@ public Builder setTranscript(java.lang.String value) { * * *
-     * If [natural language speech
-     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-     * input, this field will contain the trascript for the audio.
+     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+     * this field will contain the trascript for the audio.
      * 
* * string transcript = 3; @@ -1363,9 +1438,8 @@ public Builder clearTranscript() { * * *
-     * If [natural language speech
-     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-     * input, this field will contain the trascript for the audio.
+     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+     * this field will contain the trascript for the audio.
      * 
* * string transcript = 3; @@ -1384,6 +1458,130 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
+     * contain a copy of the event name.
+     * 
+ * + * string trigger_event = 6; + * + * @return The triggerEvent. + */ + @java.lang.Override + public java.lang.String getTriggerEvent() { + java.lang.Object ref = ""; + if (queryCase_ == 6) { + ref = query_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (queryCase_ == 6) { + query_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
+     * contain a copy of the event name.
+     * 
+ * + * string trigger_event = 6; + * + * @return The bytes for triggerEvent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTriggerEventBytes() { + java.lang.Object ref = ""; + if (queryCase_ == 6) { + ref = query_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (queryCase_ == 6) { + query_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
+     * contain a copy of the event name.
+     * 
+ * + * string trigger_event = 6; + * + * @param value The triggerEvent to set. + * @return This builder for chaining. + */ + public Builder setTriggerEvent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + queryCase_ = 6; + query_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
+     * contain a copy of the event name.
+     * 
+ * + * string trigger_event = 6; + * + * @return This builder for chaining. + */ + public Builder clearTriggerEvent() { + if (queryCase_ == 6) { + queryCase_ = 0; + query_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
+     * contain a copy of the event name.
+     * 
+ * + * string trigger_event = 6; + * + * @param value The bytes for triggerEvent to set. + * @return This builder for chaining. + */ + public Builder setTriggerEventBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryCase_ = 6; + query_ = value; + onChanged(); + return this; + } + private java.util.List matches_ = java.util.Collections.emptyList(); @@ -1762,9 +1960,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Match.Builder addMatchesBuilder(in * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -1778,9 +1975,8 @@ public boolean hasCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -1800,9 +1996,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page getCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -1824,9 +2019,8 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3beta1.Page value) * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -1846,9 +2040,8 @@ public Builder setCurrentPage( * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -1874,9 +2067,8 @@ public Builder mergeCurrentPage(com.google.cloud.dialogflow.cx.v3beta1.Page valu * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -1896,9 +2088,8 @@ public Builder clearCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -1912,9 +2103,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page.Builder getCurrentPageBuilder * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -1932,9 +2122,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getCurrentPageOrBuil * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponseOrBuilder.java index 7c381578e..189a48712 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponseOrBuilder.java @@ -27,8 +27,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-   * was provided as input, this field will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+   * will contain a copy of the text.
    * 
* * string text = 1; @@ -40,8 +40,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-   * was provided as input, this field will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+   * will contain a copy of the text.
    * 
* * string text = 1; @@ -54,9 +54,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-   * provided as input, this field will contain a copy of the intent
-   * identifier.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+   * contain a copy of the intent identifier.
    * 
* * string trigger_intent = 2; @@ -68,9 +67,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-   * provided as input, this field will contain a copy of the intent
-   * identifier.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+   * contain a copy of the intent identifier.
    * 
* * string trigger_intent = 2; @@ -83,9 +81,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language speech
-   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-   * input, this field will contain the trascript for the audio.
+   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+   * this field will contain the trascript for the audio.
    * 
* * string transcript = 3; @@ -97,9 +94,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language speech
-   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-   * input, this field will contain the trascript for the audio.
+   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+   * this field will contain the trascript for the audio.
    * 
* * string transcript = 3; @@ -108,6 +104,33 @@ public interface MatchIntentResponseOrBuilder */ com.google.protobuf.ByteString getTranscriptBytes(); + /** + * + * + *
+   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
+   * contain a copy of the event name.
+   * 
+ * + * string trigger_event = 6; + * + * @return The triggerEvent. + */ + java.lang.String getTriggerEvent(); + /** + * + * + *
+   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
+   * contain a copy of the event name.
+   * 
+ * + * string trigger_event = 6; + * + * @return The bytes for triggerEvent. + */ + com.google.protobuf.ByteString getTriggerEventBytes(); + /** * * @@ -169,9 +192,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -183,9 +205,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; @@ -197,9 +218,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchOrBuilder.java index 43be1ec4d..633982743 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchOrBuilder.java @@ -27,10 +27,9 @@ public interface MatchOrBuilder * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * query. Some, not all fields are filled in this message, including but not
-   * limited to: `name` and `display_name`. Only filled for
-   * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+   * this message, including but not limited to: `name` and `display_name`. Only
+   * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -42,10 +41,9 @@ public interface MatchOrBuilder * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * query. Some, not all fields are filled in this message, including but not
-   * limited to: `name` and `display_name`. Only filled for
-   * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+   * this message, including but not limited to: `name` and `display_name`. Only
+   * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; @@ -57,10 +55,9 @@ public interface MatchOrBuilder * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * query. Some, not all fields are filled in this message, including but not
-   * limited to: `name` and `display_name`. Only filled for
-   * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
+   * this message, including but not limited to: `name` and `display_name`. Only
+   * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 1; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettings.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettings.java index faad46fe6..e589cdd88 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettings.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettings.java @@ -90,11 +90,6 @@ private NluSettings( modelTrainingMode_ = rawValue; break; } - case 40: - { - enableSpellCorrection_ = input.readBool(); - break; - } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -559,26 +554,6 @@ public int getModelTrainingModeValue() { : result; } - public static final int ENABLE_SPELL_CORRECTION_FIELD_NUMBER = 5; - private boolean enableSpellCorrection_; - /** - * - * - *
-   * Indicates if automatic spell correction is enabled in detect intent
-   * requests.
-   * 
- * - * bool enable_spell_correction = 5 [deprecated = true]; - * - * @return The enableSpellCorrection. - */ - @java.lang.Override - @java.lang.Deprecated - public boolean getEnableSpellCorrection() { - return enableSpellCorrection_; - } - private byte memoizedIsInitialized = -1; @java.lang.Override @@ -607,9 +582,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(4, modelTrainingMode_); } - if (enableSpellCorrection_ != false) { - output.writeBool(5, enableSpellCorrection_); - } unknownFields.writeTo(output); } @@ -633,9 +605,6 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, modelTrainingMode_); } - if (enableSpellCorrection_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableSpellCorrection_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -656,7 +625,6 @@ public boolean equals(final java.lang.Object obj) { if (java.lang.Float.floatToIntBits(getClassificationThreshold()) != java.lang.Float.floatToIntBits(other.getClassificationThreshold())) return false; if (modelTrainingMode_ != other.modelTrainingMode_) return false; - if (getEnableSpellCorrection() != other.getEnableSpellCorrection()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -674,8 +642,6 @@ public int hashCode() { hash = (53 * hash) + java.lang.Float.floatToIntBits(getClassificationThreshold()); hash = (37 * hash) + MODEL_TRAINING_MODE_FIELD_NUMBER; hash = (53 * hash) + modelTrainingMode_; - hash = (37 * hash) + ENABLE_SPELL_CORRECTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSpellCorrection()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -827,8 +793,6 @@ public Builder clear() { modelTrainingMode_ = 0; - enableSpellCorrection_ = false; - return this; } @@ -859,7 +823,6 @@ public com.google.cloud.dialogflow.cx.v3beta1.NluSettings buildPartial() { result.modelType_ = modelType_; result.classificationThreshold_ = classificationThreshold_; result.modelTrainingMode_ = modelTrainingMode_; - result.enableSpellCorrection_ = enableSpellCorrection_; onBuilt(); return result; } @@ -919,9 +882,6 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.NluSettings othe if (other.modelTrainingMode_ != 0) { setModelTrainingModeValue(other.getModelTrainingModeValue()); } - if (other.getEnableSpellCorrection() != false) { - setEnableSpellCorrection(other.getEnableSpellCorrection()); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1219,64 +1179,6 @@ public Builder clearModelTrainingMode() { return this; } - private boolean enableSpellCorrection_; - /** - * - * - *
-     * Indicates if automatic spell correction is enabled in detect intent
-     * requests.
-     * 
- * - * bool enable_spell_correction = 5 [deprecated = true]; - * - * @return The enableSpellCorrection. - */ - @java.lang.Override - @java.lang.Deprecated - public boolean getEnableSpellCorrection() { - return enableSpellCorrection_; - } - /** - * - * - *
-     * Indicates if automatic spell correction is enabled in detect intent
-     * requests.
-     * 
- * - * bool enable_spell_correction = 5 [deprecated = true]; - * - * @param value The enableSpellCorrection to set. - * @return This builder for chaining. - */ - @java.lang.Deprecated - public Builder setEnableSpellCorrection(boolean value) { - - enableSpellCorrection_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Indicates if automatic spell correction is enabled in detect intent
-     * requests.
-     * 
- * - * bool enable_spell_correction = 5 [deprecated = true]; - * - * @return This builder for chaining. - */ - @java.lang.Deprecated - public Builder clearEnableSpellCorrection() { - - enableSpellCorrection_ = false; - onChanged(); - return this; - } - @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettingsOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettingsOrBuilder.java index 108a24e7f..252b52453 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettingsOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettingsOrBuilder.java @@ -94,19 +94,4 @@ public interface NluSettingsOrBuilder * @return The modelTrainingMode. */ com.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelTrainingMode getModelTrainingMode(); - - /** - * - * - *
-   * Indicates if automatic spell correction is enabled in detect intent
-   * requests.
-   * 
- * - * bool enable_spell_correction = 5 [deprecated = true]; - * - * @return The enableSpellCorrection. - */ - @java.lang.Deprecated - boolean getEnableSpellCorrection(); } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Page.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Page.java index b5ae7f2a4..4cb13bdd4 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Page.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Page.java @@ -221,10 +221,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * The unique identifier of the page.
-   * Required for the
-   * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
-   * method.
-   * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+   * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
    * populates the name automatically.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -251,10 +248,7 @@ public java.lang.String getName() {
    *
    * 
    * The unique identifier of the page.
-   * Required for the
-   * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
-   * method.
-   * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+   * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
    * populates the name automatically.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -430,10 +424,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.FormOrBuilder getFormOrBuilder() {
    *
    *
    * 
-   * Ordered list of
-   * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-   * associated with the page. Transition route groups must be unique within a
-   * page.
+   * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+   * with the page. Transition route groups must be unique within a page.
    * *   If multiple transition routes within a page scope refer to the same
    *     intent, then the precedence order is: page's transition route -> page's
    *     transition route group -> flow's transition routes.
@@ -455,10 +447,8 @@ public com.google.protobuf.ProtocolStringList getTransitionRouteGroupsList() {
    *
    *
    * 
-   * Ordered list of
-   * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-   * associated with the page. Transition route groups must be unique within a
-   * page.
+   * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+   * with the page. Transition route groups must be unique within a page.
    * *   If multiple transition routes within a page scope refer to the same
    *     intent, then the precedence order is: page's transition route -> page's
    *     transition route group -> flow's transition routes.
@@ -480,10 +470,8 @@ public int getTransitionRouteGroupsCount() {
    *
    *
    * 
-   * Ordered list of
-   * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-   * associated with the page. Transition route groups must be unique within a
-   * page.
+   * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+   * with the page. Transition route groups must be unique within a page.
    * *   If multiple transition routes within a page scope refer to the same
    *     intent, then the precedence order is: page's transition route -> page's
    *     transition route group -> flow's transition routes.
@@ -506,10 +494,8 @@ public java.lang.String getTransitionRouteGroups(int index) {
    *
    *
    * 
-   * Ordered list of
-   * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-   * associated with the page. Transition route groups must be unique within a
-   * page.
+   * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+   * with the page. Transition route groups must be unique within a page.
    * *   If multiple transition routes within a page scope refer to the same
    *     intent, then the precedence order is: page's transition route -> page's
    *     transition route group -> flow's transition routes.
@@ -542,8 +528,7 @@ public com.google.protobuf.ByteString getTransitionRouteGroupsBytes(int index) {
    * following order:
    * *   TransitionRoutes defined in the page with intent specified.
    * *   TransitionRoutes defined in the
-   * [transition route
-   * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+   * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
    * *   TransitionRoutes defined in flow with intent specified.
    * *   TransitionRoutes defined in the page with only condition specified.
    * 
@@ -567,8 +552,7 @@ public com.google.protobuf.ByteString getTransitionRouteGroupsBytes(int index) { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -592,8 +576,7 @@ public com.google.protobuf.ByteString getTransitionRouteGroupsBytes(int index) { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -616,8 +599,7 @@ public int getTransitionRoutesCount() { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -640,8 +622,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute getTransitionRoute * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -1283,10 +1264,7 @@ public Builder mergeFrom( * *
      * The unique identifier of the page.
-     * Required for the
-     * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
-     * method.
-     * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+     * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
      * populates the name automatically.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -1312,10 +1290,7 @@ public java.lang.String getName() {
      *
      * 
      * The unique identifier of the page.
-     * Required for the
-     * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
-     * method.
-     * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+     * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
      * populates the name automatically.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -1341,10 +1316,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      * 
      * The unique identifier of the page.
-     * Required for the
-     * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
-     * method.
-     * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+     * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
      * populates the name automatically.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -1369,10 +1341,7 @@ public Builder setName(java.lang.String value) {
      *
      * 
      * The unique identifier of the page.
-     * Required for the
-     * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
-     * method.
-     * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+     * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
      * populates the name automatically.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -1393,10 +1362,7 @@ public Builder clearName() {
      *
      * 
      * The unique identifier of the page.
-     * Required for the
-     * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
-     * method.
-     * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+     * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
      * populates the name automatically.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -1919,10 +1885,8 @@ private void ensureTransitionRouteGroupsIsMutable() {
      *
      *
      * 
-     * Ordered list of
-     * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-     * associated with the page. Transition route groups must be unique within a
-     * page.
+     * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+     * with the page. Transition route groups must be unique within a page.
      * *   If multiple transition routes within a page scope refer to the same
      *     intent, then the precedence order is: page's transition route -> page's
      *     transition route group -> flow's transition routes.
@@ -1945,10 +1909,8 @@ public com.google.protobuf.ProtocolStringList getTransitionRouteGroupsList() {
      *
      *
      * 
-     * Ordered list of
-     * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-     * associated with the page. Transition route groups must be unique within a
-     * page.
+     * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+     * with the page. Transition route groups must be unique within a page.
      * *   If multiple transition routes within a page scope refer to the same
      *     intent, then the precedence order is: page's transition route -> page's
      *     transition route group -> flow's transition routes.
@@ -1971,10 +1933,8 @@ public int getTransitionRouteGroupsCount() {
      *
      *
      * 
-     * Ordered list of
-     * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-     * associated with the page. Transition route groups must be unique within a
-     * page.
+     * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+     * with the page. Transition route groups must be unique within a page.
      * *   If multiple transition routes within a page scope refer to the same
      *     intent, then the precedence order is: page's transition route -> page's
      *     transition route group -> flow's transition routes.
@@ -1998,10 +1958,8 @@ public java.lang.String getTransitionRouteGroups(int index) {
      *
      *
      * 
-     * Ordered list of
-     * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-     * associated with the page. Transition route groups must be unique within a
-     * page.
+     * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+     * with the page. Transition route groups must be unique within a page.
      * *   If multiple transition routes within a page scope refer to the same
      *     intent, then the precedence order is: page's transition route -> page's
      *     transition route group -> flow's transition routes.
@@ -2025,10 +1983,8 @@ public com.google.protobuf.ByteString getTransitionRouteGroupsBytes(int index) {
      *
      *
      * 
-     * Ordered list of
-     * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-     * associated with the page. Transition route groups must be unique within a
-     * page.
+     * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+     * with the page. Transition route groups must be unique within a page.
      * *   If multiple transition routes within a page scope refer to the same
      *     intent, then the precedence order is: page's transition route -> page's
      *     transition route group -> flow's transition routes.
@@ -2059,10 +2015,8 @@ public Builder setTransitionRouteGroups(int index, java.lang.String value) {
      *
      *
      * 
-     * Ordered list of
-     * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-     * associated with the page. Transition route groups must be unique within a
-     * page.
+     * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+     * with the page. Transition route groups must be unique within a page.
      * *   If multiple transition routes within a page scope refer to the same
      *     intent, then the precedence order is: page's transition route -> page's
      *     transition route group -> flow's transition routes.
@@ -2092,10 +2046,8 @@ public Builder addTransitionRouteGroups(java.lang.String value) {
      *
      *
      * 
-     * Ordered list of
-     * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-     * associated with the page. Transition route groups must be unique within a
-     * page.
+     * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+     * with the page. Transition route groups must be unique within a page.
      * *   If multiple transition routes within a page scope refer to the same
      *     intent, then the precedence order is: page's transition route -> page's
      *     transition route group -> flow's transition routes.
@@ -2122,10 +2074,8 @@ public Builder addAllTransitionRouteGroups(java.lang.Iterable
      *
      *
      * 
-     * Ordered list of
-     * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-     * associated with the page. Transition route groups must be unique within a
-     * page.
+     * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+     * with the page. Transition route groups must be unique within a page.
      * *   If multiple transition routes within a page scope refer to the same
      *     intent, then the precedence order is: page's transition route -> page's
      *     transition route group -> flow's transition routes.
@@ -2151,10 +2101,8 @@ public Builder clearTransitionRouteGroups() {
      *
      *
      * 
-     * Ordered list of
-     * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-     * associated with the page. Transition route groups must be unique within a
-     * page.
+     * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+     * with the page. Transition route groups must be unique within a page.
      * *   If multiple transition routes within a page scope refer to the same
      *     intent, then the precedence order is: page's transition route -> page's
      *     transition route group -> flow's transition routes.
@@ -2211,8 +2159,7 @@ private void ensureTransitionRoutesIsMutable() {
      * following order:
      * *   TransitionRoutes defined in the page with intent specified.
      * *   TransitionRoutes defined in the
-     * [transition route
-     * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+     * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
      * *   TransitionRoutes defined in flow with intent specified.
      * *   TransitionRoutes defined in the page with only condition specified.
      * 
@@ -2239,8 +2186,7 @@ private void ensureTransitionRoutesIsMutable() { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2266,8 +2212,7 @@ public int getTransitionRoutesCount() { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2293,8 +2238,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute getTransitionRoute * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2327,8 +2271,7 @@ public Builder setTransitionRoutes( * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2358,8 +2301,7 @@ public Builder setTransitionRoutes( * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2392,8 +2334,7 @@ public Builder addTransitionRoutes( * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2426,8 +2367,7 @@ public Builder addTransitionRoutes( * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2457,8 +2397,7 @@ public Builder addTransitionRoutes( * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2488,8 +2427,7 @@ public Builder addTransitionRoutes( * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2520,8 +2458,7 @@ public Builder addAllTransitionRoutes( * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2550,8 +2487,7 @@ public Builder clearTransitionRoutes() { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2580,8 +2516,7 @@ public Builder removeTransitionRoutes(int index) { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2604,8 +2539,7 @@ public Builder removeTransitionRoutes(int index) { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2632,8 +2566,7 @@ public Builder removeTransitionRoutes(int index) { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -2660,8 +2593,7 @@ public Builder removeTransitionRoutes(int index) { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. * @@ -2685,8 +2617,7 @@ public Builder removeTransitionRoutes(int index) { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. * @@ -2711,8 +2642,7 @@ public Builder removeTransitionRoutes(int index) { * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfo.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfo.java index 3d4feb37b..6283429c9 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfo.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfo.java @@ -137,9 +137,7 @@ public interface FormInfoOrBuilder * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * The parameters contained in the form. Note that the webhook cannot add
      * or remove any form parameter.
      * 
@@ -154,9 +152,7 @@ public interface FormInfoOrBuilder * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * The parameters contained in the form. Note that the webhook cannot add
      * or remove any form parameter.
      * 
@@ -171,9 +167,7 @@ com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo getParame * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * The parameters contained in the form. Note that the webhook cannot add
      * or remove any form parameter.
      * 
@@ -187,9 +181,7 @@ com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo getParame * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * The parameters contained in the form. Note that the webhook cannot add
      * or remove any form parameter.
      * 
@@ -206,9 +198,7 @@ com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo getParame * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * The parameters contained in the form. Note that the webhook cannot add
      * or remove any form parameter.
      * 
@@ -334,9 +324,7 @@ public interface ParameterInfoOrBuilder * * *
-       * Always present for
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-       * Required for
+       * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
        * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The human-readable name of the parameter, unique within the form. This
        * field cannot be modified by the webhook.
@@ -351,9 +339,7 @@ public interface ParameterInfoOrBuilder
        *
        *
        * 
-       * Always present for
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-       * Required for
+       * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
        * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The human-readable name of the parameter, unique within the form. This
        * field cannot be modified by the webhook.
@@ -369,9 +355,7 @@ public interface ParameterInfoOrBuilder
        *
        *
        * 
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * Indicates whether the parameter is required. Optional parameters will
        * not trigger prompts; however, they are filled if the user specifies
        * them. Required parameters must be filled before form filling concludes.
@@ -387,13 +371,10 @@ public interface ParameterInfoOrBuilder
        *
        *
        * 
-       * Always present for
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-       * Required for
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
-       * The state of the parameter. This field can be set to
-       * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
-       * by the webhook to invalidate the parameter; other values set by the
+       * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+       * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+       * the webhook to invalidate the parameter; other values set by the
        * webhook will be ignored.
        * 
* @@ -408,13 +389,10 @@ public interface ParameterInfoOrBuilder * * *
-       * Always present for
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-       * Required for
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
-       * The state of the parameter. This field can be set to
-       * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
-       * by the webhook to invalidate the parameter; other values set by the
+       * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+       * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+       * the webhook to invalidate the parameter; other values set by the
        * webhook will be ignored.
        * 
* @@ -431,9 +409,7 @@ public interface ParameterInfoOrBuilder * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The value of the parameter. This field can be set by the webhook to
        * change the parameter value.
        * 
@@ -447,9 +423,7 @@ public interface ParameterInfoOrBuilder * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The value of the parameter. This field can be set by the webhook to
        * change the parameter value.
        * 
@@ -463,9 +437,7 @@ public interface ParameterInfoOrBuilder * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The value of the parameter. This field can be set by the webhook to
        * change the parameter value.
        * 
@@ -478,10 +450,7 @@ public interface ParameterInfoOrBuilder * * *
-       * Optional for
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-       * Ignored for
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * Indicates if the parameter value was just collected on the last
        * conversation turn.
        * 
@@ -816,9 +785,7 @@ private ParameterState(int value) { * * *
-       * Always present for
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-       * Required for
+       * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
        * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The human-readable name of the parameter, unique within the form. This
        * field cannot be modified by the webhook.
@@ -844,9 +811,7 @@ public java.lang.String getDisplayName() {
        *
        *
        * 
-       * Always present for
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-       * Required for
+       * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
        * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The human-readable name of the parameter, unique within the form. This
        * field cannot be modified by the webhook.
@@ -875,9 +840,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
        *
        *
        * 
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * Indicates whether the parameter is required. Optional parameters will
        * not trigger prompts; however, they are filled if the user specifies
        * them. Required parameters must be filled before form filling concludes.
@@ -898,13 +861,10 @@ public boolean getRequired() {
        *
        *
        * 
-       * Always present for
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-       * Required for
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
-       * The state of the parameter. This field can be set to
-       * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
-       * by the webhook to invalidate the parameter; other values set by the
+       * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+       * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+       * the webhook to invalidate the parameter; other values set by the
        * webhook will be ignored.
        * 
* @@ -922,13 +882,10 @@ public int getStateValue() { * * *
-       * Always present for
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-       * Required for
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
-       * The state of the parameter. This field can be set to
-       * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
-       * by the webhook to invalidate the parameter; other values set by the
+       * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+       * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+       * the webhook to invalidate the parameter; other values set by the
        * webhook will be ignored.
        * 
* @@ -958,9 +915,7 @@ public int getStateValue() { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The value of the parameter. This field can be set by the webhook to
        * change the parameter value.
        * 
@@ -977,9 +932,7 @@ public boolean hasValue() { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The value of the parameter. This field can be set by the webhook to
        * change the parameter value.
        * 
@@ -996,9 +949,7 @@ public com.google.protobuf.Value getValue() { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The value of the parameter. This field can be set by the webhook to
        * change the parameter value.
        * 
@@ -1016,10 +967,7 @@ public com.google.protobuf.ValueOrBuilder getValueOrBuilder() { * * *
-       * Optional for
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-       * Ignored for
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * Indicates if the parameter value was just collected on the last
        * conversation turn.
        * 
@@ -1461,9 +1409,7 @@ public Builder mergeFrom( * * *
-         * Always present for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Required for
+         * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
          * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The human-readable name of the parameter, unique within the form. This
          * field cannot be modified by the webhook.
@@ -1488,9 +1434,7 @@ public java.lang.String getDisplayName() {
          *
          *
          * 
-         * Always present for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Required for
+         * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
          * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The human-readable name of the parameter, unique within the form. This
          * field cannot be modified by the webhook.
@@ -1515,9 +1459,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
          *
          *
          * 
-         * Always present for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Required for
+         * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
          * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The human-readable name of the parameter, unique within the form. This
          * field cannot be modified by the webhook.
@@ -1541,9 +1483,7 @@ public Builder setDisplayName(java.lang.String value) {
          *
          *
          * 
-         * Always present for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Required for
+         * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
          * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The human-readable name of the parameter, unique within the form. This
          * field cannot be modified by the webhook.
@@ -1563,9 +1503,7 @@ public Builder clearDisplayName() {
          *
          *
          * 
-         * Always present for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Required for
+         * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
          * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The human-readable name of the parameter, unique within the form. This
          * field cannot be modified by the webhook.
@@ -1592,9 +1530,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
          *
          *
          * 
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * Indicates whether the parameter is required. Optional parameters will
          * not trigger prompts; however, they are filled if the user specifies
          * them. Required parameters must be filled before form filling concludes.
@@ -1612,9 +1548,7 @@ public boolean getRequired() {
          *
          *
          * 
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * Indicates whether the parameter is required. Optional parameters will
          * not trigger prompts; however, they are filled if the user specifies
          * them. Required parameters must be filled before form filling concludes.
@@ -1635,9 +1569,7 @@ public Builder setRequired(boolean value) {
          *
          *
          * 
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * Indicates whether the parameter is required. Optional parameters will
          * not trigger prompts; however, they are filled if the user specifies
          * them. Required parameters must be filled before form filling concludes.
@@ -1659,13 +1591,10 @@ public Builder clearRequired() {
          *
          *
          * 
-         * Always present for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Required for
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
-         * The state of the parameter. This field can be set to
-         * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
-         * by the webhook to invalidate the parameter; other values set by the
+         * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+         * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+         * the webhook to invalidate the parameter; other values set by the
          * webhook will be ignored.
          * 
* @@ -1683,13 +1612,10 @@ public int getStateValue() { * * *
-         * Always present for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Required for
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
-         * The state of the parameter. This field can be set to
-         * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
-         * by the webhook to invalidate the parameter; other values set by the
+         * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+         * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+         * the webhook to invalidate the parameter; other values set by the
          * webhook will be ignored.
          * 
* @@ -1710,13 +1636,10 @@ public Builder setStateValue(int value) { * * *
-         * Always present for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Required for
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
-         * The state of the parameter. This field can be set to
-         * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
-         * by the webhook to invalidate the parameter; other values set by the
+         * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+         * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+         * the webhook to invalidate the parameter; other values set by the
          * webhook will be ignored.
          * 
* @@ -1743,13 +1666,10 @@ public Builder setStateValue(int value) { * * *
-         * Always present for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Required for
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
-         * The state of the parameter. This field can be set to
-         * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
-         * by the webhook to invalidate the parameter; other values set by the
+         * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+         * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+         * the webhook to invalidate the parameter; other values set by the
          * webhook will be ignored.
          * 
* @@ -1775,13 +1695,10 @@ public Builder setState( * * *
-         * Always present for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Required for
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
-         * The state of the parameter. This field can be set to
-         * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
-         * by the webhook to invalidate the parameter; other values set by the
+         * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+         * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+         * the webhook to invalidate the parameter; other values set by the
          * webhook will be ignored.
          * 
* @@ -1808,9 +1725,7 @@ public Builder clearState() { * * *
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The value of the parameter. This field can be set by the webhook to
          * change the parameter value.
          * 
@@ -1826,9 +1741,7 @@ public boolean hasValue() { * * *
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The value of the parameter. This field can be set by the webhook to
          * change the parameter value.
          * 
@@ -1848,9 +1761,7 @@ public com.google.protobuf.Value getValue() { * * *
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The value of the parameter. This field can be set by the webhook to
          * change the parameter value.
          * 
@@ -1874,9 +1785,7 @@ public Builder setValue(com.google.protobuf.Value value) { * * *
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The value of the parameter. This field can be set by the webhook to
          * change the parameter value.
          * 
@@ -1897,9 +1806,7 @@ public Builder setValue(com.google.protobuf.Value.Builder builderForValue) { * * *
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The value of the parameter. This field can be set by the webhook to
          * change the parameter value.
          * 
@@ -1924,9 +1831,7 @@ public Builder mergeValue(com.google.protobuf.Value value) { * * *
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The value of the parameter. This field can be set by the webhook to
          * change the parameter value.
          * 
@@ -1948,9 +1853,7 @@ public Builder clearValue() { * * *
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The value of the parameter. This field can be set by the webhook to
          * change the parameter value.
          * 
@@ -1966,9 +1869,7 @@ public com.google.protobuf.Value.Builder getValueBuilder() { * * *
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The value of the parameter. This field can be set by the webhook to
          * change the parameter value.
          * 
@@ -1986,9 +1887,7 @@ public com.google.protobuf.ValueOrBuilder getValueOrBuilder() { * * *
-         * Optional for both
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * The value of the parameter. This field can be set by the webhook to
          * change the parameter value.
          * 
@@ -2017,10 +1916,7 @@ public com.google.protobuf.ValueOrBuilder getValueOrBuilder() { * * *
-         * Optional for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Ignored for
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * Indicates if the parameter value was just collected on the last
          * conversation turn.
          * 
@@ -2037,10 +1933,7 @@ public boolean getJustCollected() { * * *
-         * Optional for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Ignored for
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * Indicates if the parameter value was just collected on the last
          * conversation turn.
          * 
@@ -2060,10 +1953,7 @@ public Builder setJustCollected(boolean value) { * * *
-         * Optional for
-         * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-         * Ignored for
-         * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+         * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
          * Indicates if the parameter value was just collected on the last
          * conversation turn.
          * 
@@ -2142,9 +2032,7 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * The parameters contained in the form. Note that the webhook cannot add
      * or remove any form parameter.
      * 
@@ -2162,9 +2050,7 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * The parameters contained in the form. Note that the webhook cannot add
      * or remove any form parameter.
      * 
@@ -2184,9 +2070,7 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * The parameters contained in the form. Note that the webhook cannot add
      * or remove any form parameter.
      * 
@@ -2203,9 +2087,7 @@ public int getParameterInfoCount() { * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * The parameters contained in the form. Note that the webhook cannot add
      * or remove any form parameter.
      * 
@@ -2223,9 +2105,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo ge * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * The parameters contained in the form. Note that the webhook cannot add
      * or remove any form parameter.
      * 
@@ -2628,9 +2508,7 @@ private void ensureParameterInfoIsMutable() { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2651,9 +2529,7 @@ private void ensureParameterInfoIsMutable() { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2673,9 +2549,7 @@ public int getParameterInfoCount() { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2696,9 +2570,7 @@ public int getParameterInfoCount() { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2725,9 +2597,7 @@ public Builder setParameterInfo( * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2753,9 +2623,7 @@ public Builder setParameterInfo( * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2782,9 +2650,7 @@ public Builder addParameterInfo( * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2811,9 +2677,7 @@ public Builder addParameterInfo( * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2838,9 +2702,7 @@ public Builder addParameterInfo( * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2866,9 +2728,7 @@ public Builder addParameterInfo( * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2894,9 +2754,7 @@ public Builder addAllParameterInfo( * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2919,9 +2777,7 @@ public Builder clearParameterInfo() { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2944,9 +2800,7 @@ public Builder removeParameterInfo(int index) { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2963,9 +2817,7 @@ public Builder removeParameterInfo(int index) { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -2986,9 +2838,7 @@ public Builder removeParameterInfo(int index) { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -3011,9 +2861,7 @@ public Builder removeParameterInfo(int index) { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -3033,9 +2881,7 @@ public Builder removeParameterInfo(int index) { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -3056,9 +2902,7 @@ public Builder removeParameterInfo(int index) { * * *
-       * Optional for both
-       * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-       * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+       * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
        * The parameters contained in the form. Note that the webhook cannot add
        * or remove any form parameter.
        * 
@@ -3151,13 +2995,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo getDefaultInstan * * *
-   * Always present for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Ignored for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * unique identifier of the current page. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
-   * ID>`.
+   * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * The unique identifier of the current page.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>/pages/<Page ID>`.
    * 
* * string current_page = 1 [(.google.api.resource_reference) = { ... } @@ -3180,13 +3021,10 @@ public java.lang.String getCurrentPage() { * * *
-   * Always present for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Ignored for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * unique identifier of the current page. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
-   * ID>`.
+   * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * The unique identifier of the current page.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>/pages/<Page ID>`.
    * 
* * string current_page = 1 [(.google.api.resource_reference) = { ... } @@ -3212,9 +3050,7 @@ public com.google.protobuf.ByteString getCurrentPageBytes() { * * *
-   * Optional for both
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
    * Information about the form.
    * 
* @@ -3230,9 +3066,7 @@ public boolean hasFormInfo() { * * *
-   * Optional for both
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
    * Information about the form.
    * 
* @@ -3250,9 +3084,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo getFormInfo() { * * *
-   * Optional for both
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
    * Information about the form.
    * 
* @@ -3613,13 +3445,10 @@ public Builder mergeFrom( * * *
-     * Always present for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Ignored for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * unique identifier of the current page. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
-     * ID>`.
+     * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * The unique identifier of the current page.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>/pages/<Page ID>`.
      * 
* * string current_page = 1 [(.google.api.resource_reference) = { ... } @@ -3641,13 +3470,10 @@ public java.lang.String getCurrentPage() { * * *
-     * Always present for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Ignored for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * unique identifier of the current page. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
-     * ID>`.
+     * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * The unique identifier of the current page.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>/pages/<Page ID>`.
      * 
* * string current_page = 1 [(.google.api.resource_reference) = { ... } @@ -3669,13 +3495,10 @@ public com.google.protobuf.ByteString getCurrentPageBytes() { * * *
-     * Always present for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Ignored for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * unique identifier of the current page. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
-     * ID>`.
+     * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * The unique identifier of the current page.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>/pages/<Page ID>`.
      * 
* * string current_page = 1 [(.google.api.resource_reference) = { ... } @@ -3696,13 +3519,10 @@ public Builder setCurrentPage(java.lang.String value) { * * *
-     * Always present for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Ignored for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * unique identifier of the current page. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
-     * ID>`.
+     * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * The unique identifier of the current page.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>/pages/<Page ID>`.
      * 
* * string current_page = 1 [(.google.api.resource_reference) = { ... } @@ -3719,13 +3539,10 @@ public Builder clearCurrentPage() { * * *
-     * Always present for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Ignored for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * unique identifier of the current page. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
-     * ID>`.
+     * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * The unique identifier of the current page.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>/pages/<Page ID>`.
      * 
* * string current_page = 1 [(.google.api.resource_reference) = { ... } @@ -3754,9 +3571,7 @@ public Builder setCurrentPageBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * Information about the form.
      * 
* @@ -3771,9 +3586,7 @@ public boolean hasFormInfo() { * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * Information about the form.
      * 
* @@ -3794,9 +3607,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo getFormInfo() { * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * Information about the form.
      * 
* @@ -3819,9 +3630,7 @@ public Builder setFormInfo(com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormI * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * Information about the form.
      * 
* @@ -3842,9 +3651,7 @@ public Builder setFormInfo( * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * Information about the form.
      * 
* @@ -3871,9 +3678,7 @@ public Builder mergeFormInfo(com.google.cloud.dialogflow.cx.v3beta1.PageInfo.For * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * Information about the form.
      * 
* @@ -3894,9 +3699,7 @@ public Builder clearFormInfo() { * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * Information about the form.
      * 
* @@ -3911,9 +3714,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.Builder getFormI * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * Information about the form.
      * 
* @@ -3933,9 +3734,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.Builder getFormI * * *
-     * Optional for both
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
      * Information about the form.
      * 
* diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfoOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfoOrBuilder.java index 17f3aaf00..a6608831f 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfoOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfoOrBuilder.java @@ -27,13 +27,10 @@ public interface PageInfoOrBuilder * * *
-   * Always present for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Ignored for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * unique identifier of the current page. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
-   * ID>`.
+   * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * The unique identifier of the current page.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>/pages/<Page ID>`.
    * 
* * string current_page = 1 [(.google.api.resource_reference) = { ... } @@ -45,13 +42,10 @@ public interface PageInfoOrBuilder * * *
-   * Always present for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Ignored for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * unique identifier of the current page. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
-   * ID>`.
+   * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * The unique identifier of the current page.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>/pages/<Page ID>`.
    * 
* * string current_page = 1 [(.google.api.resource_reference) = { ... } @@ -64,9 +58,7 @@ public interface PageInfoOrBuilder * * *
-   * Optional for both
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
    * Information about the form.
    * 
* @@ -79,9 +71,7 @@ public interface PageInfoOrBuilder * * *
-   * Optional for both
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
    * Information about the form.
    * 
* @@ -94,9 +84,7 @@ public interface PageInfoOrBuilder * * *
-   * Optional for both
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
    * Information about the form.
    * 
* diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageOrBuilder.java index f11be7964..9ea6020db 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageOrBuilder.java @@ -28,10 +28,7 @@ public interface PageOrBuilder * *
    * The unique identifier of the page.
-   * Required for the
-   * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
-   * method.
-   * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+   * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
    * populates the name automatically.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -47,10 +44,7 @@ public interface PageOrBuilder
    *
    * 
    * The unique identifier of the page.
-   * Required for the
-   * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
-   * method.
-   * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+   * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
    * populates the name automatically.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -164,10 +158,8 @@ public interface PageOrBuilder
    *
    *
    * 
-   * Ordered list of
-   * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-   * associated with the page. Transition route groups must be unique within a
-   * page.
+   * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+   * with the page. Transition route groups must be unique within a page.
    * *   If multiple transition routes within a page scope refer to the same
    *     intent, then the precedence order is: page's transition route -> page's
    *     transition route group -> flow's transition routes.
@@ -187,10 +179,8 @@ public interface PageOrBuilder
    *
    *
    * 
-   * Ordered list of
-   * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-   * associated with the page. Transition route groups must be unique within a
-   * page.
+   * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+   * with the page. Transition route groups must be unique within a page.
    * *   If multiple transition routes within a page scope refer to the same
    *     intent, then the precedence order is: page's transition route -> page's
    *     transition route group -> flow's transition routes.
@@ -210,10 +200,8 @@ public interface PageOrBuilder
    *
    *
    * 
-   * Ordered list of
-   * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-   * associated with the page. Transition route groups must be unique within a
-   * page.
+   * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+   * with the page. Transition route groups must be unique within a page.
    * *   If multiple transition routes within a page scope refer to the same
    *     intent, then the precedence order is: page's transition route -> page's
    *     transition route group -> flow's transition routes.
@@ -234,10 +222,8 @@ public interface PageOrBuilder
    *
    *
    * 
-   * Ordered list of
-   * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
-   * associated with the page. Transition route groups must be unique within a
-   * page.
+   * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+   * with the page. Transition route groups must be unique within a page.
    * *   If multiple transition routes within a page scope refer to the same
    *     intent, then the precedence order is: page's transition route -> page's
    *     transition route group -> flow's transition routes.
@@ -266,8 +252,7 @@ public interface PageOrBuilder
    * following order:
    * *   TransitionRoutes defined in the page with intent specified.
    * *   TransitionRoutes defined in the
-   * [transition route
-   * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+   * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
    * *   TransitionRoutes defined in flow with intent specified.
    * *   TransitionRoutes defined in the page with only condition specified.
    * 
@@ -287,8 +272,7 @@ public interface PageOrBuilder * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -308,8 +292,7 @@ public interface PageOrBuilder * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -329,8 +312,7 @@ public interface PageOrBuilder * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
@@ -351,8 +333,7 @@ public interface PageOrBuilder * following order: * * TransitionRoutes defined in the page with intent specified. * * TransitionRoutes defined in the - * [transition route - * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. * * TransitionRoutes defined in flow with intent specified. * * TransitionRoutes defined in the page with only condition specified. *
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageProto.java index e8baeddf8..1866cd68a 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageProto.java @@ -106,86 +106,87 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Handler:u\352Ar\n\036dialogflow.googleapis.com/" + "Page\022Pprojects/{project}/locations/{loca" + "tion}/agents/{agent}/flows/{flow}/pages/" - + "{page}\"\247\004\n\004Form\022F\n\nparameters\030\001 \003(\01322.go" + + "{page}\"\267\004\n\004Form\022F\n\nparameters\030\001 \003(\01322.go" + "ogle.cloud.dialogflow.cx.v3beta1.Form.Pa" - + "rameter\032\326\003\n\tParameter\022\031\n\014display_name\030\001 " + + "rameter\032\346\003\n\tParameter\022\031\n\014display_name\030\001 " + "\001(\tB\003\340A\002\022\020\n\010required\030\002 \001(\010\022A\n\013entity_typ" + "e\030\003 \001(\tB,\340A\002\372A&\n$dialogflow.googleapis.c" + "om/EntityType\022\017\n\007is_list\030\004 \001(\010\022[\n\rfill_b" + "ehavior\030\007 \001(\0132?.google.cloud.dialogflow." + "cx.v3beta1.Form.Parameter.FillBehaviorB\003" + "\340A\002\022-\n\rdefault_value\030\t \001(\0132\026.google.prot" - + "obuf.Value\032\273\001\n\014FillBehavior\022X\n\032initial_p" - + "rompt_fulfillment\030\003 \001(\0132/.google.cloud.d" - + "ialogflow.cx.v3beta1.FulfillmentB\003\340A\002\022Q\n" - + "\027reprompt_event_handlers\030\005 \003(\01320.google." - + "cloud.dialogflow.cx.v3beta1.EventHandler" - + "\"\205\002\n\014EventHandler\022\021\n\004name\030\006 \001(\tB\003\340A\003\022\022\n\005" - + "event\030\004 \001(\tB\003\340A\002\022L\n\023trigger_fulfillment\030" - + "\005 \001(\0132/.google.cloud.dialogflow.cx.v3bet" - + "a1.Fulfillment\022:\n\013target_page\030\002 \001(\tB#\372A " - + "\n\036dialogflow.googleapis.com/PageH\000\022:\n\013ta" - + "rget_flow\030\003 \001(\tB#\372A \n\036dialogflow.googlea" - + "pis.com/FlowH\000B\010\n\006target\"\276\002\n\017TransitionR" - + "oute\022\021\n\004name\030\006 \001(\tB\003\340A\003\0225\n\006intent\030\001 \001(\tB" - + "%\372A\"\n dialogflow.googleapis.com/Intent\022\021" - + "\n\tcondition\030\002 \001(\t\022L\n\023trigger_fulfillment" - + "\030\003 \001(\0132/.google.cloud.dialogflow.cx.v3be" - + "ta1.Fulfillment\022:\n\013target_page\030\004 \001(\tB#\372A" - + " \n\036dialogflow.googleapis.com/PageH\000\022:\n\013t" - + "arget_flow\030\005 \001(\tB#\372A \n\036dialogflow.google" - + "apis.com/FlowH\000B\010\n\006target\"\210\001\n\020ListPagesR" - + "equest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialogfl" - + "ow.googleapis.com/Page\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\"e\n\021ListPagesResponse\0227\n\005pages\030\001 \003(\013" - + "2(.google.cloud.dialogflow.cx.v3beta1.Pa" - + "ge\022\027\n\017next_page_token\030\002 \001(\t\"]\n\016GetPageRe" - + "quest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow." - + "googleapis.com/Page\022\025\n\rlanguage_code\030\002 \001" - + "(\t\"\237\001\n\021CreatePageRequest\0226\n\006parent\030\001 \001(\t" - + "B&\340A\002\372A \022\036dialogflow.googleapis.com/Page" - + "\022;\n\004page\030\002 \001(\0132(.google.cloud.dialogflow" - + ".cx.v3beta1.PageB\003\340A\002\022\025\n\rlanguage_code\030\003" - + " \001(\t\"\230\001\n\021UpdatePageRequest\022;\n\004page\030\001 \001(\013" - + "2(.google.cloud.dialogflow.cx.v3beta1.Pa" - + "geB\003\340A\002\022\025\n\rlanguage_code\030\002 \001(\t\022/\n\013update" - + "_mask\030\003 \001(\0132\032.google.protobuf.FieldMask\"" - + "X\n\021DeletePageRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" - + "A \n\036dialogflow.googleapis.com/Page\022\r\n\005fo" - + "rce\030\002 \001(\0102\332\010\n\005Pages\022\312\001\n\tListPages\0224.goog" - + "le.cloud.dialogflow.cx.v3beta1.ListPages" - + "Request\0325.google.cloud.dialogflow.cx.v3b" - + "eta1.ListPagesResponse\"P\202\323\344\223\002A\022?/v3beta1" - + "/{parent=projects/*/locations/*/agents/*" - + "/flows/*}/pages\332A\006parent\022\267\001\n\007GetPage\0222.g" - + "oogle.cloud.dialogflow.cx.v3beta1.GetPag" - + "eRequest\032(.google.cloud.dialogflow.cx.v3" - + "beta1.Page\"N\202\323\344\223\002A\022?/v3beta1/{name=proje" - + "cts/*/locations/*/agents/*/flows/*/pages" - + "/*}\332A\004name\022\312\001\n\nCreatePage\0225.google.cloud" - + ".dialogflow.cx.v3beta1.CreatePageRequest" - + "\032(.google.cloud.dialogflow.cx.v3beta1.Pa" - + "ge\"[\202\323\344\223\002G\"?/v3beta1/{parent=projects/*/" - + "locations/*/agents/*/flows/*}/pages:\004pag" - + "e\332A\013parent,page\022\324\001\n\nUpdatePage\0225.google." - + "cloud.dialogflow.cx.v3beta1.UpdatePageRe" - + "quest\032(.google.cloud.dialogflow.cx.v3bet" - + "a1.Page\"e\202\323\344\223\002L2D/v3beta1/{page.name=pro" - + "jects/*/locations/*/agents/*/flows/*/pag" - + "es/*}:\004page\332A\020page,update_mask\022\253\001\n\nDelet" - + "ePage\0225.google.cloud.dialogflow.cx.v3bet" - + "a1.DeletePageRequest\032\026.google.protobuf.E" - + "mpty\"N\202\323\344\223\002A*?/v3beta1/{name=projects/*/" - + "locations/*/agents/*/flows/*/pages/*}\332A\004" - + "name\032x\312A\031dialogflow.googleapis.com\322AYhtt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm,https://www.googleapis.com/auth/dial" - + "ogflowB\250\001\n&com.google.cloud.dialogflow.c" - + "x.v3beta1B\tPageProtoP\001ZDgoogle.golang.or" - + "g/genproto/googleapis/cloud/dialogflow/c" - + "x/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dial" - + "ogflow.Cx.V3Beta1b\006proto3" + + "obuf.Value\022\016\n\006redact\030\013 \001(\010\032\273\001\n\014FillBehav" + + "ior\022X\n\032initial_prompt_fulfillment\030\003 \001(\0132" + + "/.google.cloud.dialogflow.cx.v3beta1.Ful" + + "fillmentB\003\340A\002\022Q\n\027reprompt_event_handlers" + + "\030\005 \003(\01320.google.cloud.dialogflow.cx.v3be" + + "ta1.EventHandler\"\205\002\n\014EventHandler\022\021\n\004nam" + + "e\030\006 \001(\tB\003\340A\003\022\022\n\005event\030\004 \001(\tB\003\340A\002\022L\n\023trig" + + "ger_fulfillment\030\005 \001(\0132/.google.cloud.dia" + + "logflow.cx.v3beta1.Fulfillment\022:\n\013target" + + "_page\030\002 \001(\tB#\372A \n\036dialogflow.googleapis." + + "com/PageH\000\022:\n\013target_flow\030\003 \001(\tB#\372A \n\036di" + + "alogflow.googleapis.com/FlowH\000B\010\n\006target" + + "\"\276\002\n\017TransitionRoute\022\021\n\004name\030\006 \001(\tB\003\340A\003\022" + + "5\n\006intent\030\001 \001(\tB%\372A\"\n dialogflow.googlea" + + "pis.com/Intent\022\021\n\tcondition\030\002 \001(\t\022L\n\023tri" + + "gger_fulfillment\030\003 \001(\0132/.google.cloud.di" + + "alogflow.cx.v3beta1.Fulfillment\022:\n\013targe" + + "t_page\030\004 \001(\tB#\372A \n\036dialogflow.googleapis" + + ".com/PageH\000\022:\n\013target_flow\030\005 \001(\tB#\372A \n\036d" + + "ialogflow.googleapis.com/FlowH\000B\010\n\006targe" + + "t\"\210\001\n\020ListPagesRequest\0226\n\006parent\030\001 \001(\tB&" + + "\340A\002\372A \022\036dialogflow.googleapis.com/Page\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\"e\n\021ListPagesRespons" + + "e\0227\n\005pages\030\001 \003(\0132(.google.cloud.dialogfl" + + "ow.cx.v3beta1.Page\022\027\n\017next_page_token\030\002 " + + "\001(\t\"]\n\016GetPageRequest\0224\n\004name\030\001 \001(\tB&\340A\002" + + "\372A \n\036dialogflow.googleapis.com/Page\022\025\n\rl" + + "anguage_code\030\002 \001(\t\"\237\001\n\021CreatePageRequest" + + "\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialogflow.goo" + + "gleapis.com/Page\022;\n\004page\030\002 \001(\0132(.google." + + "cloud.dialogflow.cx.v3beta1.PageB\003\340A\002\022\025\n" + + "\rlanguage_code\030\003 \001(\t\"\230\001\n\021UpdatePageReque" + + "st\022;\n\004page\030\001 \001(\0132(.google.cloud.dialogfl" + + "ow.cx.v3beta1.PageB\003\340A\002\022\025\n\rlanguage_code" + + "\030\002 \001(\t\022/\n\013update_mask\030\003 \001(\0132\032.google.pro" + + "tobuf.FieldMask\"X\n\021DeletePageRequest\0224\n\004" + + "name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.googleapi" + + "s.com/Page\022\r\n\005force\030\002 \001(\0102\332\010\n\005Pages\022\312\001\n\t" + + "ListPages\0224.google.cloud.dialogflow.cx.v" + + "3beta1.ListPagesRequest\0325.google.cloud.d" + + "ialogflow.cx.v3beta1.ListPagesResponse\"P" + + "\202\323\344\223\002A\022?/v3beta1/{parent=projects/*/loca" + + "tions/*/agents/*/flows/*}/pages\332A\006parent" + + "\022\267\001\n\007GetPage\0222.google.cloud.dialogflow.c" + + "x.v3beta1.GetPageRequest\032(.google.cloud." + + "dialogflow.cx.v3beta1.Page\"N\202\323\344\223\002A\022?/v3b" + + "eta1/{name=projects/*/locations/*/agents" + + "/*/flows/*/pages/*}\332A\004name\022\312\001\n\nCreatePag" + + "e\0225.google.cloud.dialogflow.cx.v3beta1.C" + + "reatePageRequest\032(.google.cloud.dialogfl" + + "ow.cx.v3beta1.Page\"[\202\323\344\223\002G\"?/v3beta1/{pa" + + "rent=projects/*/locations/*/agents/*/flo" + + "ws/*}/pages:\004page\332A\013parent,page\022\324\001\n\nUpda" + + "tePage\0225.google.cloud.dialogflow.cx.v3be" + + "ta1.UpdatePageRequest\032(.google.cloud.dia" + + "logflow.cx.v3beta1.Page\"e\202\323\344\223\002L2D/v3beta" + + "1/{page.name=projects/*/locations/*/agen" + + "ts/*/flows/*/pages/*}:\004page\332A\020page,updat" + + "e_mask\022\253\001\n\nDeletePage\0225.google.cloud.dia" + + "logflow.cx.v3beta1.DeletePageRequest\032\026.g" + + "oogle.protobuf.Empty\"N\202\323\344\223\002A*?/v3beta1/{" + + "name=projects/*/locations/*/agents/*/flo" + + "ws/*/pages/*}\332A\004name\032x\312A\031dialogflow.goog" + + "leapis.com\322AYhttps://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/dialogflowB\250\001\n&com.google.cl" + + "oud.dialogflow.cx.v3beta1B\tPageProtoP\001ZD" + + "google.golang.org/genproto/googleapis/cl" + + "oud/dialogflow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"G" + + "oogle.Cloud.Dialogflow.Cx.V3Beta1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -228,7 +229,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_Form_Parameter_descriptor, new java.lang.String[] { - "DisplayName", "Required", "EntityType", "IsList", "FillBehavior", "DefaultValue", + "DisplayName", + "Required", + "EntityType", + "IsList", + "FillBehavior", + "DefaultValue", + "Redact", }); internal_static_google_cloud_dialogflow_cx_v3beta1_Form_Parameter_FillBehavior_descriptor = internal_static_google_cloud_dialogflow_cx_v3beta1_Form_Parameter_descriptor diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java index d43a1c6f8..9e5bd170a 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java @@ -132,6 +132,24 @@ private QueryInput( inputCase_ = 5; break; } + case 50: + { + com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder subBuilder = null; + if (inputCase_ == 6) { + subBuilder = + ((com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_).toBuilder(); + } + input_ = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.EventInput.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_); + input_ = subBuilder.buildPartial(); + } + inputCase_ = 6; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -176,6 +194,7 @@ public enum InputCase TEXT(2), INTENT(3), AUDIO(5), + EVENT(6), INPUT_NOT_SET(0); private final int value; @@ -200,6 +219,8 @@ public static InputCase forNumber(int value) { return INTENT; case 5: return AUDIO; + case 6: + return EVENT; case 0: return INPUT_NOT_SET; default: @@ -369,6 +390,57 @@ public com.google.cloud.dialogflow.cx.v3beta1.AudioInputOrBuilder getAudioOrBuil return com.google.cloud.dialogflow.cx.v3beta1.AudioInput.getDefaultInstance(); } + public static final int EVENT_FIELD_NUMBER = 6; + /** + * + * + *
+   * The event to be triggered.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + * + * @return Whether the event field is set. + */ + @java.lang.Override + public boolean hasEvent() { + return inputCase_ == 6; + } + /** + * + * + *
+   * The event to be triggered.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + * + * @return The event. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.EventInput getEvent() { + if (inputCase_ == 6) { + return (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_; + } + return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance(); + } + /** + * + * + *
+   * The event to be triggered.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder getEventOrBuilder() { + if (inputCase_ == 6) { + return (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_; + } + return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance(); + } + public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; private volatile java.lang.Object languageCode_; /** @@ -450,6 +522,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (inputCase_ == 5) { output.writeMessage(5, (com.google.cloud.dialogflow.cx.v3beta1.AudioInput) input_); } + if (inputCase_ == 6) { + output.writeMessage(6, (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_); + } unknownFields.writeTo(output); } @@ -477,6 +552,11 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 5, (com.google.cloud.dialogflow.cx.v3beta1.AudioInput) input_); } + if (inputCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -505,6 +585,9 @@ public boolean equals(final java.lang.Object obj) { case 5: if (!getAudio().equals(other.getAudio())) return false; break; + case 6: + if (!getEvent().equals(other.getEvent())) return false; + break; case 0: default: } @@ -534,6 +617,10 @@ public int hashCode() { hash = (37 * hash) + AUDIO_FIELD_NUMBER; hash = (53 * hash) + getAudio().hashCode(); break; + case 6: + hash = (37 * hash) + EVENT_FIELD_NUMBER; + hash = (53 * hash) + getEvent().hashCode(); + break; case 0: default: } @@ -736,6 +823,13 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryInput buildPartial() { result.input_ = audioBuilder_.build(); } } + if (inputCase_ == 6) { + if (eventBuilder_ == null) { + result.input_ = input_; + } else { + result.input_ = eventBuilder_.build(); + } + } result.languageCode_ = languageCode_; result.inputCase_ = inputCase_; onBuilt(); @@ -808,6 +902,11 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.QueryInput other mergeAudio(other.getAudio()); break; } + case EVENT: + { + mergeEvent(other.getEvent()); + break; + } case INPUT_NOT_SET: { break; @@ -1484,6 +1583,215 @@ public com.google.cloud.dialogflow.cx.v3beta1.AudioInputOrBuilder getAudioOrBuil return audioBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.EventInput, + com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder, + com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder> + eventBuilder_; + /** + * + * + *
+     * The event to be triggered.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + * + * @return Whether the event field is set. + */ + @java.lang.Override + public boolean hasEvent() { + return inputCase_ == 6; + } + /** + * + * + *
+     * The event to be triggered.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + * + * @return The event. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.EventInput getEvent() { + if (eventBuilder_ == null) { + if (inputCase_ == 6) { + return (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_; + } + return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance(); + } else { + if (inputCase_ == 6) { + return eventBuilder_.getMessage(); + } + return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance(); + } + } + /** + * + * + *
+     * The event to be triggered.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + */ + public Builder setEvent(com.google.cloud.dialogflow.cx.v3beta1.EventInput value) { + if (eventBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + input_ = value; + onChanged(); + } else { + eventBuilder_.setMessage(value); + } + inputCase_ = 6; + return this; + } + /** + * + * + *
+     * The event to be triggered.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + */ + public Builder setEvent( + com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder builderForValue) { + if (eventBuilder_ == null) { + input_ = builderForValue.build(); + onChanged(); + } else { + eventBuilder_.setMessage(builderForValue.build()); + } + inputCase_ = 6; + return this; + } + /** + * + * + *
+     * The event to be triggered.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + */ + public Builder mergeEvent(com.google.cloud.dialogflow.cx.v3beta1.EventInput value) { + if (eventBuilder_ == null) { + if (inputCase_ == 6 + && input_ != com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance()) { + input_ = + com.google.cloud.dialogflow.cx.v3beta1.EventInput.newBuilder( + (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_) + .mergeFrom(value) + .buildPartial(); + } else { + input_ = value; + } + onChanged(); + } else { + if (inputCase_ == 6) { + eventBuilder_.mergeFrom(value); + } + eventBuilder_.setMessage(value); + } + inputCase_ = 6; + return this; + } + /** + * + * + *
+     * The event to be triggered.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + */ + public Builder clearEvent() { + if (eventBuilder_ == null) { + if (inputCase_ == 6) { + inputCase_ = 0; + input_ = null; + onChanged(); + } + } else { + if (inputCase_ == 6) { + inputCase_ = 0; + input_ = null; + } + eventBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The event to be triggered.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + */ + public com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder getEventBuilder() { + return getEventFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The event to be triggered.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder getEventOrBuilder() { + if ((inputCase_ == 6) && (eventBuilder_ != null)) { + return eventBuilder_.getMessageOrBuilder(); + } else { + if (inputCase_ == 6) { + return (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_; + } + return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance(); + } + } + /** + * + * + *
+     * The event to be triggered.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.EventInput, + com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder, + com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder> + getEventFieldBuilder() { + if (eventBuilder_ == null) { + if (!(inputCase_ == 6)) { + input_ = com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance(); + } + eventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.EventInput, + com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder, + com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder>( + (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_, + getParentForChildren(), + isClean()); + input_ = null; + } + inputCase_ = 6; + onChanged(); + ; + return eventBuilder_; + } + private java.lang.Object languageCode_ = ""; /** * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java index 5c7cea29a..4b79691f1 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java @@ -128,6 +128,41 @@ public interface QueryInputOrBuilder */ com.google.cloud.dialogflow.cx.v3beta1.AudioInputOrBuilder getAudioOrBuilder(); + /** + * + * + *
+   * The event to be triggered.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + * + * @return Whether the event field is set. + */ + boolean hasEvent(); + /** + * + * + *
+   * The event to be triggered.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + * + * @return The event. + */ + com.google.cloud.dialogflow.cx.v3beta1.EventInput getEvent(); + /** + * + * + *
+   * The event to be triggered.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; + */ + com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder getEventOrBuilder(); + /** * * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java index bf08e7b37..1b53c5605 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java @@ -134,6 +134,11 @@ private QueryParameters( parameters_ = subBuilder.buildPartial(); } + break; + } + case 64: + { + analyzeQueryTextSentiment_ = input.readBool(); break; } default: @@ -501,6 +506,25 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { return getParameters(); } + public static final int ANALYZE_QUERY_TEXT_SENTIMENT_FIELD_NUMBER = 8; + private boolean analyzeQueryTextSentiment_; + /** + * + * + *
+   * Configures whether sentiment analysis should be performed. If not
+   * provided, sentiment analysis is not performed.
+   * 
+ * + * bool analyze_query_text_sentiment = 8; + * + * @return The analyzeQueryTextSentiment. + */ + @java.lang.Override + public boolean getAnalyzeQueryTextSentiment() { + return analyzeQueryTextSentiment_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -530,6 +554,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (parameters_ != null) { output.writeMessage(5, getParameters()); } + if (analyzeQueryTextSentiment_ != false) { + output.writeBool(8, analyzeQueryTextSentiment_); + } unknownFields.writeTo(output); } @@ -555,6 +582,9 @@ public int getSerializedSize() { if (parameters_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getParameters()); } + if (analyzeQueryTextSentiment_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, analyzeQueryTextSentiment_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -585,6 +615,7 @@ public boolean equals(final java.lang.Object obj) { if (hasParameters()) { if (!getParameters().equals(other.getParameters())) return false; } + if (getAnalyzeQueryTextSentiment() != other.getAnalyzeQueryTextSentiment()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -614,6 +645,8 @@ public int hashCode() { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getParameters().hashCode(); } + hash = (37 * hash) + ANALYZE_QUERY_TEXT_SENTIMENT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAnalyzeQueryTextSentiment()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -788,6 +821,8 @@ public Builder clear() { parameters_ = null; parametersBuilder_ = null; } + analyzeQueryTextSentiment_ = false; + return this; } @@ -841,6 +876,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryParameters buildPartial() { } else { result.parameters_ = parametersBuilder_.build(); } + result.analyzeQueryTextSentiment_ = analyzeQueryTextSentiment_; onBuilt(); return result; } @@ -931,6 +967,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.QueryParameters if (other.hasParameters()) { mergeParameters(other.getParameters()); } + if (other.getAnalyzeQueryTextSentiment() != false) { + setAnalyzeQueryTextSentiment(other.getAnalyzeQueryTextSentiment()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2203,6 +2242,61 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { return parametersBuilder_; } + private boolean analyzeQueryTextSentiment_; + /** + * + * + *
+     * Configures whether sentiment analysis should be performed. If not
+     * provided, sentiment analysis is not performed.
+     * 
+ * + * bool analyze_query_text_sentiment = 8; + * + * @return The analyzeQueryTextSentiment. + */ + @java.lang.Override + public boolean getAnalyzeQueryTextSentiment() { + return analyzeQueryTextSentiment_; + } + /** + * + * + *
+     * Configures whether sentiment analysis should be performed. If not
+     * provided, sentiment analysis is not performed.
+     * 
+ * + * bool analyze_query_text_sentiment = 8; + * + * @param value The analyzeQueryTextSentiment to set. + * @return This builder for chaining. + */ + public Builder setAnalyzeQueryTextSentiment(boolean value) { + + analyzeQueryTextSentiment_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Configures whether sentiment analysis should be performed. If not
+     * provided, sentiment analysis is not performed.
+     * 
+ * + * bool analyze_query_text_sentiment = 8; + * + * @return This builder for chaining. + */ + public Builder clearAnalyzeQueryTextSentiment() { + + analyzeQueryTextSentiment_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java index 65deafe26..bf4c5c493 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java @@ -275,4 +275,18 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti * .google.protobuf.Struct parameters = 5; */ com.google.protobuf.StructOrBuilder getParametersOrBuilder(); + + /** + * + * + *
+   * Configures whether sentiment analysis should be performed. If not
+   * provided, sentiment analysis is not performed.
+   * 
+ * + * bool analyze_query_text_sentiment = 8; + * + * @return The analyzeQueryTextSentiment. + */ + boolean getAnalyzeQueryTextSentiment(); } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java index 56b95baf7..c600283ff 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java @@ -224,6 +224,24 @@ private QueryResult( match_ = subBuilder.buildPartial(); } + break; + } + case 138: + { + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder subBuilder = + null; + if (sentimentAnalysisResult_ != null) { + subBuilder = sentimentAnalysisResult_.toBuilder(); + } + sentimentAnalysisResult_ = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sentimentAnalysisResult_); + sentimentAnalysisResult_ = subBuilder.buildPartial(); + } + break; } default: @@ -327,8 +345,8 @@ public QueryCase getQueryCase() { * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-   * was provided as input, this field will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+   * will contain a copy of the text.
    * 
* * string text = 1; @@ -355,8 +373,8 @@ public java.lang.String getText() { * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-   * was provided as input, this field will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+   * will contain a copy of the text.
    * 
* * string text = 1; @@ -385,9 +403,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-   * provided as input, this field will contain a copy of the intent
-   * identifier.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+   * contain a copy of the intent identifier.
    * 
* * string trigger_intent = 11; @@ -414,9 +431,8 @@ public java.lang.String getTriggerIntent() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-   * provided as input, this field will contain a copy of the intent
-   * identifier.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+   * contain a copy of the intent identifier.
    * 
* * string trigger_intent = 11; @@ -445,9 +461,8 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *
-   * If [natural language speech
-   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-   * input, this field will contain the trascript for the audio.
+   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+   * this field will contain the trascript for the audio.
    * 
* * string transcript = 12; @@ -474,9 +489,8 @@ public java.lang.String getTranscript() { * * *
-   * If [natural language speech
-   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-   * input, this field will contain the trascript for the audio.
+   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+   * this field will contain the trascript for the audio.
    * 
* * string transcript = 12; @@ -505,8 +519,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *
-   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
-   * as input, this field will contain the name of the event.
+   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain
+   * the name of the event.
    * 
* * string trigger_event = 14; @@ -533,8 +547,8 @@ public java.lang.String getTriggerEvent() { * * *
-   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
-   * as input, this field will contain the name of the event.
+   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain
+   * the name of the event.
    * 
* * string trigger_event = 14; @@ -619,8 +633,7 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-   * The collected [session
-   * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+   * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -647,8 +660,7 @@ public boolean hasParameters() {
    *
    *
    * 
-   * The collected [session
-   * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+   * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -675,8 +687,7 @@ public com.google.protobuf.Struct getParameters() {
    *
    *
    * 
-   * The collected [session
-   * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+   * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -859,9 +870,8 @@ public com.google.rpc.StatusOrBuilder getWebhookStatusesOrBuilder(int index) {
    *
    *
    * 
-   * The list of webhook payload in
-   * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-   * in the order of call sequence. If some webhook call fails or doesn't return
+   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+   * the order of call sequence. If some webhook call fails or doesn't return
    * any payload, an empty `Struct` would be used instead.
    * 
* @@ -875,9 +885,8 @@ public java.util.List getWebhookPayloadsList() { * * *
-   * The list of webhook payload in
-   * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-   * in the order of call sequence. If some webhook call fails or doesn't return
+   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+   * the order of call sequence. If some webhook call fails or doesn't return
    * any payload, an empty `Struct` would be used instead.
    * 
* @@ -892,9 +901,8 @@ public java.util.List getWebhookPayloadsList() { * * *
-   * The list of webhook payload in
-   * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-   * in the order of call sequence. If some webhook call fails or doesn't return
+   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+   * the order of call sequence. If some webhook call fails or doesn't return
    * any payload, an empty `Struct` would be used instead.
    * 
* @@ -908,9 +916,8 @@ public int getWebhookPayloadsCount() { * * *
-   * The list of webhook payload in
-   * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-   * in the order of call sequence. If some webhook call fails or doesn't return
+   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+   * the order of call sequence. If some webhook call fails or doesn't return
    * any payload, an empty `Struct` would be used instead.
    * 
* @@ -924,9 +931,8 @@ public com.google.protobuf.Struct getWebhookPayloads(int index) { * * *
-   * The list of webhook payload in
-   * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-   * in the order of call sequence. If some webhook call fails or doesn't return
+   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+   * the order of call sequence. If some webhook call fails or doesn't return
    * any payload, an empty `Struct` would be used instead.
    * 
* @@ -943,9 +949,8 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -960,9 +965,8 @@ public boolean hasCurrentPage() { * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -979,9 +983,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page getCurrentPage() { * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -997,12 +1000,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getCurrentPageOrBuil * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * conversational query. Some, not all fields are filled in this message,
-   * including but not limited to: `name` and `display_name`. This field is
-   * deprecated, please use
-   * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-   * instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+   * are filled in this message, including but not limited to: `name` and
+   * `display_name`.
+   * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -1018,12 +1019,10 @@ public boolean hasIntent() { * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * conversational query. Some, not all fields are filled in this message,
-   * including but not limited to: `name` and `display_name`. This field is
-   * deprecated, please use
-   * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-   * instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+   * are filled in this message, including but not limited to: `name` and
+   * `display_name`.
+   * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -1041,12 +1040,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent getIntent() { * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * conversational query. Some, not all fields are filled in this message,
-   * including but not limited to: `name` and `display_name`. This field is
-   * deprecated, please use
-   * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-   * instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+   * are filled in this message, including but not limited to: `name` and
+   * `display_name`.
+   * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -1069,9 +1066,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentOrBuilder * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. *
* * float intent_detection_confidence = 9 [deprecated = true]; @@ -1186,6 +1181,68 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() { return getDiagnosticInfo(); } + public static final int SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER = 17; + private com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentimentAnalysisResult_; + /** + * + * + *
+   * The sentiment analyss result, which depends on
+   * [`analyze_query_text_sentiment`]
+   * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + * + * @return Whether the sentimentAnalysisResult field is set. + */ + @java.lang.Override + public boolean hasSentimentAnalysisResult() { + return sentimentAnalysisResult_ != null; + } + /** + * + * + *
+   * The sentiment analyss result, which depends on
+   * [`analyze_query_text_sentiment`]
+   * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + * + * @return The sentimentAnalysisResult. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult + getSentimentAnalysisResult() { + return sentimentAnalysisResult_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.getDefaultInstance() + : sentimentAnalysisResult_; + } + /** + * + * + *
+   * The sentiment analyss result, which depends on
+   * [`analyze_query_text_sentiment`]
+   * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder + getSentimentAnalysisResultOrBuilder() { + return getSentimentAnalysisResult(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1242,6 +1299,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (match_ != null) { output.writeMessage(15, getMatch()); } + if (sentimentAnalysisResult_ != null) { + output.writeMessage(17, getSentimentAnalysisResult()); + } unknownFields.writeTo(output); } @@ -1293,6 +1353,11 @@ public int getSerializedSize() { if (match_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getMatch()); } + if (sentimentAnalysisResult_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 17, getSentimentAnalysisResult()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1335,6 +1400,10 @@ public boolean equals(final java.lang.Object obj) { if (hasDiagnosticInfo()) { if (!getDiagnosticInfo().equals(other.getDiagnosticInfo())) return false; } + if (hasSentimentAnalysisResult() != other.hasSentimentAnalysisResult()) return false; + if (hasSentimentAnalysisResult()) { + if (!getSentimentAnalysisResult().equals(other.getSentimentAnalysisResult())) return false; + } if (!getQueryCase().equals(other.getQueryCase())) return false; switch (queryCase_) { case 1: @@ -1399,6 +1468,10 @@ public int hashCode() { hash = (37 * hash) + DIAGNOSTIC_INFO_FIELD_NUMBER; hash = (53 * hash) + getDiagnosticInfo().hashCode(); } + if (hasSentimentAnalysisResult()) { + hash = (37 * hash) + SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER; + hash = (53 * hash) + getSentimentAnalysisResult().hashCode(); + } switch (queryCase_) { case 1: hash = (37 * hash) + TEXT_FIELD_NUMBER; @@ -1620,6 +1693,12 @@ public Builder clear() { diagnosticInfo_ = null; diagnosticInfoBuilder_ = null; } + if (sentimentAnalysisResultBuilder_ == null) { + sentimentAnalysisResult_ = null; + } else { + sentimentAnalysisResult_ = null; + sentimentAnalysisResultBuilder_ = null; + } queryCase_ = 0; query_ = null; return this; @@ -1716,6 +1795,11 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryResult buildPartial() { } else { result.diagnosticInfo_ = diagnosticInfoBuilder_.build(); } + if (sentimentAnalysisResultBuilder_ == null) { + result.sentimentAnalysisResult_ = sentimentAnalysisResult_; + } else { + result.sentimentAnalysisResult_ = sentimentAnalysisResultBuilder_.build(); + } result.queryCase_ = queryCase_; onBuilt(); return result; @@ -1870,6 +1954,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.QueryResult othe if (other.hasDiagnosticInfo()) { mergeDiagnosticInfo(other.getDiagnosticInfo()); } + if (other.hasSentimentAnalysisResult()) { + mergeSentimentAnalysisResult(other.getSentimentAnalysisResult()); + } switch (other.getQueryCase()) { case TEXT: { @@ -1954,8 +2041,8 @@ public Builder clearQuery() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-     * was provided as input, this field will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+     * will contain a copy of the text.
      * 
* * string text = 1; @@ -1983,8 +2070,8 @@ public java.lang.String getText() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-     * was provided as input, this field will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+     * will contain a copy of the text.
      * 
* * string text = 1; @@ -2012,8 +2099,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-     * was provided as input, this field will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+     * will contain a copy of the text.
      * 
* * string text = 1; @@ -2034,8 +2121,8 @@ public Builder setText(java.lang.String value) { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-     * was provided as input, this field will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+     * will contain a copy of the text.
      * 
* * string text = 1; @@ -2054,8 +2141,8 @@ public Builder clearText() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-     * was provided as input, this field will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+     * will contain a copy of the text.
      * 
* * string text = 1; @@ -2078,9 +2165,8 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-     * provided as input, this field will contain a copy of the intent
-     * identifier.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+     * contain a copy of the intent identifier.
      * 
* * string trigger_intent = 11; @@ -2108,9 +2194,8 @@ public java.lang.String getTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-     * provided as input, this field will contain a copy of the intent
-     * identifier.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+     * contain a copy of the intent identifier.
      * 
* * string trigger_intent = 11; @@ -2138,9 +2223,8 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-     * provided as input, this field will contain a copy of the intent
-     * identifier.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+     * contain a copy of the intent identifier.
      * 
* * string trigger_intent = 11; @@ -2161,9 +2245,8 @@ public Builder setTriggerIntent(java.lang.String value) { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-     * provided as input, this field will contain a copy of the intent
-     * identifier.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+     * contain a copy of the intent identifier.
      * 
* * string trigger_intent = 11; @@ -2182,9 +2265,8 @@ public Builder clearTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-     * provided as input, this field will contain a copy of the intent
-     * identifier.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+     * contain a copy of the intent identifier.
      * 
* * string trigger_intent = 11; @@ -2207,9 +2289,8 @@ public Builder setTriggerIntentBytes(com.google.protobuf.ByteString value) { * * *
-     * If [natural language speech
-     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-     * input, this field will contain the trascript for the audio.
+     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+     * this field will contain the trascript for the audio.
      * 
* * string transcript = 12; @@ -2237,9 +2318,8 @@ public java.lang.String getTranscript() { * * *
-     * If [natural language speech
-     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-     * input, this field will contain the trascript for the audio.
+     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+     * this field will contain the trascript for the audio.
      * 
* * string transcript = 12; @@ -2267,9 +2347,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *
-     * If [natural language speech
-     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-     * input, this field will contain the trascript for the audio.
+     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+     * this field will contain the trascript for the audio.
      * 
* * string transcript = 12; @@ -2290,9 +2369,8 @@ public Builder setTranscript(java.lang.String value) { * * *
-     * If [natural language speech
-     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-     * input, this field will contain the trascript for the audio.
+     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+     * this field will contain the trascript for the audio.
      * 
* * string transcript = 12; @@ -2311,9 +2389,8 @@ public Builder clearTranscript() { * * *
-     * If [natural language speech
-     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-     * input, this field will contain the trascript for the audio.
+     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+     * this field will contain the trascript for the audio.
      * 
* * string transcript = 12; @@ -2336,8 +2413,8 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
-     * as input, this field will contain the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain
+     * the name of the event.
      * 
* * string trigger_event = 14; @@ -2365,8 +2442,8 @@ public java.lang.String getTriggerEvent() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
-     * as input, this field will contain the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain
+     * the name of the event.
      * 
* * string trigger_event = 14; @@ -2394,8 +2471,8 @@ public com.google.protobuf.ByteString getTriggerEventBytes() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
-     * as input, this field will contain the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain
+     * the name of the event.
      * 
* * string trigger_event = 14; @@ -2416,8 +2493,8 @@ public Builder setTriggerEvent(java.lang.String value) { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
-     * as input, this field will contain the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain
+     * the name of the event.
      * 
* * string trigger_event = 14; @@ -2436,8 +2513,8 @@ public Builder clearTriggerEvent() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
-     * as input, this field will contain the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain
+     * the name of the event.
      * 
* * string trigger_event = 14; @@ -2587,8 +2664,7 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { * * *
-     * The collected [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -2614,8 +2690,7 @@ public boolean hasParameters() {
      *
      *
      * 
-     * The collected [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -2645,8 +2720,7 @@ public com.google.protobuf.Struct getParameters() {
      *
      *
      * 
-     * The collected [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -2680,8 +2754,7 @@ public Builder setParameters(com.google.protobuf.Struct value) {
      *
      *
      * 
-     * The collected [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -2712,8 +2785,7 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue)
      *
      *
      * 
-     * The collected [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -2749,8 +2821,7 @@ public Builder mergeParameters(com.google.protobuf.Struct value) {
      *
      *
      * 
-     * The collected [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -2782,8 +2853,7 @@ public Builder clearParameters() {
      *
      *
      * 
-     * The collected [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -2809,8 +2879,7 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() {
      *
      *
      * 
-     * The collected [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -2838,8 +2907,7 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() {
      *
      *
      * 
-     * The collected [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -3657,9 +3725,8 @@ private void ensureWebhookPayloadsIsMutable() {
      *
      *
      * 
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3676,9 +3743,8 @@ public java.util.List getWebhookPayloadsList() { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3695,9 +3761,8 @@ public int getWebhookPayloadsCount() { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3714,9 +3779,8 @@ public com.google.protobuf.Struct getWebhookPayloads(int index) { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3739,9 +3803,8 @@ public Builder setWebhookPayloads(int index, com.google.protobuf.Struct value) { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3762,9 +3825,8 @@ public Builder setWebhookPayloads( * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3787,9 +3849,8 @@ public Builder addWebhookPayloads(com.google.protobuf.Struct value) { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3812,9 +3873,8 @@ public Builder addWebhookPayloads(int index, com.google.protobuf.Struct value) { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3834,9 +3894,8 @@ public Builder addWebhookPayloads(com.google.protobuf.Struct.Builder builderForV * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3857,9 +3916,8 @@ public Builder addWebhookPayloads( * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3880,9 +3938,8 @@ public Builder addAllWebhookPayloads( * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3902,9 +3959,8 @@ public Builder clearWebhookPayloads() { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3924,9 +3980,8 @@ public Builder removeWebhookPayloads(int index) { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3939,9 +3994,8 @@ public com.google.protobuf.Struct.Builder getWebhookPayloadsBuilder(int index) { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3958,9 +4012,8 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3978,9 +4031,8 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -3994,9 +4046,8 @@ public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder() { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -4010,9 +4061,8 @@ public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder(int index) { * * *
-     * The list of webhook payload in
-     * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-     * in the order of call sequence. If some webhook call fails or doesn't return
+     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+     * the order of call sequence. If some webhook call fails or doesn't return
      * any payload, an empty `Struct` would be used instead.
      * 
* @@ -4052,9 +4102,8 @@ public java.util.List getWebhookPayloadsBuil * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -4068,9 +4117,8 @@ public boolean hasCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -4090,9 +4138,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page getCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -4114,9 +4161,8 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3beta1.Page value) * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -4136,9 +4182,8 @@ public Builder setCurrentPage( * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -4164,9 +4209,8 @@ public Builder mergeCurrentPage(com.google.cloud.dialogflow.cx.v3beta1.Page valu * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -4186,9 +4230,8 @@ public Builder clearCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -4202,9 +4245,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page.Builder getCurrentPageBuilder * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -4222,9 +4264,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getCurrentPageOrBuil * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-     * fields are filled in this message, including but not limited to `name` and
-     * `display_name`.
+     * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+     * including but not limited to `name` and `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -4256,12 +4297,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getCurrentPageOrBuil * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * conversational query. Some, not all fields are filled in this message,
-     * including but not limited to: `name` and `display_name`. This field is
-     * deprecated, please use
-     * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-     * instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+     * are filled in this message, including but not limited to: `name` and
+     * `display_name`.
+     * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -4276,12 +4315,10 @@ public boolean hasIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * conversational query. Some, not all fields are filled in this message,
-     * including but not limited to: `name` and `display_name`. This field is
-     * deprecated, please use
-     * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-     * instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+     * are filled in this message, including but not limited to: `name` and
+     * `display_name`.
+     * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -4302,12 +4339,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent getIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * conversational query. Some, not all fields are filled in this message,
-     * including but not limited to: `name` and `display_name`. This field is
-     * deprecated, please use
-     * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-     * instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+     * are filled in this message, including but not limited to: `name` and
+     * `display_name`.
+     * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -4330,12 +4365,10 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3beta1.Intent value) { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * conversational query. Some, not all fields are filled in this message,
-     * including but not limited to: `name` and `display_name`. This field is
-     * deprecated, please use
-     * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-     * instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+     * are filled in this message, including but not limited to: `name` and
+     * `display_name`.
+     * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -4356,12 +4389,10 @@ public Builder setIntent( * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * conversational query. Some, not all fields are filled in this message,
-     * including but not limited to: `name` and `display_name`. This field is
-     * deprecated, please use
-     * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-     * instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+     * are filled in this message, including but not limited to: `name` and
+     * `display_name`.
+     * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -4388,12 +4419,10 @@ public Builder mergeIntent(com.google.cloud.dialogflow.cx.v3beta1.Intent value) * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * conversational query. Some, not all fields are filled in this message,
-     * including but not limited to: `name` and `display_name`. This field is
-     * deprecated, please use
-     * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-     * instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+     * are filled in this message, including but not limited to: `name` and
+     * `display_name`.
+     * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -4414,12 +4443,10 @@ public Builder clearIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * conversational query. Some, not all fields are filled in this message,
-     * including but not limited to: `name` and `display_name`. This field is
-     * deprecated, please use
-     * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-     * instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+     * are filled in this message, including but not limited to: `name` and
+     * `display_name`.
+     * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -4434,12 +4461,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder getIntentBuilder() * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * conversational query. Some, not all fields are filled in this message,
-     * including but not limited to: `name` and `display_name`. This field is
-     * deprecated, please use
-     * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-     * instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+     * are filled in this message, including but not limited to: `name` and
+     * `display_name`.
+     * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -4458,12 +4483,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentOrBuilder * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-     * conversational query. Some, not all fields are filled in this message,
-     * including but not limited to: `name` and `display_name`. This field is
-     * deprecated, please use
-     * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-     * instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+     * are filled in this message, including but not limited to: `name` and
+     * `display_name`.
+     * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -4496,9 +4519,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentOrBuilder * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. *
* * float intent_detection_confidence = 9 [deprecated = true]; @@ -4520,9 +4541,7 @@ public float getIntentDetectionConfidence() { * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. *
* * float intent_detection_confidence = 9 [deprecated = true]; @@ -4547,9 +4566,7 @@ public Builder setIntentDetectionConfidence(float value) { * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. *
* * float intent_detection_confidence = 9 [deprecated = true]; @@ -4952,6 +4969,234 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() { return diagnosticInfoBuilder_; } + private com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentimentAnalysisResult_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult, + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder, + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder> + sentimentAnalysisResultBuilder_; + /** + * + * + *
+     * The sentiment analyss result, which depends on
+     * [`analyze_query_text_sentiment`]
+     * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + * + * @return Whether the sentimentAnalysisResult field is set. + */ + public boolean hasSentimentAnalysisResult() { + return sentimentAnalysisResultBuilder_ != null || sentimentAnalysisResult_ != null; + } + /** + * + * + *
+     * The sentiment analyss result, which depends on
+     * [`analyze_query_text_sentiment`]
+     * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + * + * @return The sentimentAnalysisResult. + */ + public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult + getSentimentAnalysisResult() { + if (sentimentAnalysisResultBuilder_ == null) { + return sentimentAnalysisResult_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.getDefaultInstance() + : sentimentAnalysisResult_; + } else { + return sentimentAnalysisResultBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The sentiment analyss result, which depends on
+     * [`analyze_query_text_sentiment`]
+     * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + */ + public Builder setSentimentAnalysisResult( + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult value) { + if (sentimentAnalysisResultBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + sentimentAnalysisResult_ = value; + onChanged(); + } else { + sentimentAnalysisResultBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The sentiment analyss result, which depends on
+     * [`analyze_query_text_sentiment`]
+     * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + */ + public Builder setSentimentAnalysisResult( + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder builderForValue) { + if (sentimentAnalysisResultBuilder_ == null) { + sentimentAnalysisResult_ = builderForValue.build(); + onChanged(); + } else { + sentimentAnalysisResultBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The sentiment analyss result, which depends on
+     * [`analyze_query_text_sentiment`]
+     * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + */ + public Builder mergeSentimentAnalysisResult( + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult value) { + if (sentimentAnalysisResultBuilder_ == null) { + if (sentimentAnalysisResult_ != null) { + sentimentAnalysisResult_ = + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.newBuilder( + sentimentAnalysisResult_) + .mergeFrom(value) + .buildPartial(); + } else { + sentimentAnalysisResult_ = value; + } + onChanged(); + } else { + sentimentAnalysisResultBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The sentiment analyss result, which depends on
+     * [`analyze_query_text_sentiment`]
+     * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + */ + public Builder clearSentimentAnalysisResult() { + if (sentimentAnalysisResultBuilder_ == null) { + sentimentAnalysisResult_ = null; + onChanged(); + } else { + sentimentAnalysisResult_ = null; + sentimentAnalysisResultBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The sentiment analyss result, which depends on
+     * [`analyze_query_text_sentiment`]
+     * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder + getSentimentAnalysisResultBuilder() { + + onChanged(); + return getSentimentAnalysisResultFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The sentiment analyss result, which depends on
+     * [`analyze_query_text_sentiment`]
+     * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder + getSentimentAnalysisResultOrBuilder() { + if (sentimentAnalysisResultBuilder_ != null) { + return sentimentAnalysisResultBuilder_.getMessageOrBuilder(); + } else { + return sentimentAnalysisResult_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.getDefaultInstance() + : sentimentAnalysisResult_; + } + } + /** + * + * + *
+     * The sentiment analyss result, which depends on
+     * [`analyze_query_text_sentiment`]
+     * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult, + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder, + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder> + getSentimentAnalysisResultFieldBuilder() { + if (sentimentAnalysisResultBuilder_ == null) { + sentimentAnalysisResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult, + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder, + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder>( + getSentimentAnalysisResult(), getParentForChildren(), isClean()); + sentimentAnalysisResult_ = null; + } + return sentimentAnalysisResultBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResultOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResultOrBuilder.java index a5d685fd8..df71a6807 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResultOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResultOrBuilder.java @@ -27,8 +27,8 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-   * was provided as input, this field will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+   * will contain a copy of the text.
    * 
* * string text = 1; @@ -40,8 +40,8 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
-   * was provided as input, this field will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field
+   * will contain a copy of the text.
    * 
* * string text = 1; @@ -54,9 +54,8 @@ public interface QueryResultOrBuilder * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-   * provided as input, this field will contain a copy of the intent
-   * identifier.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+   * contain a copy of the intent identifier.
    * 
* * string trigger_intent = 11; @@ -68,9 +67,8 @@ public interface QueryResultOrBuilder * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
-   * provided as input, this field will contain a copy of the intent
-   * identifier.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+   * contain a copy of the intent identifier.
    * 
* * string trigger_intent = 11; @@ -83,9 +81,8 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language speech
-   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-   * input, this field will contain the trascript for the audio.
+   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+   * this field will contain the trascript for the audio.
    * 
* * string transcript = 12; @@ -97,9 +94,8 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language speech
-   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
-   * input, this field will contain the trascript for the audio.
+   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+   * this field will contain the trascript for the audio.
    * 
* * string transcript = 12; @@ -112,8 +108,8 @@ public interface QueryResultOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
-   * as input, this field will contain the name of the event.
+   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain
+   * the name of the event.
    * 
* * string trigger_event = 14; @@ -125,8 +121,8 @@ public interface QueryResultOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
-   * as input, this field will contain the name of the event.
+   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain
+   * the name of the event.
    * 
* * string trigger_event = 14; @@ -170,8 +166,7 @@ public interface QueryResultOrBuilder * * *
-   * The collected [session
-   * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+   * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -195,8 +190,7 @@ public interface QueryResultOrBuilder
    *
    *
    * 
-   * The collected [session
-   * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+   * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -220,8 +214,7 @@ public interface QueryResultOrBuilder
    *
    *
    * 
-   * The collected [session
-   * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+   * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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:
@@ -363,9 +356,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa
    *
    *
    * 
-   * The list of webhook payload in
-   * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-   * in the order of call sequence. If some webhook call fails or doesn't return
+   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+   * the order of call sequence. If some webhook call fails or doesn't return
    * any payload, an empty `Struct` would be used instead.
    * 
* @@ -376,9 +368,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *
-   * The list of webhook payload in
-   * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-   * in the order of call sequence. If some webhook call fails or doesn't return
+   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+   * the order of call sequence. If some webhook call fails or doesn't return
    * any payload, an empty `Struct` would be used instead.
    * 
* @@ -389,9 +380,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *
-   * The list of webhook payload in
-   * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-   * in the order of call sequence. If some webhook call fails or doesn't return
+   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+   * the order of call sequence. If some webhook call fails or doesn't return
    * any payload, an empty `Struct` would be used instead.
    * 
* @@ -402,9 +392,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *
-   * The list of webhook payload in
-   * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-   * in the order of call sequence. If some webhook call fails or doesn't return
+   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+   * the order of call sequence. If some webhook call fails or doesn't return
    * any payload, an empty `Struct` would be used instead.
    * 
* @@ -415,9 +404,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *
-   * The list of webhook payload in
-   * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
-   * in the order of call sequence. If some webhook call fails or doesn't return
+   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in
+   * the order of call sequence. If some webhook call fails or doesn't return
    * any payload, an empty `Struct` would be used instead.
    * 
* @@ -429,9 +417,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -443,9 +430,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -457,9 +443,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
-   * fields are filled in this message, including but not limited to `name` and
-   * `display_name`.
+   * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message,
+   * including but not limited to `name` and `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Page current_page = 7; @@ -470,12 +455,10 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * conversational query. Some, not all fields are filled in this message,
-   * including but not limited to: `name` and `display_name`. This field is
-   * deprecated, please use
-   * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-   * instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+   * are filled in this message, including but not limited to: `name` and
+   * `display_name`.
+   * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -488,12 +471,10 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * conversational query. Some, not all fields are filled in this message,
-   * including but not limited to: `name` and `display_name`. This field is
-   * deprecated, please use
-   * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-   * instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+   * are filled in this message, including but not limited to: `name` and
+   * `display_name`.
+   * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -506,12 +487,10 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
-   * conversational query. Some, not all fields are filled in this message,
-   * including but not limited to: `name` and `display_name`. This field is
-   * deprecated, please use
-   * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
-   * instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields
+   * are filled in this message, including but not limited to: `name` and
+   * `display_name`.
+   * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true]; @@ -529,9 +508,7 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. *
* * float intent_detection_confidence = 9 [deprecated = true]; @@ -617,5 +594,53 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa */ com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder(); + /** + * + * + *
+   * The sentiment analyss result, which depends on
+   * [`analyze_query_text_sentiment`]
+   * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + * + * @return Whether the sentimentAnalysisResult field is set. + */ + boolean hasSentimentAnalysisResult(); + /** + * + * + *
+   * The sentiment analyss result, which depends on
+   * [`analyze_query_text_sentiment`]
+   * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + * + * @return The sentimentAnalysisResult. + */ + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult getSentimentAnalysisResult(); + /** + * + * + *
+   * The sentiment analyss result, which depends on
+   * [`analyze_query_text_sentiment`]
+   * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder + getSentimentAnalysisResultOrBuilder(); + public com.google.cloud.dialogflow.cx.v3beta1.QueryResult.QueryCase getQueryCase(); } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java index 51000c456..64da5a812 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java @@ -347,8 +347,8 @@ public interface TextOrBuilder * * *
-     * Output only. Whether the playback of this message can be interrupted by
-     * the end user's speech and the client can then starts the next Dialogflow
+     * Output only. Whether the playback of this message can be interrupted by the end
+     * user's speech and the client can then starts the next Dialogflow
      * request.
      * 
* @@ -531,8 +531,8 @@ public com.google.protobuf.ByteString getTextBytes(int index) { * * *
-     * Output only. Whether the playback of this message can be interrupted by
-     * the end user's speech and the client can then starts the next Dialogflow
+     * Output only. Whether the playback of this message can be interrupted by the end
+     * user's speech and the client can then starts the next Dialogflow
      * request.
      * 
* @@ -1081,8 +1081,8 @@ public Builder addTextBytes(com.google.protobuf.ByteString value) { * * *
-       * Output only. Whether the playback of this message can be interrupted by
-       * the end user's speech and the client can then starts the next Dialogflow
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
        * request.
        * 
* @@ -1099,8 +1099,8 @@ public boolean getAllowPlaybackInterruption() { * * *
-       * Output only. Whether the playback of this message can be interrupted by
-       * the end user's speech and the client can then starts the next Dialogflow
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
        * request.
        * 
* @@ -1120,8 +1120,8 @@ public Builder setAllowPlaybackInterruption(boolean value) { * * *
-       * Output only. Whether the playback of this message can be interrupted by
-       * the end user's speech and the client can then starts the next Dialogflow
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
        * request.
        * 
* @@ -1242,9 +1242,7 @@ public interface LiveAgentHandoffOrBuilder * to a human agent for measurement purposes. What else to do with this signal * is up to you and your handoff procedures. * You may set this, for example: - * * In the - * [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] - * of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if + * * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if * entering the page indicates something went extremely wrong in the * conversation. * * In a webhook response when you determine that the customer issue can only @@ -1570,9 +1568,7 @@ protected Builder newBuilderForType( * to a human agent for measurement purposes. What else to do with this signal * is up to you and your handoff procedures. * You may set this, for example: - * * In the - * [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] - * of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if + * * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if * entering the page indicates something went extremely wrong in the * conversation. * * In a webhook response when you determine that the customer issue can only @@ -2049,9 +2045,7 @@ public interface ConversationSuccessOrBuilder * conversation end page as successful even if they don't return * [ConversationSuccess][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess]. * You may set this, for example: - * * In the - * [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] - * of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if + * * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if * entering the page indicates that the conversation succeeded. * * In a webhook response when you determine that you handled the customer * issue. @@ -2381,9 +2375,7 @@ protected Builder newBuilderForType( * conversation end page as successful even if they don't return * [ConversationSuccess][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess]. * You may set this, for example: - * * In the - * [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] - * of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if + * * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if * entering the page indicates that the conversation succeeded. * * In a webhook response when you determine that you handled the customer * issue. @@ -2855,6 +2847,22 @@ public interface OutputAudioTextOrBuilder */ com.google.protobuf.ByteString getSsmlBytes(); + /** + * + * + *
+     * Output only. Whether the playback of this message can be interrupted by the end
+     * user's speech and the client can then starts the next Dialogflow
+     * request.
+     * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ + boolean getAllowPlaybackInterruption(); + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText.SourceCase getSourceCase(); } @@ -2923,6 +2931,11 @@ private OutputAudioText( source_ = s; break; } + case 24: + { + allowPlaybackInterruption_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -3118,6 +3131,27 @@ public com.google.protobuf.ByteString getSsmlBytes() { } } + public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 3; + private boolean allowPlaybackInterruption_; + /** + * + * + *
+     * Output only. Whether the playback of this message can be interrupted by the end
+     * user's speech and the client can then starts the next Dialogflow
+     * request.
+     * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ + @java.lang.Override + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3138,6 +3172,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (sourceCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); } + if (allowPlaybackInterruption_ != false) { + output.writeBool(3, allowPlaybackInterruption_); + } unknownFields.writeTo(output); } @@ -3153,6 +3190,10 @@ public int getSerializedSize() { if (sourceCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); } + if (allowPlaybackInterruption_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowPlaybackInterruption_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3170,6 +3211,7 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText other = (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText) obj; + if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: @@ -3192,6 +3234,8 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption()); switch (sourceCase_) { case 1: hash = (37 * hash) + TEXT_FIELD_NUMBER; @@ -3356,6 +3400,8 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + allowPlaybackInterruption_ = false; + sourceCase_ = 0; source_ = null; return this; @@ -3394,6 +3440,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText bu if (sourceCase_ == 2) { result.source_ = source_; } + result.allowPlaybackInterruption_ = allowPlaybackInterruption_; result.sourceCase_ = sourceCase_; onBuilt(); return result; @@ -3451,6 +3498,9 @@ public Builder mergeFrom( if (other == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText .getDefaultInstance()) return this; + if (other.getAllowPlaybackInterruption() != false) { + setAllowPlaybackInterruption(other.getAllowPlaybackInterruption()); + } switch (other.getSourceCase()) { case TEXT: { @@ -3759,6 +3809,67 @@ public Builder setSsmlBytes(com.google.protobuf.ByteString value) { return this; } + private boolean allowPlaybackInterruption_; + /** + * + * + *
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ + @java.lang.Override + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; + } + /** + * + * + *
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The allowPlaybackInterruption to set. + * @return This builder for chaining. + */ + public Builder setAllowPlaybackInterruption(boolean value) { + + allowPlaybackInterruption_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearAllowPlaybackInterruption() { + + allowPlaybackInterruption_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4281,111 +4392,81 @@ public com.google.protobuf.Parser getParserForType() { } } - public interface MixedAudioOrBuilder + public interface PlayAudioOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) com.google.protobuf.MessageOrBuilder { /** * * *
-     * Segments this audio response is composed of.
+     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+     * value. It is specific to the client that reads it.
      * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - java.util.List - getSegmentsList(); - /** - * - * - *
-     * Segments this audio response is composed of.
-     * 
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * + * @return The audioUri. */ - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( - int index); + java.lang.String getAudioUri(); /** * * *
-     * Segments this audio response is composed of.
+     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+     * value. It is specific to the client that reads it.
      * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - int getSegmentsCount(); - /** - * - * - *
-     * Segments this audio response is composed of.
-     * 
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * + * @return The bytes for audioUri. */ - java.util.List< - ? extends - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> - getSegmentsOrBuilderList(); + com.google.protobuf.ByteString getAudioUriBytes(); + /** * * *
-     * Segments this audio response is composed of.
+     * Output only. Whether the playback of this message can be interrupted by the end
+     * user's speech and the client can then starts the next Dialogflow
+     * request.
      * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The allowPlaybackInterruption. */ - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder - getSegmentsOrBuilder(int index); + boolean getAllowPlaybackInterruption(); } /** * * *
-   * Represents an audio message that is composed of both segments
-   * synthesized from the Dialogflow agent prompts and ones hosted externally
-   * at the specified URIs.
-   * The external URIs are specified via
-   * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
-   * This message is generated by Dialogflow only and not supposed to be
-   * defined by the user.
+   * Specifies an audio clip to be played by the client as part of the response.
    * 
* - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio} + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio} */ - public static final class MixedAudio extends com.google.protobuf.GeneratedMessageV3 + public static final class PlayAudio extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) - MixedAudioOrBuilder { + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + PlayAudioOrBuilder { private static final long serialVersionUID = 0L; - // Use MixedAudio.newBuilder() to construct. - private MixedAudio(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use PlayAudio.newBuilder() to construct. + private PlayAudio(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MixedAudio() { - segments_ = java.util.Collections.emptyList(); + private PlayAudio() { + audioUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MixedAudio(); + return new PlayAudio(); } @java.lang.Override @@ -4393,7 +4474,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private MixedAudio( + private PlayAudio( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4401,7 +4482,6 @@ private MixedAudio( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -4414,18 +4494,14 @@ private MixedAudio( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - .Segment>(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - .parser(), - extensionRegistry)); + java.lang.String s = input.readStringRequireUtf8(); + + audioUri_ = s; + break; + } + case 16: + { + allowPlaybackInterruption_ = input.readBool(); break; } default: @@ -4442,9 +4518,6 @@ private MixedAudio( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = java.util.Collections.unmodifiableList(segments_); - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -4452,2217 +4525,1975 @@ private MixedAudio( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class); + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class); } - public interface SegmentOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-       * Raw audio synthesized from the Dialogflow agent's response using
-       * the output config specified in the request.
-       * 
- * - * bytes audio = 1; - * - * @return The audio. - */ - com.google.protobuf.ByteString getAudio(); - - /** - * - * - *
-       * Client-specific URI that points to an audio clip accessible to the
-       * client. Dialogflow does not impose any validation on it.
-       * 
- * - * string uri = 2; - * - * @return The uri. - */ - java.lang.String getUri(); - /** - * - * - *
-       * Client-specific URI that points to an audio clip accessible to the
-       * client. Dialogflow does not impose any validation on it.
-       * 
- * - * string uri = 2; - * - * @return The bytes for uri. - */ - com.google.protobuf.ByteString getUriBytes(); - - /** - * - * - *
-       * Output only. Whether the playback of this segment can be interrupted by
-       * the end user's speech and the client should then start the next
-       * Dialogflow request.
-       * 
- * - * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The allowPlaybackInterruption. - */ - boolean getAllowPlaybackInterruption(); - - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.ContentCase - getContentCase(); + public static final int AUDIO_URI_FIELD_NUMBER = 1; + private volatile java.lang.Object audioUri_; + /** + * + * + *
+     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+     * value. It is specific to the client that reads it.
+     * 
+ * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The audioUri. + */ + @java.lang.Override + public java.lang.String getAudioUri() { + java.lang.Object ref = audioUri_; + 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(); + audioUri_ = s; + return s; + } } /** * * *
-     * Represents one segment of audio.
+     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+     * value. It is specific to the client that reads it.
      * 
* - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment} + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for audioUri. */ - public static final class Segment extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) - SegmentOrBuilder { - private static final long serialVersionUID = 0L; - // Use Segment.newBuilder() to construct. - private Segment(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); + @java.lang.Override + public com.google.protobuf.ByteString getAudioUriBytes() { + java.lang.Object ref = audioUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + audioUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } + } - private Segment() {} + public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 2; + private boolean allowPlaybackInterruption_; + /** + * + * + *
+     * Output only. Whether the playback of this message can be interrupted by the end
+     * user's speech and the client can then starts the next Dialogflow
+     * request.
+     * 
+ * + * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ + @java.lang.Override + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Segment(); - } + private byte memoizedIsInitialized = -1; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; + @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 (!getAudioUriBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, audioUri_); + } + if (allowPlaybackInterruption_ != false) { + output.writeBool(2, allowPlaybackInterruption_); } + unknownFields.writeTo(output); + } - private Segment( - 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: - { - contentCase_ = 1; - content_ = input.readBytes(); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - contentCase_ = 2; - content_ = s; - break; - } - case 24: - { - allowPlaybackInterruption_ = input.readBool(); - 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(); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getAudioUriBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, audioUri_); + } + if (allowPlaybackInterruption_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowPlaybackInterruption_); } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)) { + return super.equals(obj); } + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) obj; - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - .class); + if (!getAudioUri().equals(other.getAudioUri())) return false; + if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) 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) + AUDIO_URI_FIELD_NUMBER; + hash = (53 * hash) + getAudioUri().hashCode(); + hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } - private int contentCase_ = 0; - private java.lang.Object content_; + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - public enum ContentCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - AUDIO(1), - URI(2), - CONTENT_NOT_SET(0); - private final int value; + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - private ContentCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ContentCase valueOf(int value) { - return forNumber(value); - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - public static ContentCase forNumber(int value) { - switch (value) { - case 1: - return AUDIO; - case 2: - return URI; - case 0: - return CONTENT_NOT_SET; - default: - return null; - } - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - public int getNumber() { - return this.value; - } - }; + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - public ContentCase getContentCase() { - return ContentCase.forNumber(contentCase_); + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio 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.cx.v3beta1.ResponseMessage.PlayAudio + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + 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.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio 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.cx.v3beta1.ResponseMessage.PlayAudio 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; + } + /** + * + * + *
+     * Specifies an audio clip to be played by the client as part of the response.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudioOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; } - public static final int AUDIO_FIELD_NUMBER = 1; - /** - * - * - *
-       * Raw audio synthesized from the Dialogflow agent's response using
-       * the output config specified in the request.
-       * 
- * - * bytes audio = 1; - * - * @return The audio. - */ @java.lang.Override - public com.google.protobuf.ByteString getAudio() { - if (contentCase_ == 1) { - return (com.google.protobuf.ByteString) content_; - } - return com.google.protobuf.ByteString.EMPTY; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class); } - public static final int URI_FIELD_NUMBER = 2; - /** - * - * - *
-       * Client-specific URI that points to an audio clip accessible to the
-       * client. Dialogflow does not impose any validation on it.
-       * 
- * - * string uri = 2; - * - * @return The uri. - */ - public java.lang.String getUri() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - 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(); - if (contentCase_ == 2) { - content_ = s; - } - return s; - } + // Construct using + // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); } - /** - * - * - *
-       * Client-specific URI that points to an audio clip accessible to the
-       * client. Dialogflow does not impose any validation on it.
-       * 
- * - * string uri = 2; - * - * @return The bytes for uri. - */ - public com.google.protobuf.ByteString getUriBytes() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (contentCase_ == 2) { - content_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); } - public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 3; - private boolean allowPlaybackInterruption_; - /** - * - * - *
-       * Output only. Whether the playback of this segment can be interrupted by
-       * the end user's speech and the client should then start the next
-       * Dialogflow request.
-       * 
- * - * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The allowPlaybackInterruption. - */ - @java.lang.Override - public boolean getAllowPlaybackInterruption() { - return allowPlaybackInterruption_; + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - private byte memoizedIsInitialized = -1; + @java.lang.Override + public Builder clear() { + super.clear(); + audioUri_ = ""; + + allowPlaybackInterruption_ = false; + + return this; + } @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; + } - memoizedIsInitialized = 1; - return true; + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + .getDefaultInstance(); } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (contentCase_ == 1) { - output.writeBytes(1, (com.google.protobuf.ByteString) content_); - } - if (contentCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_); - } - if (allowPlaybackInterruption_ != false) { - output.writeBool(3, allowPlaybackInterruption_); + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio build() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } - unknownFields.writeTo(output); + return result; } @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (contentCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 1, (com.google.protobuf.ByteString) content_); - } - if (contentCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_); - } - if (allowPlaybackInterruption_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowPlaybackInterruption_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result = + new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio(this); + result.audioUri_ = audioUri_; + result.allowPlaybackInterruption_ = allowPlaybackInterruption_; + onBuilt(); + return result; } @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)) { - return super.equals(obj); - } - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) obj; - - if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false; - if (!getContentCase().equals(other.getContentCase())) return false; - switch (contentCase_) { - case 1: - if (!getAudio().equals(other.getAudio())) return false; - break; - case 2: - if (!getUri().equals(other.getUri())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; + public Builder clone() { + return super.clone(); } @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption()); - switch (contentCase_) { - case 1: - hash = (37 * hash) + AUDIO_FIELD_NUMBER; - hash = (53 * hash) + getAudio().hashCode(); - break; - case 2: - hash = (37 * hash) + URI_FIELD_NUMBER; - hash = (53 * hash) + getUri().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - 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 setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) other); + } else { + super.mergeFrom(other); + return this; + } } - public static Builder newBuilder( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + .getDefaultInstance()) return this; + if (!other.getAudioUri().isEmpty()) { + audioUri_ = other.audioUri_; + onChanged(); + } + if (other.getAllowPlaybackInterruption() != false) { + setAllowPlaybackInterruption(other.getAllowPlaybackInterruption()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; } @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + public final boolean isInitialized() { + return true; } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } + + private java.lang.Object audioUri_ = ""; /** * * *
-       * Represents one segment of audio.
+       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+       * value. It is specific to the client that reads it.
        * 
* - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment} + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The audioUri. */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; + public java.lang.String getAudioUri() { + java.lang.Object ref = audioUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audioUri_ = s; + return s; + } else { + return (java.lang.String) ref; } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - .class); + } + /** + * + * + *
+       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+       * value. It is specific to the client that reads it.
+       * 
+ * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for audioUri. + */ + public com.google.protobuf.ByteString getAudioUriBytes() { + java.lang.Object ref = audioUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + audioUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - - // Construct using - // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + } + /** + * + * + *
+       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+       * value. It is specific to the client that reads it.
+       * 
+ * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The audioUri to set. + * @return This builder for chaining. + */ + public Builder setAudioUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + audioUri_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+       * value. It is specific to the client that reads it.
+       * 
+ * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearAudioUri() { - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + audioUri_ = getDefaultInstance().getAudioUri(); + onChanged(); + return this; + } + /** + * + * + *
+       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+       * value. It is specific to the client that reads it.
+       * 
+ * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for audioUri to set. + * @return This builder for chaining. + */ + public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } + checkByteStringIsUtf8(value); - @java.lang.Override - public Builder clear() { - super.clear(); - allowPlaybackInterruption_ = false; + audioUri_ = value; + onChanged(); + return this; + } - contentCase_ = 0; - content_ = null; - return this; - } + private boolean allowPlaybackInterruption_; + /** + * + * + *
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ + @java.lang.Override + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; + } + /** + * + * + *
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The allowPlaybackInterruption to set. + * @return This builder for chaining. + */ + public Builder setAllowPlaybackInterruption(boolean value) { - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; - } + allowPlaybackInterruption_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearAllowPlaybackInterruption() { - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - getDefaultInstanceForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - .getDefaultInstance(); - } + allowPlaybackInterruption_ = false; + onChanged(); + return this; + } - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment build() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - buildPartial() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result = - new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment(this); - if (contentCase_ == 1) { - result.content_ = content_; - } - if (contentCase_ == 2) { - result.content_ = content_; - } - result.allowPlaybackInterruption_ = allowPlaybackInterruption_; - result.contentCase_ = contentCase_; - onBuilt(); - return result; - } + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + DEFAULT_INSTANCE; - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio(); + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayAudio parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayAudio(input, extensionRegistry); + } + }; - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) { - return mergeFrom( - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public Builder mergeFrom( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other) { - if (other - == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - .getDefaultInstance()) return this; - if (other.getAllowPlaybackInterruption() != false) { - setAllowPlaybackInterruption(other.getAllowPlaybackInterruption()); - } - switch (other.getContentCase()) { - case AUDIO: - { - setAudio(other.getAudio()); - break; - } - case URI: + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface MixedAudioOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + java.util.List + getSegmentsList(); + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( + int index); + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + int getSegmentsCount(); + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> + getSegmentsOrBuilderList(); + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder + getSegmentsOrBuilder(int index); + } + /** + * + * + *
+   * Represents an audio message that is composed of both segments
+   * synthesized from the Dialogflow agent prompts and ones hosted externally
+   * at the specified URIs.
+   * The external URIs are specified via
+   * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
+   * This message is generated by Dialogflow only and not supposed to be
+   * defined by the user.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio} + */ + public static final class MixedAudio extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + MixedAudioOrBuilder { + private static final long serialVersionUID = 0L; + // Use MixedAudio.newBuilder() to construct. + private MixedAudio(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MixedAudio() { + segments_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MixedAudio(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private MixedAudio( + 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: { - contentCase_ = 2; - content_ = other.content_; - onChanged(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + .Segment>(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + .parser(), + extensionRegistry)); break; } - case CONTENT_NOT_SET: + default: { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } - 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment parsedMessage = - null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; + } 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)) { + segments_ = java.util.Collections.unmodifiableList(segments_); } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } - private int contentCase_ = 0; - private java.lang.Object content_; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; + } - public ContentCase getContentCase() { - return ContentCase.forNumber(contentCase_); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class); + } - public Builder clearContent() { - contentCase_ = 0; - content_ = null; - onChanged(); - return this; - } + public interface SegmentOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + com.google.protobuf.MessageOrBuilder { - /** - * - * - *
-         * Raw audio synthesized from the Dialogflow agent's response using
-         * the output config specified in the request.
-         * 
- * - * bytes audio = 1; - * - * @return The audio. - */ - public com.google.protobuf.ByteString getAudio() { - if (contentCase_ == 1) { - return (com.google.protobuf.ByteString) content_; - } - return com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+       * Raw audio synthesized from the Dialogflow agent's response using
+       * the output config specified in the request.
+       * 
+ * + * bytes audio = 1; + * + * @return The audio. + */ + com.google.protobuf.ByteString getAudio(); + + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client. Dialogflow does not impose any validation on it.
+       * 
+ * + * string uri = 2; + * + * @return The uri. + */ + java.lang.String getUri(); + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client. Dialogflow does not impose any validation on it.
+       * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + com.google.protobuf.ByteString getUriBytes(); + + /** + * + * + *
+       * Output only. Whether the playback of this segment can be interrupted by the end
+       * user's speech and the client should then start the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ + boolean getAllowPlaybackInterruption(); + + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.ContentCase + getContentCase(); + } + /** + * + * + *
+     * Represents one segment of audio.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment} + */ + public static final class Segment extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + SegmentOrBuilder { + private static final long serialVersionUID = 0L; + // Use Segment.newBuilder() to construct. + private Segment(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Segment() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Segment(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Segment( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); } - /** - * - * - *
-         * Raw audio synthesized from the Dialogflow agent's response using
-         * the output config specified in the request.
-         * 
- * - * bytes audio = 1; - * - * @param value The audio to set. - * @return This builder for chaining. - */ - public Builder setAudio(com.google.protobuf.ByteString value) { - if (value == null) { - throw new 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: + { + contentCase_ = 1; + content_ = input.readBytes(); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + contentCase_ = 2; + content_ = s; + break; + } + case 24: + { + allowPlaybackInterruption_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } } - contentCase_ = 1; - content_ = value; - onChanged(); - return this; + } 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.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + .class); + } + + private int contentCase_ = 0; + private java.lang.Object content_; + + public enum ContentCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + AUDIO(1), + URI(2), + CONTENT_NOT_SET(0); + private final int value; + + private ContentCase(int value) { + this.value = value; } /** - * - * - *
-         * Raw audio synthesized from the Dialogflow agent's response using
-         * the output config specified in the request.
-         * 
- * - * bytes audio = 1; - * - * @return This builder for chaining. + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. */ - public Builder clearAudio() { - if (contentCase_ == 1) { - contentCase_ = 0; - content_ = null; - onChanged(); + @java.lang.Deprecated + public static ContentCase valueOf(int value) { + return forNumber(value); + } + + public static ContentCase forNumber(int value) { + switch (value) { + case 1: + return AUDIO; + case 2: + return URI; + case 0: + return CONTENT_NOT_SET; + default: + return null; } - return this; } - /** - * - * - *
-         * Client-specific URI that points to an audio clip accessible to the
-         * client. Dialogflow does not impose any validation on it.
-         * 
- * - * string uri = 2; - * - * @return The uri. - */ - @java.lang.Override - public java.lang.String getUri() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (contentCase_ == 2) { - content_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } + public int getNumber() { + return this.value; } - /** - * - * - *
-         * Client-specific URI that points to an audio clip accessible to the
-         * client. Dialogflow does not impose any validation on it.
-         * 
- * - * string uri = 2; - * - * @return The bytes for uri. - */ - @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (contentCase_ == 2) { - content_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + }; + + public ContentCase getContentCase() { + return ContentCase.forNumber(contentCase_); + } + + public static final int AUDIO_FIELD_NUMBER = 1; + /** + * + * + *
+       * Raw audio synthesized from the Dialogflow agent's response using
+       * the output config specified in the request.
+       * 
+ * + * bytes audio = 1; + * + * @return The audio. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAudio() { + if (contentCase_ == 1) { + return (com.google.protobuf.ByteString) content_; } - /** - * - * - *
-         * Client-specific URI that points to an audio clip accessible to the
-         * client. Dialogflow does not impose any validation on it.
-         * 
- * - * string uri = 2; - * - * @param value The uri to set. - * @return This builder for chaining. - */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - contentCase_ = 2; - content_ = value; - onChanged(); - return this; + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int URI_FIELD_NUMBER = 2; + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client. Dialogflow does not impose any validation on it.
+       * 
+ * + * string uri = 2; + * + * @return The uri. + */ + public java.lang.String getUri() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; } - /** - * - * - *
-         * Client-specific URI that points to an audio clip accessible to the
-         * client. Dialogflow does not impose any validation on it.
-         * 
- * - * string uri = 2; - * - * @return This builder for chaining. - */ - public Builder clearUri() { + 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(); if (contentCase_ == 2) { - contentCase_ = 0; - content_ = null; - onChanged(); + content_ = s; } - return this; + return s; } - /** - * - * - *
-         * Client-specific URI that points to an audio clip accessible to the
-         * client. Dialogflow does not impose any validation on it.
-         * 
- * - * string uri = 2; - * - * @param value The bytes for uri to set. - * @return This builder for chaining. - */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + } + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client. Dialogflow does not impose any validation on it.
+       * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (contentCase_ == 2) { + content_ = b; } - checkByteStringIsUtf8(value); - contentCase_ = 2; - content_ = value; - onChanged(); - return this; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } + } - private boolean allowPlaybackInterruption_; - /** - * - * - *
-         * Output only. Whether the playback of this segment can be interrupted by
-         * the end user's speech and the client should then start the next
-         * Dialogflow request.
-         * 
- * - * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The allowPlaybackInterruption. - */ - @java.lang.Override - public boolean getAllowPlaybackInterruption() { - return allowPlaybackInterruption_; - } - /** - * - * - *
-         * Output only. Whether the playback of this segment can be interrupted by
-         * the end user's speech and the client should then start the next
-         * Dialogflow request.
-         * 
- * - * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @param value The allowPlaybackInterruption to set. - * @return This builder for chaining. - */ - public Builder setAllowPlaybackInterruption(boolean value) { + public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 3; + private boolean allowPlaybackInterruption_; + /** + * + * + *
+       * Output only. Whether the playback of this segment can be interrupted by the end
+       * user's speech and the client should then start the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ + @java.lang.Override + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; + } - allowPlaybackInterruption_ = value; - onChanged(); - return this; - } - /** - * - * - *
-         * Output only. Whether the playback of this segment can be interrupted by
-         * the end user's speech and the client should then start the next
-         * Dialogflow request.
-         * 
- * - * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return This builder for chaining. - */ - public Builder clearAllowPlaybackInterruption() { + private byte memoizedIsInitialized = -1; - allowPlaybackInterruption_ = false; - onChanged(); - return this; + @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 (contentCase_ == 1) { + output.writeBytes(1, (com.google.protobuf.ByteString) content_); + } + if (contentCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_); + } + if (allowPlaybackInterruption_ != false) { + output.writeBool(3, allowPlaybackInterruption_); } + unknownFields.writeTo(output); + } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (contentCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 1, (com.google.protobuf.ByteString) content_); } + if (contentCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_); + } + if (allowPlaybackInterruption_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowPlaybackInterruption_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)) { + return super.equals(obj); } + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) obj; - // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false; + if (!getContentCase().equals(other.getContentCase())) return false; + switch (contentCase_) { + case 1: + if (!getAudio().equals(other.getAudio())) return false; + break; + case 2: + if (!getUri().equals(other.getUri())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } - // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) - private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - DEFAULT_INSTANCE; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption()); + switch (contentCase_) { + case 1: + hash = (37 * hash) + AUDIO_FIELD_NUMBER; + hash = (53 * hash) + getAudio().hashCode(); + break; + case 2: + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } - static { - DEFAULT_INSTANCE = - new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment(); + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - getDefaultInstance() { - return DEFAULT_INSTANCE; + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Segment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Segment(input, extensionRegistry); - } - }; + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - public static com.google.protobuf.Parser parser() { - return PARSER; + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + 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 com.google.protobuf.Parser getParserForType() { - return PARSER; + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - } - public static final int SEGMENTS_FIELD_NUMBER = 1; - private java.util.List< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> - segments_; - /** - * - * - *
-     * Segments this audio response is composed of.
-     * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - @java.lang.Override - public java.util.List - getSegmentsList() { - return segments_; - } - /** - * - * - *
-     * Segments this audio response is composed of.
-     * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> - getSegmentsOrBuilderList() { - return segments_; - } - /** - * - * - *
-     * Segments this audio response is composed of.
-     * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - @java.lang.Override - public int getSegmentsCount() { - return segments_.size(); - } - /** - * - * - *
-     * Segments this audio response is composed of.
-     * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( - int index) { - return segments_.get(index); - } - /** - * - * - *
-     * Segments this audio response is composed of.
-     * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder - getSegmentsOrBuilder(int index) { - return segments_.get(index); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Represents one segment of audio.
+       * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; + } - private byte memoizedIsInitialized = -1; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + .class); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + // Construct using + // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - memoizedIsInitialized = 1; - return true; - } + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < segments_.size(); i++) { - output.writeMessage(1, segments_.get(i)); - } - unknownFields.writeTo(output); - } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + @java.lang.Override + public Builder clear() { + super.clear(); + allowPlaybackInterruption_ = false; - size = 0; - for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + contentCase_ = 0; + content_ = null; + return this; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)) { - return super.equals(obj); - } - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) obj; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; + } - if (!getSegmentsList().equals(other.getSegmentsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + .getDefaultInstance(); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getSegmentsCount() > 0) { - hash = (37 * hash) + SEGMENTS_FIELD_NUMBER; - hash = (53 * hash) + getSegmentsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment build() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result = + new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment(this); + if (contentCase_ == 1) { + result.content_ = content_; + } + if (contentCase_ == 2) { + result.content_ = content_; + } + result.allowPlaybackInterruption_ = allowPlaybackInterruption_; + result.contentCase_ = contentCase_; + onBuilt(); + return result; + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.cx.v3beta1.ResponseMessage.MixedAudio - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - 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.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.cx.v3beta1.ResponseMessage.MixedAudio 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 audio message that is composed of both segments
-     * synthesized from the Dialogflow agent prompts and ones hosted externally
-     * at the specified URIs.
-     * The external URIs are specified via
-     * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
-     * This message is generated by Dialogflow only and not supposed to be
-     * defined by the user.
-     * 
- * - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudioOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class); - } - - // Construct using - // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSegmentsFieldBuilder(); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) other); + } else { + super.mergeFrom(other); + return this; + } } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (segmentsBuilder_ == null) { - segments_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - segmentsBuilder_.clear(); + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + .getDefaultInstance()) return this; + if (other.getAllowPlaybackInterruption() != false) { + setAllowPlaybackInterruption(other.getAllowPlaybackInterruption()); + } + switch (other.getContentCase()) { + case AUDIO: + { + setAudio(other.getAudio()); + break; + } + case URI: + { + contentCase_ = 2; + content_ = other.content_; + onChanged(); + break; + } + case CONTENT_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; - } - - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - getDefaultInstanceForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - .getDefaultInstance(); - } - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio build() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + @java.lang.Override + public final boolean isInitialized() { + return true; } - return result; - } - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio buildPartial() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result = - new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio(this); - int from_bitField0_ = bitField0_; - if (segmentsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - segments_ = java.util.Collections.unmodifiableList(segments_); - bitField0_ = (bitField0_ & ~0x00000001); + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } } - result.segments_ = segments_; - } else { - result.segments_ = segmentsBuilder_.build(); + return this; } - 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); - } + private int contentCase_ = 0; + private java.lang.Object content_; - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + public ContentCase getContentCase() { + return ContentCase.forNumber(contentCase_); + } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + public Builder clearContent() { + contentCase_ = 0; + content_ = null; + onChanged(); + return this; + } - @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.cx.v3beta1.ResponseMessage.MixedAudio) { - return mergeFrom( - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) other); - } else { - super.mergeFrom(other); + /** + * + * + *
+         * Raw audio synthesized from the Dialogflow agent's response using
+         * the output config specified in the request.
+         * 
+ * + * bytes audio = 1; + * + * @return The audio. + */ + public com.google.protobuf.ByteString getAudio() { + if (contentCase_ == 1) { + return (com.google.protobuf.ByteString) content_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+         * Raw audio synthesized from the Dialogflow agent's response using
+         * the output config specified in the request.
+         * 
+ * + * bytes audio = 1; + * + * @param value The audio to set. + * @return This builder for chaining. + */ + public Builder setAudio(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + contentCase_ = 1; + content_ = value; + onChanged(); return this; } - } - - public Builder mergeFrom( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other) { - if (other - == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - .getDefaultInstance()) return this; - if (segmentsBuilder_ == null) { - if (!other.segments_.isEmpty()) { - if (segments_.isEmpty()) { - segments_ = other.segments_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSegmentsIsMutable(); - segments_.addAll(other.segments_); - } + /** + * + * + *
+         * Raw audio synthesized from the Dialogflow agent's response using
+         * the output config specified in the request.
+         * 
+ * + * bytes audio = 1; + * + * @return This builder for chaining. + */ + public Builder clearAudio() { + if (contentCase_ == 1) { + contentCase_ = 0; + content_ = null; onChanged(); } - } else { - if (!other.segments_.isEmpty()) { - if (segmentsBuilder_.isEmpty()) { - segmentsBuilder_.dispose(); - segmentsBuilder_ = null; - segments_ = other.segments_; - bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; - } else { - segmentsBuilder_.addAllMessages(other.segments_); - } - } + return this; } - 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.cx.v3beta1.ResponseMessage.MixedAudio parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client. Dialogflow does not impose any validation on it.
+         * 
+ * + * string uri = 2; + * + * @return The uri. + */ + @java.lang.Override + public java.lang.String getUri() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (contentCase_ == 2) { + content_ = s; + } + return s; + } else { + return (java.lang.String) ref; } } - return this; - } - - private int bitField0_; - - private java.util.List< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> - segments_ = java.util.Collections.emptyList(); - - private void ensureSegmentsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>( - segments_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> - segmentsBuilder_; - - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public java.util.List< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> - getSegmentsList() { - if (segmentsBuilder_ == null) { - return java.util.Collections.unmodifiableList(segments_); - } else { - return segmentsBuilder_.getMessageList(); + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client. Dialogflow does not impose any validation on it.
+         * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (contentCase_ == 2) { + content_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public int getSegmentsCount() { - if (segmentsBuilder_ == null) { - return segments_.size(); - } else { - return segmentsBuilder_.getCount(); + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client. Dialogflow does not impose any validation on it.
+         * 
+ * + * string uri = 2; + * + * @param value The uri to set. + * @return This builder for chaining. + */ + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + contentCase_ = 2; + content_ = value; + onChanged(); + return this; } - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( - int index) { - if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { - return segmentsBuilder_.getMessage(index); - } - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder setSegments( - int index, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { - if (segmentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSegmentsIsMutable(); - segments_.set(index, value); - onChanged(); - } else { - segmentsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder setSegments( - int index, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - builderForValue) { - if (segmentsBuilder_ == null) { - ensureSegmentsIsMutable(); - segments_.set(index, builderForValue.build()); - onChanged(); - } else { - segmentsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder addSegments( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { - if (segmentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSegmentsIsMutable(); - segments_.add(value); - onChanged(); - } else { - segmentsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder addSegments( - int index, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { - if (segmentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSegmentsIsMutable(); - segments_.add(index, value); - onChanged(); - } else { - segmentsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder addSegments( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - builderForValue) { - if (segmentsBuilder_ == null) { - ensureSegmentsIsMutable(); - segments_.add(builderForValue.build()); - onChanged(); - } else { - segmentsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder addSegments( - int index, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - builderForValue) { - if (segmentsBuilder_ == null) { - ensureSegmentsIsMutable(); - segments_.add(index, builderForValue.build()); - onChanged(); - } else { - segmentsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder addAllSegments( - java.lang.Iterable< - ? extends - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> - values) { - if (segmentsBuilder_ == null) { - ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); - onChanged(); - } else { - segmentsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder clearSegments() { - if (segmentsBuilder_ == null) { - segments_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - segmentsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder removeSegments(int index) { - if (segmentsBuilder_ == null) { - ensureSegmentsIsMutable(); - segments_.remove(index); - onChanged(); - } else { - segmentsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - getSegmentsBuilder(int index) { - return getSegmentsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder - getSegmentsOrBuilder(int index) { - if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { - return segmentsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public java.util.List< - ? extends - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - .SegmentOrBuilder> - getSegmentsOrBuilderList() { - if (segmentsBuilder_ != null) { - return segmentsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(segments_); - } - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - .getDefaultInstance()); - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - addSegmentsBuilder(int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - .getDefaultInstance()); - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public java.util.List< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder> - getSegmentsBuilderList() { - return getSegmentsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> - getSegmentsFieldBuilder() { - if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - .SegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - segments_ = null; + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client. Dialogflow does not impose any validation on it.
+         * 
+ * + * string uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearUri() { + if (contentCase_ == 2) { + contentCase_ = 0; + content_ = null; + onChanged(); + } + return this; } - return segmentsBuilder_; - } - - @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.cx.v3beta1.ResponseMessage.MixedAudio) - } - - // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) - private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio(); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MixedAudio parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MixedAudio(input, extensionRegistry); + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client. Dialogflow does not impose any validation on it.
+         * 
+ * + * string uri = 2; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. + */ + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - }; + checkByteStringIsUtf8(value); + contentCase_ = 2; + content_ = value; + onChanged(); + return this; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + private boolean allowPlaybackInterruption_; + /** + * + * + *
+         * Output only. Whether the playback of this segment can be interrupted by the end
+         * user's speech and the client should then start the next Dialogflow
+         * request.
+         * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ + @java.lang.Override + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; + } + /** + * + * + *
+         * Output only. Whether the playback of this segment can be interrupted by the end
+         * user's speech and the client should then start the next Dialogflow
+         * request.
+         * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The allowPlaybackInterruption to set. + * @return This builder for chaining. + */ + public Builder setAllowPlaybackInterruption(boolean value) { - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + allowPlaybackInterruption_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Output only. Whether the playback of this segment can be interrupted by the end
+         * user's speech and the client should then start the next Dialogflow
+         * request.
+         * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearAllowPlaybackInterruption() { - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } + allowPlaybackInterruption_ = false; + onChanged(); + return this; + } - public interface PlayAudioOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) - com.google.protobuf.MessageOrBuilder { + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - /** - * - * - *
-     * Required. URI of the audio clip. Dialogflow does not impose any
-     * validation on this value. It is specific to the client that reads it.
-     * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The audioUri. - */ - java.lang.String getAudioUri(); - /** - * - * - *
-     * Required. URI of the audio clip. Dialogflow does not impose any
-     * validation on this value. It is specific to the client that reads it.
-     * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for audioUri. - */ - com.google.protobuf.ByteString getAudioUriBytes(); + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } - /** - * - * - *
-     * Output only. Whether the playback of this message can be interrupted by
-     * the end user's speech and the client can then starts the next Dialogflow
-     * request.
-     * 
- * - * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The allowPlaybackInterruption. - */ - boolean getAllowPlaybackInterruption(); - } - /** - * - * - *
-   * Specifies an audio clip to be played by the client as part of the response.
-   * 
- * - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio} - */ - public static final class PlayAudio extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) - PlayAudioOrBuilder { - private static final long serialVersionUID = 0L; - // Use PlayAudio.newBuilder() to construct. - private PlayAudio(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + } - private PlayAudio() { - audioUri_ = ""; - } + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + DEFAULT_INSTANCE; - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PlayAudio(); - } + static { + DEFAULT_INSTANCE = + new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment(); + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private PlayAudio( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Segment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Segment(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } - 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(); - audioUri_ = s; - break; - } - case 16: - { - allowPlaybackInterruption_ = input.readBool(); - 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(); + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } + public static final int SEGMENTS_FIELD_NUMBER = 1; + private java.util.List< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> + segments_; + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class); + public java.util.List + getSegmentsList() { + return segments_; } - - public static final int AUDIO_URI_FIELD_NUMBER = 1; - private volatile java.lang.Object audioUri_; /** * * *
-     * Required. URI of the audio clip. Dialogflow does not impose any
-     * validation on this value. It is specific to the client that reads it.
+     * Segments this audio response is composed of.
      * 
* - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The audioUri. + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ @java.lang.Override - public java.lang.String getAudioUri() { - java.lang.Object ref = audioUri_; - 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(); - audioUri_ = s; - return s; - } + public java.util.List< + ? extends + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> + getSegmentsOrBuilderList() { + return segments_; } /** * * *
-     * Required. URI of the audio clip. Dialogflow does not impose any
-     * validation on this value. It is specific to the client that reads it.
+     * Segments this audio response is composed of.
      * 
* - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for audioUri. + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ @java.lang.Override - public com.google.protobuf.ByteString getAudioUriBytes() { - java.lang.Object ref = audioUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - audioUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public int getSegmentsCount() { + return segments_.size(); } - - public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 2; - private boolean allowPlaybackInterruption_; /** * * *
-     * Output only. Whether the playback of this message can be interrupted by
-     * the end user's speech and the client can then starts the next Dialogflow
-     * request.
+     * Segments this audio response is composed of.
      * 
* - * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; * + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( + int index) { + return segments_.get(index); + } + /** * - * @return The allowPlaybackInterruption. + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ @java.lang.Override - public boolean getAllowPlaybackInterruption() { - return allowPlaybackInterruption_; + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder + getSegmentsOrBuilder(int index) { + return segments_.get(index); } private byte memoizedIsInitialized = -1; @@ -6679,11 +6510,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getAudioUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, audioUri_); - } - if (allowPlaybackInterruption_ != false) { - output.writeBool(2, allowPlaybackInterruption_); + for (int i = 0; i < segments_.size(); i++) { + output.writeMessage(1, segments_.get(i)); } unknownFields.writeTo(output); } @@ -6694,12 +6522,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getAudioUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, audioUri_); - } - if (allowPlaybackInterruption_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowPlaybackInterruption_); + for (int i = 0; i < segments_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6711,14 +6535,13 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)) { + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)) { return super.equals(obj); } - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) obj; + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) obj; - if (!getAudioUri().equals(other.getAudioUri())) return false; - if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6730,68 +6553,68 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + AUDIO_URI_FIELD_NUMBER; - hash = (53 * hash) + getAudioUri().hashCode(); - hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption()); + if (getSegmentsCount() > 0) { + hash = (37 * hash) + SEGMENTS_FIELD_NUMBER; + hash = (53 * hash) + getSegmentsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.cx.v3beta1.ResponseMessage.PlayAudio + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6799,12 +6622,12 @@ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio p PARSER, input, extensionRegistry); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6822,7 +6645,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio prototype) { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -6841,33 +6664,39 @@ protected Builder newBuilderForType( * * *
-     * Specifies an audio clip to be played by the client as part of the response.
+     * Represents an audio message that is composed of both segments
+     * synthesized from the Dialogflow agent prompts and ones hosted externally
+     * at the specified URIs.
+     * The external URIs are specified via
+     * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
+     * This message is generated by Dialogflow only and not supposed to be
+     * defined by the user.
      * 
* - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio} + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudioOrBuilder { + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudioOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class); + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class); } // Construct using - // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.newBuilder() + // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -6878,47 +6707,59 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSegmentsFieldBuilder(); + } } @java.lang.Override public Builder clear() { super.clear(); - audioUri_ = ""; - - allowPlaybackInterruption_ = false; - + if (segmentsBuilder_ == null) { + segments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + segmentsBuilder_.clear(); + } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio getDefaultInstanceForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio build() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result = buildPartial(); + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio build() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } - return result; - } - - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio buildPartial() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result = - new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio(this); - result.audioUri_ = audioUri_; - result.allowPlaybackInterruption_ = allowPlaybackInterruption_; + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result = + new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio(this); + int from_bitField0_ = bitField0_; + if (segmentsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + segments_ = java.util.Collections.unmodifiableList(segments_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.segments_ = segments_; + } else { + result.segments_ = segmentsBuilder_.build(); + } onBuilt(); return result; } @@ -6960,9 +6801,9 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) { return mergeFrom( - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) other); + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) other); } else { super.mergeFrom(other); return this; @@ -6970,16 +6811,36 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other) { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other) { if (other - == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio .getDefaultInstance()) return this; - if (!other.getAudioUri().isEmpty()) { - audioUri_ = other.audioUri_; - onChanged(); - } - if (other.getAllowPlaybackInterruption() != false) { - setAllowPlaybackInterruption(other.getAllowPlaybackInterruption()); + if (segmentsBuilder_ == null) { + if (!other.segments_.isEmpty()) { + if (segments_.isEmpty()) { + segments_ = other.segments_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSegmentsIsMutable(); + segments_.addAll(other.segments_); + } + onChanged(); + } + } else { + if (!other.segments_.isEmpty()) { + if (segmentsBuilder_.isEmpty()) { + segmentsBuilder_.dispose(); + segmentsBuilder_ = null; + segments_ = other.segments_; + bitField0_ = (bitField0_ & ~0x00000001); + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; + } else { + segmentsBuilder_.addAllMessages(other.segments_); + } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -6996,12 +6857,12 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parsedMessage = null; + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { @@ -7011,177 +6872,427 @@ public Builder mergeFrom( } return this; } - - private java.lang.Object audioUri_ = ""; + + private int bitField0_; + + private java.util.List< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> + segments_ = java.util.Collections.emptyList(); + + private void ensureSegmentsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>( + segments_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> + segmentsBuilder_; + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public java.util.List< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> + getSegmentsList() { + if (segmentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(segments_); + } else { + return segmentsBuilder_.getMessageList(); + } + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public int getSegmentsCount() { + if (segmentsBuilder_ == null) { + return segments_.size(); + } else { + return segmentsBuilder_.getCount(); + } + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( + int index) { + if (segmentsBuilder_ == null) { + return segments_.get(index); + } else { + return segmentsBuilder_.getMessage(index); + } + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder setSegments( + int index, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { + if (segmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSegmentsIsMutable(); + segments_.set(index, value); + onChanged(); + } else { + segmentsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder setSegments( + int index, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + builderForValue) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.set(index, builderForValue.build()); + onChanged(); + } else { + segmentsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addSegments( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { + if (segmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSegmentsIsMutable(); + segments_.add(value); + onChanged(); + } else { + segmentsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addSegments( + int index, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { + if (segmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSegmentsIsMutable(); + segments_.add(index, value); + onChanged(); + } else { + segmentsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addSegments( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + builderForValue) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.add(builderForValue.build()); + onChanged(); + } else { + segmentsBuilder_.addMessage(builderForValue.build()); + } + return this; + } /** * * *
-       * Required. URI of the audio clip. Dialogflow does not impose any
-       * validation on this value. It is specific to the client that reads it.
+       * Segments this audio response is composed of.
        * 
* - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The audioUri. + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ - public java.lang.String getAudioUri() { - java.lang.Object ref = audioUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - audioUri_ = s; - return s; + public Builder addSegments( + int index, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + builderForValue) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.add(index, builderForValue.build()); + onChanged(); } else { - return (java.lang.String) ref; + segmentsBuilder_.addMessage(index, builderForValue.build()); } + return this; } /** * * *
-       * Required. URI of the audio clip. Dialogflow does not impose any
-       * validation on this value. It is specific to the client that reads it.
+       * Segments this audio response is composed of.
        * 
* - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for audioUri. + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ - public com.google.protobuf.ByteString getAudioUriBytes() { - java.lang.Object ref = audioUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - audioUri_ = b; - return b; + public Builder addAllSegments( + java.lang.Iterable< + ? extends + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> + values) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + segmentsBuilder_.addAllMessages(values); } + return this; } /** * * *
-       * Required. URI of the audio clip. Dialogflow does not impose any
-       * validation on this value. It is specific to the client that reads it.
+       * Segments this audio response is composed of.
        * 
* - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The audioUri to set. - * @return This builder for chaining. + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ - public Builder setAudioUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder clearSegments() { + if (segmentsBuilder_ == null) { + segments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + segmentsBuilder_.clear(); } - - audioUri_ = value; - onChanged(); return this; } /** * * *
-       * Required. URI of the audio clip. Dialogflow does not impose any
-       * validation on this value. It is specific to the client that reads it.
+       * Segments this audio response is composed of.
        * 
* - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ - public Builder clearAudioUri() { - - audioUri_ = getDefaultInstance().getAudioUri(); - onChanged(); + public Builder removeSegments(int index) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.remove(index); + onChanged(); + } else { + segmentsBuilder_.remove(index); + } return this; } /** * * *
-       * Required. URI of the audio clip. Dialogflow does not impose any
-       * validation on this value. It is specific to the client that reads it.
+       * Segments this audio response is composed of.
        * 
* - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + getSegmentsBuilder(int index) { + return getSegmentsFieldBuilder().getBuilder(index); + } + /** * - * @param value The bytes for audioUri to set. - * @return This builder for chaining. + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ - public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder + getSegmentsOrBuilder(int index) { + if (segmentsBuilder_ == null) { + return segments_.get(index); + } else { + return segmentsBuilder_.getMessageOrBuilder(index); } - checkByteStringIsUtf8(value); - - audioUri_ = value; - onChanged(); - return this; } - - private boolean allowPlaybackInterruption_; /** * * *
-       * Output only. Whether the playback of this message can be interrupted by
-       * the end user's speech and the client can then starts the next Dialogflow
-       * request.
+       * Segments this audio response is composed of.
        * 
* - * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; * - * - * @return The allowPlaybackInterruption. */ - @java.lang.Override - public boolean getAllowPlaybackInterruption() { - return allowPlaybackInterruption_; + public java.util.List< + ? extends + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + .SegmentOrBuilder> + getSegmentsOrBuilderList() { + if (segmentsBuilder_ != null) { + return segmentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(segments_); + } } /** * * *
-       * Output only. Whether the playback of this message can be interrupted by
-       * the end user's speech and the client can then starts the next Dialogflow
-       * request.
+       * Segments this audio response is composed of.
        * 
* - * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; * - * - * @param value The allowPlaybackInterruption to set. - * @return This builder for chaining. */ - public Builder setAllowPlaybackInterruption(boolean value) { - - allowPlaybackInterruption_ = value; - onChanged(); - return this; + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + addSegmentsBuilder() { + return getSegmentsFieldBuilder() + .addBuilder( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + .getDefaultInstance()); } /** * * *
-       * Output only. Whether the playback of this message can be interrupted by
-       * the end user's speech and the client can then starts the next Dialogflow
-       * request.
+       * Segments this audio response is composed of.
        * 
* - * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; * + */ + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + addSegmentsBuilder(int index) { + return getSegmentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + .getDefaultInstance()); + } + /** * - * @return This builder for chaining. + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ - public Builder clearAllowPlaybackInterruption() { + public java.util.List< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder> + getSegmentsBuilderList() { + return getSegmentsFieldBuilder().getBuilderList(); + } - allowPlaybackInterruption_ = false; - onChanged(); - return this; + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> + getSegmentsFieldBuilder() { + if (segmentsBuilder_ == null) { + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + .SegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + segments_ = null; + } + return segmentsBuilder_; } @java.lang.Override @@ -7196,44 +7307,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) } - // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) - private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio(); + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio(); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { @java.lang.Override - public PlayAudio parsePartialFrom( + public MixedAudio parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PlayAudio(input, extensionRegistry); + return new MixedAudio(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -7597,11 +7708,12 @@ public boolean hasLiveAgentHandoff() { * * *
-   * Output only. A signal that indicates the interaction with the Dialogflow
-   * agent has ended. This message is generated by Dialogflow only when the
-   * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-   * to be defined by the user. It's guaranteed that there is at most one such
-   * message in each response.
+   * Output only. A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * This message is generated by Dialogflow only when the conversation
+   * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+   * defined by the user.
+   * It's guaranteed that there is at most one such message in each response.
    * 
* * @@ -7618,11 +7730,12 @@ public boolean hasEndInteraction() { * * *
-   * Output only. A signal that indicates the interaction with the Dialogflow
-   * agent has ended. This message is generated by Dialogflow only when the
-   * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-   * to be defined by the user. It's guaranteed that there is at most one such
-   * message in each response.
+   * Output only. A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * This message is generated by Dialogflow only when the conversation
+   * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+   * defined by the user.
+   * It's guaranteed that there is at most one such message in each response.
    * 
* * @@ -7643,11 +7756,12 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction get * * *
-   * Output only. A signal that indicates the interaction with the Dialogflow
-   * agent has ended. This message is generated by Dialogflow only when the
-   * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-   * to be defined by the user. It's guaranteed that there is at most one such
-   * message in each response.
+   * Output only. A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * This message is generated by Dialogflow only when the conversation
+   * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+   * defined by the user.
+   * It's guaranteed that there is at most one such message in each response.
    * 
* * @@ -7671,9 +7785,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction get *
    * Signal that the client should play an audio clip hosted at a
    * client-specific URI. Dialogflow uses this to construct
-   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-   * However, Dialogflow itself does not try to read or process the URI in any
-   * way.
+   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+   * does not try to read or process the URI in any way.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -7690,9 +7803,8 @@ public boolean hasPlayAudio() { *
    * Signal that the client should play an audio clip hosted at a
    * client-specific URI. Dialogflow uses this to construct
-   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-   * However, Dialogflow itself does not try to read or process the URI in any
-   * way.
+   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+   * does not try to read or process the URI in any way.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -7712,9 +7824,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio getPlayA *
    * Signal that the client should play an audio clip hosted at a
    * client-specific URI. Dialogflow uses this to construct
-   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-   * However, Dialogflow itself does not try to read or process the URI in any
-   * way.
+   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+   * does not try to read or process the URI in any way.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -7733,8 +7844,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio getPlayA * * *
-   * Output only. An audio response message composed of both the synthesized
-   * Dialogflow agent responses and responses defined via
+   * Output only. An audio response message composed of both the synthesized Dialogflow
+   * agent responses and responses defined via
    * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
    * This message is generated by Dialogflow only and not supposed to be
    * defined by the user.
@@ -7754,8 +7865,8 @@ public boolean hasMixedAudio() {
    *
    *
    * 
-   * Output only. An audio response message composed of both the synthesized
-   * Dialogflow agent responses and responses defined via
+   * Output only. An audio response message composed of both the synthesized Dialogflow
+   * agent responses and responses defined via
    * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
    * This message is generated by Dialogflow only and not supposed to be
    * defined by the user.
@@ -7778,8 +7889,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio getMixe
    *
    *
    * 
-   * Output only. An audio response message composed of both the synthesized
-   * Dialogflow agent responses and responses defined via
+   * Output only. An audio response message composed of both the synthesized Dialogflow
+   * agent responses and responses defined via
    * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
    * This message is generated by Dialogflow only and not supposed to be
    * defined by the user.
@@ -9533,11 +9644,12 @@ public Builder clearLiveAgentHandoff() {
      *
      *
      * 
-     * Output only. A signal that indicates the interaction with the Dialogflow
-     * agent has ended. This message is generated by Dialogflow only when the
-     * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-     * to be defined by the user. It's guaranteed that there is at most one such
-     * message in each response.
+     * Output only. A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * This message is generated by Dialogflow only when the conversation
+     * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+     * defined by the user.
+     * It's guaranteed that there is at most one such message in each response.
      * 
* * @@ -9554,11 +9666,12 @@ public boolean hasEndInteraction() { * * *
-     * Output only. A signal that indicates the interaction with the Dialogflow
-     * agent has ended. This message is generated by Dialogflow only when the
-     * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-     * to be defined by the user. It's guaranteed that there is at most one such
-     * message in each response.
+     * Output only. A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * This message is generated by Dialogflow only when the conversation
+     * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+     * defined by the user.
+     * It's guaranteed that there is at most one such message in each response.
      * 
* * @@ -9588,11 +9701,12 @@ public boolean hasEndInteraction() { * * *
-     * Output only. A signal that indicates the interaction with the Dialogflow
-     * agent has ended. This message is generated by Dialogflow only when the
-     * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-     * to be defined by the user. It's guaranteed that there is at most one such
-     * message in each response.
+     * Output only. A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * This message is generated by Dialogflow only when the conversation
+     * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+     * defined by the user.
+     * It's guaranteed that there is at most one such message in each response.
      * 
* * @@ -9617,11 +9731,12 @@ public Builder setEndInteraction( * * *
-     * Output only. A signal that indicates the interaction with the Dialogflow
-     * agent has ended. This message is generated by Dialogflow only when the
-     * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-     * to be defined by the user. It's guaranteed that there is at most one such
-     * message in each response.
+     * Output only. A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * This message is generated by Dialogflow only when the conversation
+     * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+     * defined by the user.
+     * It's guaranteed that there is at most one such message in each response.
      * 
* * @@ -9644,11 +9759,12 @@ public Builder setEndInteraction( * * *
-     * Output only. A signal that indicates the interaction with the Dialogflow
-     * agent has ended. This message is generated by Dialogflow only when the
-     * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-     * to be defined by the user. It's guaranteed that there is at most one such
-     * message in each response.
+     * Output only. A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * This message is generated by Dialogflow only when the conversation
+     * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+     * defined by the user.
+     * It's guaranteed that there is at most one such message in each response.
      * 
* * @@ -9685,11 +9801,12 @@ public Builder mergeEndInteraction( * * *
-     * Output only. A signal that indicates the interaction with the Dialogflow
-     * agent has ended. This message is generated by Dialogflow only when the
-     * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-     * to be defined by the user. It's guaranteed that there is at most one such
-     * message in each response.
+     * Output only. A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * This message is generated by Dialogflow only when the conversation
+     * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+     * defined by the user.
+     * It's guaranteed that there is at most one such message in each response.
      * 
* * @@ -9716,11 +9833,12 @@ public Builder clearEndInteraction() { * * *
-     * Output only. A signal that indicates the interaction with the Dialogflow
-     * agent has ended. This message is generated by Dialogflow only when the
-     * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-     * to be defined by the user. It's guaranteed that there is at most one such
-     * message in each response.
+     * Output only. A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * This message is generated by Dialogflow only when the conversation
+     * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+     * defined by the user.
+     * It's guaranteed that there is at most one such message in each response.
      * 
* * @@ -9735,11 +9853,12 @@ public Builder clearEndInteraction() { * * *
-     * Output only. A signal that indicates the interaction with the Dialogflow
-     * agent has ended. This message is generated by Dialogflow only when the
-     * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-     * to be defined by the user. It's guaranteed that there is at most one such
-     * message in each response.
+     * Output only. A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * This message is generated by Dialogflow only when the conversation
+     * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+     * defined by the user.
+     * It's guaranteed that there is at most one such message in each response.
      * 
* * @@ -9763,11 +9882,12 @@ public Builder clearEndInteraction() { * * *
-     * Output only. A signal that indicates the interaction with the Dialogflow
-     * agent has ended. This message is generated by Dialogflow only when the
-     * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-     * to be defined by the user. It's guaranteed that there is at most one such
-     * message in each response.
+     * Output only. A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * This message is generated by Dialogflow only when the conversation
+     * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+     * defined by the user.
+     * It's guaranteed that there is at most one such message in each response.
      * 
* * @@ -9812,9 +9932,8 @@ public Builder clearEndInteraction() { *
      * Signal that the client should play an audio clip hosted at a
      * client-specific URI. Dialogflow uses this to construct
-     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-     * However, Dialogflow itself does not try to read or process the URI in any
-     * way.
+     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+     * does not try to read or process the URI in any way.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -9831,9 +9950,8 @@ public boolean hasPlayAudio() { *
      * Signal that the client should play an audio clip hosted at a
      * client-specific URI. Dialogflow uses this to construct
-     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-     * However, Dialogflow itself does not try to read or process the URI in any
-     * way.
+     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+     * does not try to read or process the URI in any way.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -9862,9 +9980,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio getPlayA *
      * Signal that the client should play an audio clip hosted at a
      * client-specific URI. Dialogflow uses this to construct
-     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-     * However, Dialogflow itself does not try to read or process the URI in any
-     * way.
+     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+     * does not try to read or process the URI in any way.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -9889,9 +10006,8 @@ public Builder setPlayAudio( *
      * Signal that the client should play an audio clip hosted at a
      * client-specific URI. Dialogflow uses this to construct
-     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-     * However, Dialogflow itself does not try to read or process the URI in any
-     * way.
+     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+     * does not try to read or process the URI in any way.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -9913,9 +10029,8 @@ public Builder setPlayAudio( *
      * Signal that the client should play an audio clip hosted at a
      * client-specific URI. Dialogflow uses this to construct
-     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-     * However, Dialogflow itself does not try to read or process the URI in any
-     * way.
+     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+     * does not try to read or process the URI in any way.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -9951,9 +10066,8 @@ public Builder mergePlayAudio( *
      * Signal that the client should play an audio clip hosted at a
      * client-specific URI. Dialogflow uses this to construct
-     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-     * However, Dialogflow itself does not try to read or process the URI in any
-     * way.
+     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+     * does not try to read or process the URI in any way.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -9980,9 +10094,8 @@ public Builder clearPlayAudio() { *
      * Signal that the client should play an audio clip hosted at a
      * client-specific URI. Dialogflow uses this to construct
-     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-     * However, Dialogflow itself does not try to read or process the URI in any
-     * way.
+     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+     * does not try to read or process the URI in any way.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -9997,9 +10110,8 @@ public Builder clearPlayAudio() { *
      * Signal that the client should play an audio clip hosted at a
      * client-specific URI. Dialogflow uses this to construct
-     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-     * However, Dialogflow itself does not try to read or process the URI in any
-     * way.
+     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+     * does not try to read or process the URI in any way.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -10023,9 +10135,8 @@ public Builder clearPlayAudio() { *
      * Signal that the client should play an audio clip hosted at a
      * client-specific URI. Dialogflow uses this to construct
-     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-     * However, Dialogflow itself does not try to read or process the URI in any
-     * way.
+     * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+     * does not try to read or process the URI in any way.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -10065,8 +10176,8 @@ public Builder clearPlayAudio() { * * *
-     * Output only. An audio response message composed of both the synthesized
-     * Dialogflow agent responses and responses defined via
+     * Output only. An audio response message composed of both the synthesized Dialogflow
+     * agent responses and responses defined via
      * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
      * This message is generated by Dialogflow only and not supposed to be
      * defined by the user.
@@ -10086,8 +10197,8 @@ public boolean hasMixedAudio() {
      *
      *
      * 
-     * Output only. An audio response message composed of both the synthesized
-     * Dialogflow agent responses and responses defined via
+     * Output only. An audio response message composed of both the synthesized Dialogflow
+     * agent responses and responses defined via
      * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
      * This message is generated by Dialogflow only and not supposed to be
      * defined by the user.
@@ -10119,8 +10230,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio getMixe
      *
      *
      * 
-     * Output only. An audio response message composed of both the synthesized
-     * Dialogflow agent responses and responses defined via
+     * Output only. An audio response message composed of both the synthesized Dialogflow
+     * agent responses and responses defined via
      * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
      * This message is generated by Dialogflow only and not supposed to be
      * defined by the user.
@@ -10148,8 +10259,8 @@ public Builder setMixedAudio(
      *
      *
      * 
-     * Output only. An audio response message composed of both the synthesized
-     * Dialogflow agent responses and responses defined via
+     * Output only. An audio response message composed of both the synthesized Dialogflow
+     * agent responses and responses defined via
      * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
      * This message is generated by Dialogflow only and not supposed to be
      * defined by the user.
@@ -10174,8 +10285,8 @@ public Builder setMixedAudio(
      *
      *
      * 
-     * Output only. An audio response message composed of both the synthesized
-     * Dialogflow agent responses and responses defined via
+     * Output only. An audio response message composed of both the synthesized Dialogflow
+     * agent responses and responses defined via
      * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
      * This message is generated by Dialogflow only and not supposed to be
      * defined by the user.
@@ -10214,8 +10325,8 @@ public Builder mergeMixedAudio(
      *
      *
      * 
-     * Output only. An audio response message composed of both the synthesized
-     * Dialogflow agent responses and responses defined via
+     * Output only. An audio response message composed of both the synthesized Dialogflow
+     * agent responses and responses defined via
      * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
      * This message is generated by Dialogflow only and not supposed to be
      * defined by the user.
@@ -10245,8 +10356,8 @@ public Builder clearMixedAudio() {
      *
      *
      * 
-     * Output only. An audio response message composed of both the synthesized
-     * Dialogflow agent responses and responses defined via
+     * Output only. An audio response message composed of both the synthesized Dialogflow
+     * agent responses and responses defined via
      * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
      * This message is generated by Dialogflow only and not supposed to be
      * defined by the user.
@@ -10264,8 +10375,8 @@ public Builder clearMixedAudio() {
      *
      *
      * 
-     * Output only. An audio response message composed of both the synthesized
-     * Dialogflow agent responses and responses defined via
+     * Output only. An audio response message composed of both the synthesized Dialogflow
+     * agent responses and responses defined via
      * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
      * This message is generated by Dialogflow only and not supposed to be
      * defined by the user.
@@ -10292,8 +10403,8 @@ public Builder clearMixedAudio() {
      *
      *
      * 
-     * Output only. An audio response message composed of both the synthesized
-     * Dialogflow agent responses and responses defined via
+     * Output only. An audio response message composed of both the synthesized Dialogflow
+     * agent responses and responses defined via
      * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
      * This message is generated by Dialogflow only and not supposed to be
      * defined by the user.
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageOrBuilder.java
index 6e87abbc9..3c151c81c 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageOrBuilder.java
@@ -227,11 +227,12 @@ public interface ResponseMessageOrBuilder
    *
    *
    * 
-   * Output only. A signal that indicates the interaction with the Dialogflow
-   * agent has ended. This message is generated by Dialogflow only when the
-   * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-   * to be defined by the user. It's guaranteed that there is at most one such
-   * message in each response.
+   * Output only. A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * This message is generated by Dialogflow only when the conversation
+   * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+   * defined by the user.
+   * It's guaranteed that there is at most one such message in each response.
    * 
* * @@ -245,11 +246,12 @@ public interface ResponseMessageOrBuilder * * *
-   * Output only. A signal that indicates the interaction with the Dialogflow
-   * agent has ended. This message is generated by Dialogflow only when the
-   * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-   * to be defined by the user. It's guaranteed that there is at most one such
-   * message in each response.
+   * Output only. A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * This message is generated by Dialogflow only when the conversation
+   * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+   * defined by the user.
+   * It's guaranteed that there is at most one such message in each response.
    * 
* * @@ -263,11 +265,12 @@ public interface ResponseMessageOrBuilder * * *
-   * Output only. A signal that indicates the interaction with the Dialogflow
-   * agent has ended. This message is generated by Dialogflow only when the
-   * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
-   * to be defined by the user. It's guaranteed that there is at most one such
-   * message in each response.
+   * Output only. A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * This message is generated by Dialogflow only when the conversation
+   * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+   * defined by the user.
+   * It's guaranteed that there is at most one such message in each response.
    * 
* * @@ -283,9 +286,8 @@ public interface ResponseMessageOrBuilder *
    * Signal that the client should play an audio clip hosted at a
    * client-specific URI. Dialogflow uses this to construct
-   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-   * However, Dialogflow itself does not try to read or process the URI in any
-   * way.
+   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+   * does not try to read or process the URI in any way.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -299,9 +301,8 @@ public interface ResponseMessageOrBuilder *
    * Signal that the client should play an audio clip hosted at a
    * client-specific URI. Dialogflow uses this to construct
-   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-   * However, Dialogflow itself does not try to read or process the URI in any
-   * way.
+   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+   * does not try to read or process the URI in any way.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -315,9 +316,8 @@ public interface ResponseMessageOrBuilder *
    * Signal that the client should play an audio clip hosted at a
    * client-specific URI. Dialogflow uses this to construct
-   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
-   * However, Dialogflow itself does not try to read or process the URI in any
-   * way.
+   * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+   * does not try to read or process the URI in any way.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; @@ -328,8 +328,8 @@ public interface ResponseMessageOrBuilder * * *
-   * Output only. An audio response message composed of both the synthesized
-   * Dialogflow agent responses and responses defined via
+   * Output only. An audio response message composed of both the synthesized Dialogflow
+   * agent responses and responses defined via
    * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
    * This message is generated by Dialogflow only and not supposed to be
    * defined by the user.
@@ -346,8 +346,8 @@ public interface ResponseMessageOrBuilder
    *
    *
    * 
-   * Output only. An audio response message composed of both the synthesized
-   * Dialogflow agent responses and responses defined via
+   * Output only. An audio response message composed of both the synthesized Dialogflow
+   * agent responses and responses defined via
    * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
    * This message is generated by Dialogflow only and not supposed to be
    * defined by the user.
@@ -364,8 +364,8 @@ public interface ResponseMessageOrBuilder
    *
    *
    * 
-   * Output only. An audio response message composed of both the synthesized
-   * Dialogflow agent responses and responses defined via
+   * Output only. An audio response message composed of both the synthesized Dialogflow
+   * agent responses and responses defined via
    * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
    * This message is generated by Dialogflow only and not supposed to be
    * defined by the user.
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java
index 65b1d153f..be28245f2 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java
@@ -51,6 +51,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
       internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor;
   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
       internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor;
   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -59,10 +63,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
       internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor;
   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable;
 
   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     return descriptor;
@@ -74,9 +74,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     java.lang.String[] descriptorData = {
       "\n9google/cloud/dialogflow/cx/v3beta1/res"
           + "ponse_message.proto\022\"google.cloud.dialog"
-          + "flow.cx.v3beta1\032\034google/api/annotations."
-          + "proto\032\037google/api/field_behavior.proto\032\034"
-          + "google/protobuf/struct.proto\"\203\n\n\017Respons"
+          + "flow.cx.v3beta1\032\037google/api/field_behavi"
+          + "or.proto\032\034google/protobuf/struct.proto\032\034"
+          + "google/api/annotations.proto\"\255\n\n\017Respons"
           + "eMessage\022H\n\004text\030\001 \001(\01328.google.cloud.di"
           + "alogflow.cx.v3beta1.ResponseMessage.Text"
           + "H\000\022*\n\007payload\030\002 \001(\0132\027.google.protobuf.St"
@@ -99,29 +99,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "tion\030\002 \001(\010B\003\340A\003\032=\n\020LiveAgentHandoff\022)\n\010m"
           + "etadata\030\001 \001(\0132\027.google.protobuf.Struct\032@"
           + "\n\023ConversationSuccess\022)\n\010metadata\030\001 \001(\0132"
-          + "\027.google.protobuf.Struct\032;\n\017OutputAudioT"
-          + "ext\022\016\n\004text\030\001 \001(\tH\000\022\016\n\004ssml\030\002 \001(\tH\000B\010\n\006s"
-          + "ource\032\020\n\016EndInteraction\032\306\001\n\nMixedAudio\022X"
-          + "\n\010segments\030\001 \003(\0132F.google.cloud.dialogfl"
-          + "ow.cx.v3beta1.ResponseMessage.MixedAudio"
-          + ".Segment\032^\n\007Segment\022\017\n\005audio\030\001 \001(\014H\000\022\r\n\003"
-          + "uri\030\002 \001(\tH\000\022(\n\033allow_playback_interrupti"
-          + "on\030\003 \001(\010B\003\340A\003B\t\n\007content\032M\n\tPlayAudio\022\026\n"
-          + "\taudio_uri\030\001 \001(\tB\003\340A\002\022(\n\033allow_playback_"
-          + "interruption\030\002 \001(\010B\003\340A\003B\t\n\007messageB\263\001\n&c"
-          + "om.google.cloud.dialogflow.cx.v3beta1B\024R"
-          + "esponseMessageProtoP\001ZDgoogle.golang.org"
-          + "/genproto/googleapis/cloud/dialogflow/cx"
-          + "/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialo"
-          + "gflow.Cx.V3Beta1b\006proto3"
+          + "\027.google.protobuf.Struct\032e\n\017OutputAudioT"
+          + "ext\022\016\n\004text\030\001 \001(\tH\000\022\016\n\004ssml\030\002 \001(\tH\000\022(\n\033a"
+          + "llow_playback_interruption\030\003 \001(\010B\003\340A\003B\010\n"
+          + "\006source\032\020\n\016EndInteraction\032M\n\tPlayAudio\022\026"
+          + "\n\taudio_uri\030\001 \001(\tB\003\340A\002\022(\n\033allow_playback"
+          + "_interruption\030\002 \001(\010B\003\340A\003\032\306\001\n\nMixedAudio\022"
+          + "X\n\010segments\030\001 \003(\0132F.google.cloud.dialogf"
+          + "low.cx.v3beta1.ResponseMessage.MixedAudi"
+          + "o.Segment\032^\n\007Segment\022\017\n\005audio\030\001 \001(\014H\000\022\r\n"
+          + "\003uri\030\002 \001(\tH\000\022(\n\033allow_playback_interrupt"
+          + "ion\030\003 \001(\010B\003\340A\003B\t\n\007contentB\t\n\007messageB\263\001\n"
+          + "&com.google.cloud.dialogflow.cx.v3beta1B"
+          + "\024ResponseMessageProtoP\001ZDgoogle.golang.o"
+          + "rg/genproto/googleapis/cloud/dialogflow/"
+          + "cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dia"
+          + "logflow.Cx.V3Beta1b\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.protobuf.StructProto.getDescriptor(),
+              com.google.api.AnnotationsProto.getDescriptor(),
             });
     internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor =
         getDescriptor().getMessageTypes().get(0);
@@ -177,7 +178,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_OutputAudioText_descriptor,
             new java.lang.String[] {
-              "Text", "Ssml", "Source",
+              "Text", "Ssml", "AllowPlaybackInterruption", "Source",
             });
     internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor =
         internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor
@@ -187,10 +188,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor,
             new java.lang.String[] {});
-    internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor =
+    internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor =
         internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor
             .getNestedTypes()
             .get(5);
+    internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor,
+            new java.lang.String[] {
+              "AudioUri", "AllowPlaybackInterruption",
+            });
+    internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor =
+        internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor
+            .getNestedTypes()
+            .get(6);
     internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor,
@@ -207,24 +218,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
             new java.lang.String[] {
               "Audio", "Uri", "AllowPlaybackInterruption", "Content",
             });
-    internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor =
-        internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor
-            .getNestedTypes()
-            .get(6);
-    internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor,
-            new java.lang.String[] {
-              "AudioUri", "AllowPlaybackInterruption",
-            });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
         descriptor, registry);
-    com.google.api.AnnotationsProto.getDescriptor();
     com.google.api.FieldBehaviorProto.getDescriptor();
     com.google.protobuf.StructProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
   }
 
   // @@protoc_insertion_point(outer_class_scope)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResult.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResult.java
new file mode 100644
index 000000000..2bbd1cf41
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResult.java
@@ -0,0 +1,657 @@
+/*
+ * 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/cx/v3beta1/session.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+/**
+ *
+ *
+ * 
+ * The result of sentiment analysis. Sentiment analysis inspects user input
+ * and identifies the prevailing subjective opinion, especially to determine a
+ * user's attitude as positive, negative, or neutral.
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult} + */ +public final class SentimentAnalysisResult extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult) + SentimentAnalysisResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use SentimentAnalysisResult.newBuilder() to construct. + private SentimentAnalysisResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SentimentAnalysisResult() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SentimentAnalysisResult(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private SentimentAnalysisResult( + 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 13: + { + score_ = input.readFloat(); + break; + } + case 21: + { + magnitude_ = input.readFloat(); + 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.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.class, + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder.class); + } + + public static final int SCORE_FIELD_NUMBER = 1; + private float score_; + /** + * + * + *
+   * Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+   * sentiment).
+   * 
+ * + * float score = 1; + * + * @return The score. + */ + @java.lang.Override + public float getScore() { + return score_; + } + + public static final int MAGNITUDE_FIELD_NUMBER = 2; + private float magnitude_; + /** + * + * + *
+   * A non-negative number in the [0, +inf) range, which represents the absolute
+   * magnitude of sentiment, regardless of score (positive or negative).
+   * 
+ * + * float magnitude = 2; + * + * @return The magnitude. + */ + @java.lang.Override + public float getMagnitude() { + return magnitude_; + } + + 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 (score_ != 0F) { + output.writeFloat(1, score_); + } + if (magnitude_ != 0F) { + output.writeFloat(2, magnitude_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (score_ != 0F) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, score_); + } + if (magnitude_ != 0F) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, magnitude_); + } + 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.cx.v3beta1.SentimentAnalysisResult)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult other = + (com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult) obj; + + if (java.lang.Float.floatToIntBits(getScore()) + != java.lang.Float.floatToIntBits(other.getScore())) return false; + if (java.lang.Float.floatToIntBits(getMagnitude()) + != java.lang.Float.floatToIntBits(other.getMagnitude())) 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) + SCORE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore()); + hash = (37 * hash) + MAGNITUDE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getMagnitude()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult 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.cx.v3beta1.SentimentAnalysisResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult 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.cx.v3beta1.SentimentAnalysisResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult 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.cx.v3beta1.SentimentAnalysisResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult 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.cx.v3beta1.SentimentAnalysisResult parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult 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.cx.v3beta1.SentimentAnalysisResult 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 result of sentiment analysis. Sentiment analysis inspects user input
+   * and identifies the prevailing subjective opinion, especially to determine a
+   * user's attitude as positive, negative, or neutral.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult) + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.class, + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.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(); + score_ = 0F; + + magnitude_ = 0F; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult build() { + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult result = + new com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult(this); + result.score_ = score_; + result.magnitude_ = magnitude_; + 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.cx.v3beta1.SentimentAnalysisResult) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.getDefaultInstance()) + return this; + if (other.getScore() != 0F) { + setScore(other.getScore()); + } + if (other.getMagnitude() != 0F) { + setMagnitude(other.getMagnitude()); + } + 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.cx.v3beta1.SentimentAnalysisResult parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private float score_; + /** + * + * + *
+     * Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+     * sentiment).
+     * 
+ * + * float score = 1; + * + * @return The score. + */ + @java.lang.Override + public float getScore() { + return score_; + } + /** + * + * + *
+     * Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+     * sentiment).
+     * 
+ * + * float score = 1; + * + * @param value The score to set. + * @return This builder for chaining. + */ + public Builder setScore(float value) { + + score_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+     * sentiment).
+     * 
+ * + * float score = 1; + * + * @return This builder for chaining. + */ + public Builder clearScore() { + + score_ = 0F; + onChanged(); + return this; + } + + private float magnitude_; + /** + * + * + *
+     * A non-negative number in the [0, +inf) range, which represents the absolute
+     * magnitude of sentiment, regardless of score (positive or negative).
+     * 
+ * + * float magnitude = 2; + * + * @return The magnitude. + */ + @java.lang.Override + public float getMagnitude() { + return magnitude_; + } + /** + * + * + *
+     * A non-negative number in the [0, +inf) range, which represents the absolute
+     * magnitude of sentiment, regardless of score (positive or negative).
+     * 
+ * + * float magnitude = 2; + * + * @param value The magnitude to set. + * @return This builder for chaining. + */ + public Builder setMagnitude(float value) { + + magnitude_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A non-negative number in the [0, +inf) range, which represents the absolute
+     * magnitude of sentiment, regardless of score (positive or negative).
+     * 
+ * + * float magnitude = 2; + * + * @return This builder for chaining. + */ + public Builder clearMagnitude() { + + magnitude_ = 0F; + 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.cx.v3beta1.SentimentAnalysisResult) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult) + private static final com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SentimentAnalysisResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SentimentAnalysisResult(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.cx.v3beta1.SentimentAnalysisResult + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResultOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResultOrBuilder.java new file mode 100644 index 000000000..b14b83434 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResultOrBuilder.java @@ -0,0 +1,53 @@ +/* + * 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/cx/v3beta1/session.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface SentimentAnalysisResultOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+   * sentiment).
+   * 
+ * + * float score = 1; + * + * @return The score. + */ + float getScore(); + + /** + * + * + *
+   * A non-negative number in the [0, +inf) range, which represents the absolute
+   * magnitude of sentiment, regardless of score (positive or negative).
+   * 
+ * + * float magnitude = 2; + * + * @return The magnitude. + */ + float getMagnitude(); +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityType.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityType.java index 7a2026bfc..464dcdcfe 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityType.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityType.java @@ -26,9 +26,9 @@ * entities that are built for an individual user such as favorites, * preferences, playlists, and so on. * You can redefine a session entity type at the session level to extend or - * replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType] - * at the user session level (we refer to the entity types defined at the agent - * level as "custom entity types"). + * replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType] at the user session level (we + * refer to the entity types defined at the agent level as "custom entity + * types"). * Note: session entity types apply to all queries, regardless of the language. * For more information about entity types, see the [Dialogflow * documentation](https://cloud.google.com/dialogflow/docs/entities-overview). @@ -188,9 +188,8 @@ public enum EntityOverrideMode implements com.google.protobuf.ProtocolMessageEnu * `GetSessionEntityType`, `CreateSessionEntityType` and * `UpdateSessionEntityType` only return the additional entities added in * this session entity type. If you want to get the supplemented list, - * please call - * [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType] - * on the custom entity type and merge. + * please call [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType] on the custom entity type + * and merge. *
* * ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2; @@ -230,9 +229,8 @@ public enum EntityOverrideMode implements com.google.protobuf.ProtocolMessageEnu * `GetSessionEntityType`, `CreateSessionEntityType` and * `UpdateSessionEntityType` only return the additional entities added in * this session entity type. If you want to get the supplemented list, - * please call - * [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType] - * on the custom entity type and merge. + * please call [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType] on the custom entity type + * and merge. *
* * ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2; @@ -394,8 +392,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. Indicates whether the additional data should override or
-   * supplement the custom entity type definition.
+   * Required. Indicates whether the additional data should override or supplement the
+   * custom entity type definition.
    * 
* * @@ -412,8 +410,8 @@ public int getEntityOverrideModeValue() { * * *
-   * Required. Indicates whether the additional data should override or
-   * supplement the custom entity type definition.
+   * Required. Indicates whether the additional data should override or supplement the
+   * custom entity type definition.
    * 
* * @@ -440,8 +438,8 @@ public int getEntityOverrideModeValue() { * * *
-   * Required. The collection of entities to override or supplement the custom
-   * entity type.
+   * Required. The collection of entities to override or supplement the custom entity
+   * type.
    * 
* * @@ -457,8 +455,8 @@ public int getEntityOverrideModeValue() { * * *
-   * Required. The collection of entities to override or supplement the custom
-   * entity type.
+   * Required. The collection of entities to override or supplement the custom entity
+   * type.
    * 
* * @@ -474,8 +472,8 @@ public int getEntityOverrideModeValue() { * * *
-   * Required. The collection of entities to override or supplement the custom
-   * entity type.
+   * Required. The collection of entities to override or supplement the custom entity
+   * type.
    * 
* * @@ -490,8 +488,8 @@ public int getEntitiesCount() { * * *
-   * Required. The collection of entities to override or supplement the custom
-   * entity type.
+   * Required. The collection of entities to override or supplement the custom entity
+   * type.
    * 
* * @@ -506,8 +504,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.Entity getEntities(int * * *
-   * Required. The collection of entities to override or supplement the custom
-   * entity type.
+   * Required. The collection of entities to override or supplement the custom entity
+   * type.
    * 
* * @@ -714,9 +712,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * entities that are built for an individual user such as favorites, * preferences, playlists, and so on. * You can redefine a session entity type at the session level to extend or - * replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType] - * at the user session level (we refer to the entity types defined at the agent - * level as "custom entity types"). + * replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType] at the user session level (we + * refer to the entity types defined at the agent level as "custom entity + * types"). * Note: session entity types apply to all queries, regardless of the language. * For more information about entity types, see the [Dialogflow * documentation](https://cloud.google.com/dialogflow/docs/entities-overview). @@ -1068,8 +1066,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Indicates whether the additional data should override or
-     * supplement the custom entity type definition.
+     * Required. Indicates whether the additional data should override or supplement the
+     * custom entity type definition.
      * 
* * @@ -1086,8 +1084,8 @@ public int getEntityOverrideModeValue() { * * *
-     * Required. Indicates whether the additional data should override or
-     * supplement the custom entity type definition.
+     * Required. Indicates whether the additional data should override or supplement the
+     * custom entity type definition.
      * 
* * @@ -1107,8 +1105,8 @@ public Builder setEntityOverrideModeValue(int value) { * * *
-     * Required. Indicates whether the additional data should override or
-     * supplement the custom entity type definition.
+     * Required. Indicates whether the additional data should override or supplement the
+     * custom entity type definition.
      * 
* * @@ -1132,8 +1130,8 @@ public Builder setEntityOverrideModeValue(int value) { * * *
-     * Required. Indicates whether the additional data should override or
-     * supplement the custom entity type definition.
+     * Required. Indicates whether the additional data should override or supplement the
+     * custom entity type definition.
      * 
* * @@ -1157,8 +1155,8 @@ public Builder setEntityOverrideMode( * * *
-     * Required. Indicates whether the additional data should override or
-     * supplement the custom entity type definition.
+     * Required. Indicates whether the additional data should override or supplement the
+     * custom entity type definition.
      * 
* * @@ -1196,8 +1194,8 @@ private void ensureEntitiesIsMutable() { * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1216,8 +1214,8 @@ private void ensureEntitiesIsMutable() { * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1235,8 +1233,8 @@ public int getEntitiesCount() { * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1254,8 +1252,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.Entity getEntities(int * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1280,8 +1278,8 @@ public Builder setEntities( * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1304,8 +1302,8 @@ public Builder setEntities( * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1329,8 +1327,8 @@ public Builder addEntities(com.google.cloud.dialogflow.cx.v3beta1.EntityType.Ent * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1355,8 +1353,8 @@ public Builder addEntities( * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1378,8 +1376,8 @@ public Builder addEntities( * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1402,8 +1400,8 @@ public Builder addEntities( * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1426,8 +1424,8 @@ public Builder addAllEntities( * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1448,8 +1446,8 @@ public Builder clearEntities() { * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1470,8 +1468,8 @@ public Builder removeEntities(int index) { * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1486,8 +1484,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.Entity.Builder getEntit * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1506,8 +1504,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.EntityOrBuilder getEnti * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1527,8 +1525,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.EntityOrBuilder getEnti * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1544,8 +1542,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.Entity.Builder addEntit * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * @@ -1562,8 +1560,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.Entity.Builder addEntit * * *
-     * Required. The collection of entities to override or supplement the custom
-     * entity type.
+     * Required. The collection of entities to override or supplement the custom entity
+     * type.
      * 
* * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeOrBuilder.java index b84030790..ae653bfa2 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeOrBuilder.java @@ -64,8 +64,8 @@ public interface SessionEntityTypeOrBuilder * * *
-   * Required. Indicates whether the additional data should override or
-   * supplement the custom entity type definition.
+   * Required. Indicates whether the additional data should override or supplement the
+   * custom entity type definition.
    * 
* * @@ -79,8 +79,8 @@ public interface SessionEntityTypeOrBuilder * * *
-   * Required. Indicates whether the additional data should override or
-   * supplement the custom entity type definition.
+   * Required. Indicates whether the additional data should override or supplement the
+   * custom entity type definition.
    * 
* * @@ -96,8 +96,8 @@ public interface SessionEntityTypeOrBuilder * * *
-   * Required. The collection of entities to override or supplement the custom
-   * entity type.
+   * Required. The collection of entities to override or supplement the custom entity
+   * type.
    * 
* * @@ -109,8 +109,8 @@ public interface SessionEntityTypeOrBuilder * * *
-   * Required. The collection of entities to override or supplement the custom
-   * entity type.
+   * Required. The collection of entities to override or supplement the custom entity
+   * type.
    * 
* * @@ -122,8 +122,8 @@ public interface SessionEntityTypeOrBuilder * * *
-   * Required. The collection of entities to override or supplement the custom
-   * entity type.
+   * Required. The collection of entities to override or supplement the custom entity
+   * type.
    * 
* * @@ -135,8 +135,8 @@ public interface SessionEntityTypeOrBuilder * * *
-   * Required. The collection of entities to override or supplement the custom
-   * entity type.
+   * Required. The collection of entities to override or supplement the custom entity
+   * type.
    * 
* * @@ -149,8 +149,8 @@ public interface SessionEntityTypeOrBuilder * * *
-   * Required. The collection of entities to override or supplement the custom
-   * entity type.
+   * Required. The collection of entities to override or supplement the custom entity
+   * type.
    * 
* * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfo.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfo.java index 154ec9bed..08b4e999d 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfo.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfo.java @@ -145,14 +145,10 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * Always present for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Ignored for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * unique identifier of the
-   * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
-   * This field can be used by the webhook to identify a user. Format:
-   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+   * field can be used by the webhook to identify a user.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/sessions/<Session ID>`.
    * 
* @@ -176,14 +172,10 @@ public java.lang.String getSession() { * * *
-   * Always present for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Ignored for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * unique identifier of the
-   * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
-   * This field can be used by the webhook to identify a user. Format:
-   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+   * field can be used by the webhook to identify a user.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/sessions/<Session ID>`.
    * 
* @@ -236,16 +228,12 @@ public int getParametersCount() { * * *
-   * Optional for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Optional for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-   * parameters collected from forms and intents during the session. Parameters
-   * can be created, updated, or removed by the webhook. To remove a parameter
-   * from the session, the webhook should explicitly set the parameter value to
-   * null in
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * map is keyed by parameters' display names.
+   * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * All parameters collected from forms and intents during the session.
+   * Parameters can be created, updated, or removed by the webhook. To remove a
+   * parameter from the session, the webhook should explicitly set the parameter
+   * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+   * display names.
    * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -267,16 +255,12 @@ public java.util.Map getParameters( * * *
-   * Optional for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Optional for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-   * parameters collected from forms and intents during the session. Parameters
-   * can be created, updated, or removed by the webhook. To remove a parameter
-   * from the session, the webhook should explicitly set the parameter value to
-   * null in
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * map is keyed by parameters' display names.
+   * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * All parameters collected from forms and intents during the session.
+   * Parameters can be created, updated, or removed by the webhook. To remove a
+   * parameter from the session, the webhook should explicitly set the parameter
+   * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+   * display names.
    * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -289,16 +273,12 @@ public java.util.Map getParametersM * * *
-   * Optional for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Optional for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-   * parameters collected from forms and intents during the session. Parameters
-   * can be created, updated, or removed by the webhook. To remove a parameter
-   * from the session, the webhook should explicitly set the parameter value to
-   * null in
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * map is keyed by parameters' display names.
+   * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * All parameters collected from forms and intents during the session.
+   * Parameters can be created, updated, or removed by the webhook. To remove a
+   * parameter from the session, the webhook should explicitly set the parameter
+   * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+   * display names.
    * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -317,16 +297,12 @@ public com.google.protobuf.Value getParametersOrDefault( * * *
-   * Optional for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Optional for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-   * parameters collected from forms and intents during the session. Parameters
-   * can be created, updated, or removed by the webhook. To remove a parameter
-   * from the session, the webhook should explicitly set the parameter value to
-   * null in
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * map is keyed by parameters' display names.
+   * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * All parameters collected from forms and intents during the session.
+   * Parameters can be created, updated, or removed by the webhook. To remove a
+   * parameter from the session, the webhook should explicitly set the parameter
+   * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+   * display names.
    * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -711,14 +687,10 @@ public Builder mergeFrom( * * *
-     * Always present for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Ignored for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * unique identifier of the
-     * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
-     * This field can be used by the webhook to identify a user. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+     * field can be used by the webhook to identify a user.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/sessions/<Session ID>`.
      * 
* @@ -741,14 +713,10 @@ public java.lang.String getSession() { * * *
-     * Always present for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Ignored for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * unique identifier of the
-     * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
-     * This field can be used by the webhook to identify a user. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+     * field can be used by the webhook to identify a user.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/sessions/<Session ID>`.
      * 
* @@ -771,14 +739,10 @@ public com.google.protobuf.ByteString getSessionBytes() { * * *
-     * Always present for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Ignored for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * unique identifier of the
-     * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
-     * This field can be used by the webhook to identify a user. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+     * field can be used by the webhook to identify a user.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/sessions/<Session ID>`.
      * 
* @@ -800,14 +764,10 @@ public Builder setSession(java.lang.String value) { * * *
-     * Always present for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Ignored for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * unique identifier of the
-     * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
-     * This field can be used by the webhook to identify a user. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+     * field can be used by the webhook to identify a user.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/sessions/<Session ID>`.
      * 
* @@ -825,14 +785,10 @@ public Builder clearSession() { * * *
-     * Always present for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Ignored for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * unique identifier of the
-     * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
-     * This field can be used by the webhook to identify a user. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+     * field can be used by the webhook to identify a user.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/sessions/<Session ID>`.
      * 
* @@ -884,16 +840,12 @@ public int getParametersCount() { * * *
-     * Optional for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Optional for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-     * parameters collected from forms and intents during the session. Parameters
-     * can be created, updated, or removed by the webhook. To remove a parameter
-     * from the session, the webhook should explicitly set the parameter value to
-     * null in
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * map is keyed by parameters' display names.
+     * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * All parameters collected from forms and intents during the session.
+     * Parameters can be created, updated, or removed by the webhook. To remove a
+     * parameter from the session, the webhook should explicitly set the parameter
+     * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+     * display names.
      * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -915,16 +867,12 @@ public java.util.Map getParameters( * * *
-     * Optional for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Optional for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-     * parameters collected from forms and intents during the session. Parameters
-     * can be created, updated, or removed by the webhook. To remove a parameter
-     * from the session, the webhook should explicitly set the parameter value to
-     * null in
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * map is keyed by parameters' display names.
+     * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * All parameters collected from forms and intents during the session.
+     * Parameters can be created, updated, or removed by the webhook. To remove a
+     * parameter from the session, the webhook should explicitly set the parameter
+     * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+     * display names.
      * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -937,16 +885,12 @@ public java.util.Map getParametersM * * *
-     * Optional for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Optional for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-     * parameters collected from forms and intents during the session. Parameters
-     * can be created, updated, or removed by the webhook. To remove a parameter
-     * from the session, the webhook should explicitly set the parameter value to
-     * null in
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * map is keyed by parameters' display names.
+     * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * All parameters collected from forms and intents during the session.
+     * Parameters can be created, updated, or removed by the webhook. To remove a
+     * parameter from the session, the webhook should explicitly set the parameter
+     * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+     * display names.
      * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -965,16 +909,12 @@ public com.google.protobuf.Value getParametersOrDefault( * * *
-     * Optional for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Optional for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-     * parameters collected from forms and intents during the session. Parameters
-     * can be created, updated, or removed by the webhook. To remove a parameter
-     * from the session, the webhook should explicitly set the parameter value to
-     * null in
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * map is keyed by parameters' display names.
+     * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * All parameters collected from forms and intents during the session.
+     * Parameters can be created, updated, or removed by the webhook. To remove a
+     * parameter from the session, the webhook should explicitly set the parameter
+     * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+     * display names.
      * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -1000,16 +940,12 @@ public Builder clearParameters() { * * *
-     * Optional for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Optional for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-     * parameters collected from forms and intents during the session. Parameters
-     * can be created, updated, or removed by the webhook. To remove a parameter
-     * from the session, the webhook should explicitly set the parameter value to
-     * null in
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * map is keyed by parameters' display names.
+     * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * All parameters collected from forms and intents during the session.
+     * Parameters can be created, updated, or removed by the webhook. To remove a
+     * parameter from the session, the webhook should explicitly set the parameter
+     * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+     * display names.
      * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -1030,16 +966,12 @@ public java.util.Map getMutablePara * * *
-     * Optional for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Optional for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-     * parameters collected from forms and intents during the session. Parameters
-     * can be created, updated, or removed by the webhook. To remove a parameter
-     * from the session, the webhook should explicitly set the parameter value to
-     * null in
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * map is keyed by parameters' display names.
+     * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * All parameters collected from forms and intents during the session.
+     * Parameters can be created, updated, or removed by the webhook. To remove a
+     * parameter from the session, the webhook should explicitly set the parameter
+     * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+     * display names.
      * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -1058,16 +990,12 @@ public Builder putParameters(java.lang.String key, com.google.protobuf.Value val * * *
-     * Optional for
-     * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-     * Optional for
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-     * parameters collected from forms and intents during the session. Parameters
-     * can be created, updated, or removed by the webhook. To remove a parameter
-     * from the session, the webhook should explicitly set the parameter value to
-     * null in
-     * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-     * map is keyed by parameters' display names.
+     * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+     * All parameters collected from forms and intents during the session.
+     * Parameters can be created, updated, or removed by the webhook. To remove a
+     * parameter from the session, the webhook should explicitly set the parameter
+     * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+     * display names.
      * 
* * map<string, .google.protobuf.Value> parameters = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfoOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfoOrBuilder.java index e7ce9697f..834c00b0a 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfoOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfoOrBuilder.java @@ -27,14 +27,10 @@ public interface SessionInfoOrBuilder * * *
-   * Always present for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Ignored for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * unique identifier of the
-   * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
-   * This field can be used by the webhook to identify a user. Format:
-   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+   * field can be used by the webhook to identify a user.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/sessions/<Session ID>`.
    * 
* @@ -47,14 +43,10 @@ public interface SessionInfoOrBuilder * * *
-   * Always present for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Ignored for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * unique identifier of the
-   * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
-   * This field can be used by the webhook to identify a user. Format:
-   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+   * field can be used by the webhook to identify a user.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/sessions/<Session ID>`.
    * 
* @@ -68,16 +60,12 @@ public interface SessionInfoOrBuilder * * *
-   * Optional for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Optional for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-   * parameters collected from forms and intents during the session. Parameters
-   * can be created, updated, or removed by the webhook. To remove a parameter
-   * from the session, the webhook should explicitly set the parameter value to
-   * null in
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * map is keyed by parameters' display names.
+   * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * All parameters collected from forms and intents during the session.
+   * Parameters can be created, updated, or removed by the webhook. To remove a
+   * parameter from the session, the webhook should explicitly set the parameter
+   * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+   * display names.
    * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -87,16 +75,12 @@ public interface SessionInfoOrBuilder * * *
-   * Optional for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Optional for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-   * parameters collected from forms and intents during the session. Parameters
-   * can be created, updated, or removed by the webhook. To remove a parameter
-   * from the session, the webhook should explicitly set the parameter value to
-   * null in
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * map is keyed by parameters' display names.
+   * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * All parameters collected from forms and intents during the session.
+   * Parameters can be created, updated, or removed by the webhook. To remove a
+   * parameter from the session, the webhook should explicitly set the parameter
+   * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+   * display names.
    * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -109,16 +93,12 @@ public interface SessionInfoOrBuilder * * *
-   * Optional for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Optional for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-   * parameters collected from forms and intents during the session. Parameters
-   * can be created, updated, or removed by the webhook. To remove a parameter
-   * from the session, the webhook should explicitly set the parameter value to
-   * null in
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * map is keyed by parameters' display names.
+   * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * All parameters collected from forms and intents during the session.
+   * Parameters can be created, updated, or removed by the webhook. To remove a
+   * parameter from the session, the webhook should explicitly set the parameter
+   * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+   * display names.
    * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -128,16 +108,12 @@ public interface SessionInfoOrBuilder * * *
-   * Optional for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Optional for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-   * parameters collected from forms and intents during the session. Parameters
-   * can be created, updated, or removed by the webhook. To remove a parameter
-   * from the session, the webhook should explicitly set the parameter value to
-   * null in
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * map is keyed by parameters' display names.
+   * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * All parameters collected from forms and intents during the session.
+   * Parameters can be created, updated, or removed by the webhook. To remove a
+   * parameter from the session, the webhook should explicitly set the parameter
+   * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+   * display names.
    * 
* * map<string, .google.protobuf.Value> parameters = 2; @@ -148,16 +124,12 @@ com.google.protobuf.Value getParametersOrDefault( * * *
-   * Optional for
-   * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
-   * Optional for
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
-   * parameters collected from forms and intents during the session. Parameters
-   * can be created, updated, or removed by the webhook. To remove a parameter
-   * from the session, the webhook should explicitly set the parameter value to
-   * null in
-   * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
-   * map is keyed by parameters' display names.
+   * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+   * All parameters collected from forms and intents during the session.
+   * Parameters can be created, updated, or removed by the webhook. To remove a
+   * parameter from the session, the webhook should explicitly set the parameter
+   * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+   * display names.
    * 
* * map<string, .google.protobuf.Value> parameters = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java index 8033337a0..4638f3337 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java @@ -71,6 +71,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_AudioInput_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_AudioInput_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -91,6 +95,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -102,175 +110,184 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n0google/cloud/dialogflow/cx/v3beta1/ses" + "sion.proto\022\"google.cloud.dialogflow.cx.v" - + "3beta1\032\034google/api/annotations.proto\032\027go" - + "ogle/api/client.proto\032\037google/api/field_" - + "behavior.proto\032\031google/api/resource.prot" - + "o\0325google/cloud/dialogflow/cx/v3beta1/au" - + "dio_config.proto\032/google/cloud/dialogflo" - + "w/cx/v3beta1/intent.proto\032-google/cloud/" - + "dialogflow/cx/v3beta1/page.proto\0329google" - + "/cloud/dialogflow/cx/v3beta1/response_me" - + "ssage.proto\032.google" - + ".cloud.dialogflow.cx.v3beta1.StreamingRe" - + "cognitionResultH\000\022Z\n\026detect_intent_respo" - + "nse\030\002 \001(\01328.google.cloud.dialogflow.cx.v" - + "3beta1.DetectIntentResponseH\000B\n\n\010respons" - + "e\"\251\003\n\032StreamingRecognitionResult\022`\n\014mess" - + "age_type\030\001 \001(\0162J.google.cloud.dialogflow" - + ".cx.v3beta1.StreamingRecognitionResult.M" - + "essageType\022\022\n\ntranscript\030\002 \001(\t\022\020\n\010is_fin" - + "al\030\003 \001(\010\022\022\n\nconfidence\030\004 \001(\002\022\021\n\tstabilit" - + "y\030\006 \001(\002\022L\n\020speech_word_info\030\007 \003(\01322.goog" - + "le.cloud.dialogflow.cx.v3beta1.SpeechWor" - + "dInfo\0224\n\021speech_end_offset\030\010 \001(\0132\031.googl" - + "e.protobuf.Duration\"X\n\013MessageType\022\034\n\030ME" - + "SSAGE_TYPE_UNSPECIFIED\020\000\022\016\n\nTRANSCRIPT\020\001" - + "\022\033\n\027END_OF_SINGLE_UTTERANCE\020\002\"\373\001\n\017QueryP" - + "arameters\022\021\n\ttime_zone\030\001 \001(\t\022)\n\014geo_loca" - + "tion\030\002 \001(\0132\023.google.type.LatLng\022S\n\024sessi" - + "on_entity_types\030\003 \003(\01325.google.cloud.dia" - + "logflow.cx.v3beta1.SessionEntityType\022(\n\007" - + "payload\030\004 \001(\0132\027.google.protobuf.Struct\022+" - + "\n\nparameters\030\005 \001(\0132\027.google.protobuf.Str" - + "uct\"\364\001\n\nQueryInput\022=\n\004text\030\002 \001(\0132-.googl" - + "e.cloud.dialogflow.cx.v3beta1.TextInputH" - + "\000\022A\n\006intent\030\003 \001(\0132/.google.cloud.dialogf" - + "low.cx.v3beta1.IntentInputH\000\022?\n\005audio\030\005 " - + "\001(\0132..google.cloud.dialogflow.cx.v3beta1" - + ".AudioInputH\000\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A" - + "\002B\007\n\005input\"\371\004\n\013QueryResult\022\016\n\004text\030\001 \001(\t" - + "H\000\022\030\n\016trigger_intent\030\013 \001(\tH\000\022\024\n\ntranscri" - + "pt\030\014 \001(\tH\000\022\027\n\rtrigger_event\030\016 \001(\tH\000\022\025\n\rl" - + "anguage_code\030\002 \001(\t\022+\n\nparameters\030\003 \001(\0132\027" - + ".google.protobuf.Struct\022N\n\021response_mess" - + "ages\030\004 \003(\01323.google.cloud.dialogflow.cx." - + "v3beta1.ResponseMessage\022,\n\020webhook_statu" - + "ses\030\r \003(\0132\022.google.rpc.Status\0221\n\020webhook" - + "_payloads\030\006 \003(\0132\027.google.protobuf.Struct" - + "\022>\n\014current_page\030\007 \001(\0132(.google.cloud.di" - + "alogflow.cx.v3beta1.Page\022>\n\006intent\030\010 \001(\013" - + "2*.google.cloud.dialogflow.cx.v3beta1.In" - + "tentB\002\030\001\022\'\n\033intent_detection_confidence\030" - + "\t \001(\002B\002\030\001\0228\n\005match\030\017 \001(\0132).google.cloud." - + "dialogflow.cx.v3beta1.Match\0220\n\017diagnosti" - + "c_info\030\n \001(\0132\027.google.protobuf.StructB\007\n" - + "\005query\"\036\n\tTextInput\022\021\n\004text\030\001 \001(\tB\003\340A\002\"G" - + "\n\013IntentInput\0228\n\006intent\030\001 \001(\tB(\340A\002\372A\"\n d" - + "ialogflow.googleapis.com/Intent\"f\n\nAudio" - + "Input\022I\n\006config\030\001 \001(\01324.google.cloud.dia" - + "logflow.cx.v3beta1.InputAudioConfigB\003\340A\002" - + "\022\r\n\005audio\030\002 \001(\014\"\340\002\n\005Match\022:\n\006intent\030\001 \001(" - + "\0132*.google.cloud.dialogflow.cx.v3beta1.I" - + "ntent\022+\n\nparameters\030\002 \001(\0132\027.google.proto" - + "buf.Struct\022\026\n\016resolved_input\030\003 \001(\t\022G\n\nma" - + "tch_type\030\004 \001(\01623.google.cloud.dialogflow" - + ".cx.v3beta1.Match.MatchType\022\022\n\nconfidenc" - + "e\030\005 \001(\002\"y\n\tMatchType\022\032\n\026MATCH_TYPE_UNSPE" - + "CIFIED\020\000\022\n\n\006INTENT\020\001\022\021\n\rDIRECT_INTENT\020\002\022" - + "\025\n\021PARAMETER_FILLING\020\003\022\014\n\010NO_MATCH\020\004\022\014\n\010" - + "NO_INPUT\020\005\"\345\001\n\022MatchIntentRequest\022:\n\007ses" - + "sion\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapi" - + "s.com/Session\022I\n\014query_params\030\002 \001(\01323.go" - + "ogle.cloud.dialogflow.cx.v3beta1.QueryPa" - + "rameters\022H\n\013query_input\030\003 \001(\0132..google.c" - + "loud.dialogflow.cx.v3beta1.QueryInputB\003\340" - + "A\002\"\332\001\n\023MatchIntentResponse\022\016\n\004text\030\001 \001(\t" - + "H\000\022\030\n\016trigger_intent\030\002 \001(\tH\000\022\024\n\ntranscri" - + "pt\030\003 \001(\tH\000\022:\n\007matches\030\004 \003(\0132).google.clo" - + "ud.dialogflow.cx.v3beta1.Match\022>\n\014curren" - + "t_page\030\005 \001(\0132(.google.cloud.dialogflow.c" - + "x.v3beta1.PageB\007\n\005query\"\372\001\n\024FulfillInten" - + "tRequest\022T\n\024match_intent_request\030\001 \001(\01326" - + ".google.cloud.dialogflow.cx.v3beta1.Matc" - + "hIntentRequest\0228\n\005match\030\002 \001(\0132).google.c" - + "loud.dialogflow.cx.v3beta1.Match\022R\n\023outp" - + "ut_audio_config\030\003 \001(\01325.google.cloud.dia" - + "logflow.cx.v3beta1.OutputAudioConfig\"\335\001\n" - + "\025FulfillIntentResponse\022\023\n\013response_id\030\001 " - + "\001(\t\022E\n\014query_result\030\002 \001(\0132/.google.cloud" - + ".dialogflow.cx.v3beta1.QueryResult\022\024\n\014ou" - + "tput_audio\030\003 \001(\014\022R\n\023output_audio_config\030" - + "\004 \001(\01325.google.cloud.dialogflow.cx.v3bet" - + "a1.OutputAudioConfig2\212\n\n\010Sessions\022\272\002\n\014De" - + "tectIntent\0227.google.cloud.dialogflow.cx." - + "v3beta1.DetectIntentRequest\0328.google.clo" - + "ud.dialogflow.cx.v3beta1.DetectIntentRes" - + "ponse\"\266\001\202\323\344\223\002\257\001\"J/v3beta1/{session=proje" - + "cts/*/locations/*/agents/*/sessions/*}:d" - + "etectIntent:\001*Z^\"Y/v3beta1/{session=proj" - + "ects/*/locations/*/agents/*/environments" - + "/*/sessions/*}:detectIntent:\001*\022\242\001\n\025Strea" - + "mingDetectIntent\022@.google.cloud.dialogfl" - + "ow.cx.v3beta1.StreamingDetectIntentReque" - + "st\032A.google.cloud.dialogflow.cx.v3beta1." - + "StreamingDetectIntentResponse\"\000(\0010\001\022\265\002\n\013" - + "MatchIntent\0226.google.cloud.dialogflow.cx" - + ".v3beta1.MatchIntentRequest\0327.google.clo" - + "ud.dialogflow.cx.v3beta1.MatchIntentResp" - + "onse\"\264\001\202\323\344\223\002\255\001\"I/v3beta1/{session=projec" - + "ts/*/locations/*/agents/*/sessions/*}:ma" - + "tchIntent:\001*Z]\"X/v3beta1/{session=projec" - + "ts/*/locations/*/agents/*/environments/*" - + "/sessions/*}:matchIntent:\001*\022\351\002\n\rFulfillI" - + "ntent\0228.google.cloud.dialogflow.cx.v3bet" - + "a1.FulfillIntentRequest\0329.google.cloud.d" - + "ialogflow.cx.v3beta1.FulfillIntentRespon" - + "se\"\342\001\202\323\344\223\002\333\001\"`/v3beta1/{match_intent_req" - + "uest.session=projects/*/locations/*/agen" - + "ts/*/sessions/*}:fulfillIntent:\001*Zt\"o/v3" - + "beta1/{match_intent_request.session=proj" - + "ects/*/locations/*/agents/*/environments" - + "/*/sessions/*}:fulfillIntent:\001*\032x\312A\031dial" - + "ogflow.googleapis.com\322AYhttps://www.goog" - + "leapis.com/auth/cloud-platform,https://w" - + "ww.googleapis.com/auth/dialogflowB\203\003\n&co" - + "m.google.cloud.dialogflow.cx.v3beta1B\014Se" - + "ssionProtoP\001ZDgoogle.golang.org/genproto" - + "/googleapis/cloud/dialogflow/cx/v3beta1;" - + "cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx." - + "V3Beta1\352A\324\001\n!dialogflow.googleapis.com/S" - + "ession\022Iprojects/{project}/locations/{lo" - + "cation}/agents/{agent}/sessions/{session" - + "}\022dprojects/{project}/locations/{locatio" - + "n}/agents/{agent}/environments/{environm" - + "ent}/sessions/{session}b\006proto3" + + "3beta1\032\034google/api/annotations.proto\032\037go" + + "ogle/api/field_behavior.proto\032\031google/ap" + + "i/resource.proto\0325google/cloud/dialogflo" + + "w/cx/v3beta1/audio_config.proto\032-google/" + + "cloud/dialogflow/cx/v3beta1/flow.proto\032/" + + "google/cloud/dialogflow/cx/v3beta1/inten" + + "t.proto\032-google/cloud/dialogflow/cx/v3be" + + "ta1/page.proto\0329google/cloud/dialogflow/" + + "cx/v3beta1/response_message.proto\032" + + ".google.cloud.dialogflow.cx.v3beta1.Stre" + + "amingRecognitionResultH\000\022Z\n\026detect_inten" + + "t_response\030\002 \001(\01328.google.cloud.dialogfl" + + "ow.cx.v3beta1.DetectIntentResponseH\000B\n\n\010" + + "response\"\251\003\n\032StreamingRecognitionResult\022" + + "`\n\014message_type\030\001 \001(\0162J.google.cloud.dia" + + "logflow.cx.v3beta1.StreamingRecognitionR" + + "esult.MessageType\022\022\n\ntranscript\030\002 \001(\t\022\020\n" + + "\010is_final\030\003 \001(\010\022\022\n\nconfidence\030\004 \001(\002\022\021\n\ts" + + "tability\030\006 \001(\002\022L\n\020speech_word_info\030\007 \003(\013" + + "22.google.cloud.dialogflow.cx.v3beta1.Sp" + + "eechWordInfo\0224\n\021speech_end_offset\030\010 \001(\0132" + + "\031.google.protobuf.Duration\"X\n\013MessageTyp" + + "e\022\034\n\030MESSAGE_TYPE_UNSPECIFIED\020\000\022\016\n\nTRANS" + + "CRIPT\020\001\022\033\n\027END_OF_SINGLE_UTTERANCE\020\002\"\241\002\n" + + "\017QueryParameters\022\021\n\ttime_zone\030\001 \001(\t\022)\n\014g" + + "eo_location\030\002 \001(\0132\023.google.type.LatLng\022S" + + "\n\024session_entity_types\030\003 \003(\01325.google.cl" + + "oud.dialogflow.cx.v3beta1.SessionEntityT" + + "ype\022(\n\007payload\030\004 \001(\0132\027.google.protobuf.S" + + "truct\022+\n\nparameters\030\005 \001(\0132\027.google.proto" + + "buf.Struct\022$\n\034analyze_query_text_sentime" + + "nt\030\010 \001(\010\"\265\002\n\nQueryInput\022=\n\004text\030\002 \001(\0132-." + + "google.cloud.dialogflow.cx.v3beta1.TextI" + + "nputH\000\022A\n\006intent\030\003 \001(\0132/.google.cloud.di" + + "alogflow.cx.v3beta1.IntentInputH\000\022?\n\005aud" + + "io\030\005 \001(\0132..google.cloud.dialogflow.cx.v3" + + "beta1.AudioInputH\000\022?\n\005event\030\006 \001(\0132..goog" + + "le.cloud.dialogflow.cx.v3beta1.EventInpu" + + "tH\000\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A\002B\007\n\005input" + + "\"\331\005\n\013QueryResult\022\016\n\004text\030\001 \001(\tH\000\022\030\n\016trig" + + "ger_intent\030\013 \001(\tH\000\022\024\n\ntranscript\030\014 \001(\tH\000" + + "\022\027\n\rtrigger_event\030\016 \001(\tH\000\022\025\n\rlanguage_co" + + "de\030\002 \001(\t\022+\n\nparameters\030\003 \001(\0132\027.google.pr" + + "otobuf.Struct\022N\n\021response_messages\030\004 \003(\013" + + "23.google.cloud.dialogflow.cx.v3beta1.Re" + + "sponseMessage\022,\n\020webhook_statuses\030\r \003(\0132" + + "\022.google.rpc.Status\0221\n\020webhook_payloads\030" + + "\006 \003(\0132\027.google.protobuf.Struct\022>\n\014curren" + + "t_page\030\007 \001(\0132(.google.cloud.dialogflow.c" + + "x.v3beta1.Page\022>\n\006intent\030\010 \001(\0132*.google." + + "cloud.dialogflow.cx.v3beta1.IntentB\002\030\001\022\'" + + "\n\033intent_detection_confidence\030\t \001(\002B\002\030\001\022" + + "8\n\005match\030\017 \001(\0132).google.cloud.dialogflow" + + ".cx.v3beta1.Match\0220\n\017diagnostic_info\030\n \001" + + "(\0132\027.google.protobuf.Struct\022^\n\031sentiment" + + "_analysis_result\030\021 \001(\0132;.google.cloud.di" + + "alogflow.cx.v3beta1.SentimentAnalysisRes" + + "ultB\007\n\005query\"\036\n\tTextInput\022\021\n\004text\030\001 \001(\tB" + + "\003\340A\002\"G\n\013IntentInput\0228\n\006intent\030\001 \001(\tB(\340A\002" + + "\372A\"\n dialogflow.googleapis.com/Intent\"f\n" + + "\nAudioInput\022I\n\006config\030\001 \001(\01324.google.clo" + + "ud.dialogflow.cx.v3beta1.InputAudioConfi" + + "gB\003\340A\002\022\r\n\005audio\030\002 \001(\014\"\033\n\nEventInput\022\r\n\005e" + + "vent\030\001 \001(\t\"\340\002\n\005Match\022:\n\006intent\030\001 \001(\0132*.g" + + "oogle.cloud.dialogflow.cx.v3beta1.Intent" + + "\022+\n\nparameters\030\002 \001(\0132\027.google.protobuf.S" + + "truct\022\026\n\016resolved_input\030\003 \001(\t\022G\n\nmatch_t" + + "ype\030\004 \001(\01623.google.cloud.dialogflow.cx.v" + + "3beta1.Match.MatchType\022\022\n\nconfidence\030\005 \001" + + "(\002\"y\n\tMatchType\022\032\n\026MATCH_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006INTENT\020\001\022\021\n\rDIRECT_INTENT\020\002\022\025\n\021PA" + + "RAMETER_FILLING\020\003\022\014\n\010NO_MATCH\020\004\022\014\n\010NO_IN" + + "PUT\020\005\"\345\001\n\022MatchIntentRequest\022:\n\007session\030" + + "\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.com" + + "/Session\022I\n\014query_params\030\002 \001(\01323.google." + + "cloud.dialogflow.cx.v3beta1.QueryParamet" + + "ers\022H\n\013query_input\030\003 \001(\0132..google.cloud." + + "dialogflow.cx.v3beta1.QueryInputB\003\340A\002\"\363\001" + + "\n\023MatchIntentResponse\022\016\n\004text\030\001 \001(\tH\000\022\030\n" + + "\016trigger_intent\030\002 \001(\tH\000\022\024\n\ntranscript\030\003 " + + "\001(\tH\000\022\027\n\rtrigger_event\030\006 \001(\tH\000\022:\n\007matche" + + "s\030\004 \003(\0132).google.cloud.dialogflow.cx.v3b" + + "eta1.Match\022>\n\014current_page\030\005 \001(\0132(.googl" + + "e.cloud.dialogflow.cx.v3beta1.PageB\007\n\005qu" + + "ery\"\372\001\n\024FulfillIntentRequest\022T\n\024match_in" + + "tent_request\030\001 \001(\01326.google.cloud.dialog" + + "flow.cx.v3beta1.MatchIntentRequest\0228\n\005ma" + + "tch\030\002 \001(\0132).google.cloud.dialogflow.cx.v" + + "3beta1.Match\022R\n\023output_audio_config\030\003 \001(" + + "\01325.google.cloud.dialogflow.cx.v3beta1.O" + + "utputAudioConfig\"\335\001\n\025FulfillIntentRespon" + + "se\022\023\n\013response_id\030\001 \001(\t\022E\n\014query_result\030" + + "\002 \001(\0132/.google.cloud.dialogflow.cx.v3bet" + + "a1.QueryResult\022\024\n\014output_audio\030\003 \001(\014\022R\n\023" + + "output_audio_config\030\004 \001(\01325.google.cloud" + + ".dialogflow.cx.v3beta1.OutputAudioConfig" + + "\";\n\027SentimentAnalysisResult\022\r\n\005score\030\001 \001" + + "(\002\022\021\n\tmagnitude\030\002 \001(\0022\212\n\n\010Sessions\022\272\002\n\014D" + + "etectIntent\0227.google.cloud.dialogflow.cx" + + ".v3beta1.DetectIntentRequest\0328.google.cl" + + "oud.dialogflow.cx.v3beta1.DetectIntentRe" + + "sponse\"\266\001\202\323\344\223\002\257\001\"J/v3beta1/{session=proj" + + "ects/*/locations/*/agents/*/sessions/*}:" + + "detectIntent:\001*Z^\"Y/v3beta1/{session=pro" + + "jects/*/locations/*/agents/*/environment" + + "s/*/sessions/*}:detectIntent:\001*\022\242\001\n\025Stre" + + "amingDetectIntent\022@.google.cloud.dialogf" + + "low.cx.v3beta1.StreamingDetectIntentRequ" + + "est\032A.google.cloud.dialogflow.cx.v3beta1" + + ".StreamingDetectIntentResponse\"\000(\0010\001\022\265\002\n" + + "\013MatchIntent\0226.google.cloud.dialogflow.c" + + "x.v3beta1.MatchIntentRequest\0327.google.cl" + + "oud.dialogflow.cx.v3beta1.MatchIntentRes" + + "ponse\"\264\001\202\323\344\223\002\255\001\"I/v3beta1/{session=proje" + + "cts/*/locations/*/agents/*/sessions/*}:m" + + "atchIntent:\001*Z]\"X/v3beta1/{session=proje" + + "cts/*/locations/*/agents/*/environments/" + + "*/sessions/*}:matchIntent:\001*\022\351\002\n\rFulfill" + + "Intent\0228.google.cloud.dialogflow.cx.v3be" + + "ta1.FulfillIntentRequest\0329.google.cloud." + + "dialogflow.cx.v3beta1.FulfillIntentRespo" + + "nse\"\342\001\202\323\344\223\002\333\001\"`/v3beta1/{match_intent_re" + + "quest.session=projects/*/locations/*/age" + + "nts/*/sessions/*}:fulfillIntent:\001*Zt\"o/v" + + "3beta1/{match_intent_request.session=pro" + + "jects/*/locations/*/agents/*/environment" + + "s/*/sessions/*}:fulfillIntent:\001*\032x\312A\031dia" + + "logflow.googleapis.com\322AYhttps://www.goo" + + "gleapis.com/auth/cloud-platform,https://" + + "www.googleapis.com/auth/dialogflowB\203\003\n&c" + + "om.google.cloud.dialogflow.cx.v3beta1B\014S" + + "essionProtoP\001ZDgoogle.golang.org/genprot" + + "o/googleapis/cloud/dialogflow/cx/v3beta1" + + ";cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx" + + ".V3Beta1\352A\324\001\n!dialogflow.googleapis.com/" + + "Session\022Iprojects/{project}/locations/{l" + + "ocation}/agents/{agent}/sessions/{sessio" + + "n}\022dprojects/{project}/locations/{locati" + + "on}/agents/{agent}/environments/{environ" + + "ment}/sessions/{session}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.dialogflow.cx.v3beta1.AudioConfigProto.getDescriptor(), + com.google.cloud.dialogflow.cx.v3beta1.FlowProto.getDescriptor(), com.google.cloud.dialogflow.cx.v3beta1.IntentProto.getDescriptor(), com.google.cloud.dialogflow.cx.v3beta1.PageProto.getDescriptor(), com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto.getDescriptor(), @@ -279,6 +296,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.StructProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), com.google.type.LatLngProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), }); internal_static_google_cloud_dialogflow_cx_v3beta1_DetectIntentRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -332,7 +350,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_QueryParameters_descriptor, new java.lang.String[] { - "TimeZone", "GeoLocation", "SessionEntityTypes", "Payload", "Parameters", + "TimeZone", + "GeoLocation", + "SessionEntityTypes", + "Payload", + "Parameters", + "AnalyzeQueryTextSentiment", }); internal_static_google_cloud_dialogflow_cx_v3beta1_QueryInput_descriptor = getDescriptor().getMessageTypes().get(6); @@ -340,7 +363,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_QueryInput_descriptor, new java.lang.String[] { - "Text", "Intent", "Audio", "LanguageCode", "Input", + "Text", "Intent", "Audio", "Event", "LanguageCode", "Input", }); internal_static_google_cloud_dialogflow_cx_v3beta1_QueryResult_descriptor = getDescriptor().getMessageTypes().get(7); @@ -362,6 +385,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IntentDetectionConfidence", "Match", "DiagnosticInfo", + "SentimentAnalysisResult", "Query", }); internal_static_google_cloud_dialogflow_cx_v3beta1_TextInput_descriptor = @@ -388,8 +412,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Config", "Audio", }); - internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor = getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor, + new java.lang.String[] { + "Event", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor = + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_dialogflow_cx_v3beta1_Match_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor, @@ -397,7 +429,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Intent", "Parameters", "ResolvedInput", "MatchType", "Confidence", }); internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentRequest_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentRequest_descriptor, @@ -405,15 +437,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Session", "QueryParams", "QueryInput", }); internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentResponse_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentResponse_descriptor, new java.lang.String[] { - "Text", "TriggerIntent", "Transcript", "Matches", "CurrentPage", "Query", + "Text", + "TriggerIntent", + "Transcript", + "TriggerEvent", + "Matches", + "CurrentPage", + "Query", }); internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentRequest_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentRequest_descriptor, @@ -421,13 +459,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MatchIntentRequest", "Match", "OutputAudioConfig", }); internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_descriptor, new java.lang.String[] { "ResponseId", "QueryResult", "OutputAudio", "OutputAudioConfig", }); + internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor, + new java.lang.String[] { + "Score", "Magnitude", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -439,10 +485,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.dialogflow.cx.v3beta1.AudioConfigProto.getDescriptor(); + com.google.cloud.dialogflow.cx.v3beta1.FlowProto.getDescriptor(); com.google.cloud.dialogflow.cx.v3beta1.IntentProto.getDescriptor(); com.google.cloud.dialogflow.cx.v3beta1.PageProto.getDescriptor(); com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto.getDescriptor(); @@ -451,6 +497,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.StructProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); com.google.type.LatLngProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SpeechModelVariant.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SpeechModelVariant.java index 285dd6d4c..12ee4584a 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SpeechModelVariant.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SpeechModelVariant.java @@ -22,8 +22,7 @@ * * *
- * Variant of the specified [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Variant of the specified [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
  * See the [Cloud Speech
  * documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
  * for which models have different variants. For example, the "phone_call" model
@@ -78,8 +77,8 @@ public enum SpeechModelVariant implements com.google.protobuf.ProtocolMessageEnu
    * 
    * Use an enhanced model variant:
    * * If an enhanced variant does not exist for the given
-   *   [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and
-   *   request language, Dialogflow falls back to the standard variant.
+   *   [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and request language, Dialogflow falls
+   *   back to the standard variant.
    *   The [Cloud Speech
    *   documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
    *   describes which models have enhanced variants.
@@ -139,8 +138,8 @@ public enum SpeechModelVariant implements com.google.protobuf.ProtocolMessageEnu
    * 
    * Use an enhanced model variant:
    * * If an enhanced variant does not exist for the given
-   *   [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and
-   *   request language, Dialogflow falls back to the standard variant.
+   *   [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and request language, Dialogflow falls
+   *   back to the standard variant.
    *   The [Cloud Speech
    *   documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
    *   describes which models have enhanced variants.
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java
index 8403c0715..81cec9313 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java
@@ -23,26 +23,21 @@
  *
  * 
  * The top-level message sent by the client to the
- * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent]
- * method.
+ * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent] method.
  * Multiple request messages should be sent in order:
  * 1.  The first message must contain
  * [session][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.session],
- *     [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input]
- *     plus optionally
- *     [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params].
- *     If the client wants to receive an audio response, it should also contain
+ *     [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] plus optionally
+ *     [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. If the client
+ *     wants to receive an audio response, it should also contain
  *     [output_audio_config][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.output_audio_config].
- * 2.  If
- * [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input]
- * was set to
- *     [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config],
- *     all subsequent messages must contain
- *     [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio]
- *     to continue with Speech recognition. If you decide to rather detect an
- *     intent from text input after you already started Speech recognition,
- *     please send a message with
- *     [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text].
+ * 2.  If [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] was set to
+ *     [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], all subsequent messages
+ *     must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] to continue with
+ *     Speech recognition.
+ *     If you decide to rather detect an intent from text
+ *     input after you already started Speech recognition, please send a message
+ *     with [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text].
  *     However, note that:
  *     * Dialogflow will bill you for the audio duration so far.
  *     * Dialogflow discards all Speech recognition results in favor of the
@@ -204,6 +199,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * a random number or some type of session identifiers (preferably hashed).
    * The length of the `Session ID` must not exceed 36 characters.
    * Note: session must be set in the first request.
+   * For more information, see the [sessions
+   * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
    * 
* * string session = 1 [(.google.api.resource_reference) = { ... } @@ -236,6 +233,8 @@ public java.lang.String getSession() { * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. * Note: session must be set in the first request. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). *
* * string session = 1 [(.google.api.resource_reference) = { ... } @@ -614,26 +613,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * The top-level message sent by the client to the
-   * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent]
-   * method.
+   * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent] method.
    * Multiple request messages should be sent in order:
    * 1.  The first message must contain
    * [session][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.session],
-   *     [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input]
-   *     plus optionally
-   *     [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params].
-   *     If the client wants to receive an audio response, it should also contain
+   *     [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] plus optionally
+   *     [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. If the client
+   *     wants to receive an audio response, it should also contain
    *     [output_audio_config][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.output_audio_config].
-   * 2.  If
-   * [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input]
-   * was set to
-   *     [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config],
-   *     all subsequent messages must contain
-   *     [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio]
-   *     to continue with Speech recognition. If you decide to rather detect an
-   *     intent from text input after you already started Speech recognition,
-   *     please send a message with
-   *     [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text].
+   * 2.  If [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] was set to
+   *     [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], all subsequent messages
+   *     must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] to continue with
+   *     Speech recognition.
+   *     If you decide to rather detect an intent from text
+   *     input after you already started Speech recognition, please send a message
+   *     with [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text].
    *     However, note that:
    *     * Dialogflow will bill you for the audio duration so far.
    *     * Dialogflow discards all Speech recognition results in favor of the
@@ -858,6 +852,8 @@ public Builder mergeFrom(
      * a random number or some type of session identifiers (preferably hashed).
      * The length of the `Session ID` must not exceed 36 characters.
      * Note: session must be set in the first request.
+     * For more information, see the [sessions
+     * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
      * 
* * string session = 1 [(.google.api.resource_reference) = { ... } @@ -889,6 +885,8 @@ public java.lang.String getSession() { * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. * Note: session must be set in the first request. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). *
* * string session = 1 [(.google.api.resource_reference) = { ... } @@ -920,6 +918,8 @@ public com.google.protobuf.ByteString getSessionBytes() { * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. * Note: session must be set in the first request. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). *
* * string session = 1 [(.google.api.resource_reference) = { ... } @@ -950,6 +950,8 @@ public Builder setSession(java.lang.String value) { * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. * Note: session must be set in the first request. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). *
* * string session = 1 [(.google.api.resource_reference) = { ... } @@ -976,6 +978,8 @@ public Builder clearSession() { * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. * Note: session must be set in the first request. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). *
* * string session = 1 [(.google.api.resource_reference) = { ... } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java index 789c8d28c..2392d7a58 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java @@ -37,6 +37,8 @@ public interface StreamingDetectIntentRequestOrBuilder * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. * Note: session must be set in the first request. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). *
* * string session = 1 [(.google.api.resource_reference) = { ... } @@ -58,6 +60,8 @@ public interface StreamingDetectIntentRequestOrBuilder * a random number or some type of session identifiers (preferably hashed). * The length of the `Session ID` must not exceed 36 characters. * Note: session must be set in the first request. + * For more information, see the [sessions + * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). *
* * string session = 1 [(.google.api.resource_reference) = { ... } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResult.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResult.java index 5867a9d5b..2b7cea14d 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResult.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResult.java @@ -227,8 +227,8 @@ public enum MessageType implements com.google.protobuf.ProtocolMessageEnum { * additional results). The client should stop sending additional audio * data, half-close the gRPC connection, and wait for any additional results * until the server closes the gRPC connection. This message is only sent if - * [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] - * was set to `true`, and is not used otherwise. + * [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] was set to + * `true`, and is not used otherwise. *
* * END_OF_SINGLE_UTTERANCE = 2; @@ -267,8 +267,8 @@ public enum MessageType implements com.google.protobuf.ProtocolMessageEnum { * additional results). The client should stop sending additional audio * data, half-close the gRPC connection, and wait for any additional results * until the server closes the gRPC connection. This message is only sent if - * [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] - * was set to `true`, and is not used otherwise. + * [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] was set to + * `true`, and is not used otherwise. *
* * END_OF_SINGLE_UTTERANCE = 2; @@ -530,8 +530,7 @@ public float getStability() { * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-   * Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -547,8 +546,7 @@ public float getStability() { * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-   * Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -564,8 +562,7 @@ public float getStability() { * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-   * Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -580,8 +577,7 @@ public int getSpeechWordInfoCount() { * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-   * Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -596,8 +592,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo getSpeechWordInfo(i * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-   * Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -1600,8 +1595,7 @@ private void ensureSpeechWordInfoIsMutable() { * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1621,8 +1615,7 @@ private void ensureSpeechWordInfoIsMutable() { * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1641,8 +1634,7 @@ public int getSpeechWordInfoCount() { * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1661,8 +1653,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo getSpeechWordInfo(i * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1688,8 +1679,7 @@ public Builder setSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1712,8 +1702,7 @@ public Builder setSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1738,8 +1727,7 @@ public Builder addSpeechWordInfo(com.google.cloud.dialogflow.cx.v3beta1.SpeechWo * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1765,8 +1753,7 @@ public Builder addSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1789,8 +1776,7 @@ public Builder addSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1813,8 +1799,7 @@ public Builder addSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1838,8 +1823,7 @@ public Builder addAllSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1861,8 +1845,7 @@ public Builder clearSpeechWordInfo() { * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1884,8 +1867,7 @@ public Builder removeSpeechWordInfo(int index) { * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1901,8 +1883,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.Builder getSpeechWo * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1922,8 +1903,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.Builder getSpeechWo * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1943,8 +1923,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.Builder getSpeechWo * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1961,8 +1940,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.Builder getSpeechWo * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1980,8 +1958,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.Builder addSpeechWo * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-     * Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResultOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResultOrBuilder.java index 95f0fe243..c661fa7cb 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResultOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResultOrBuilder.java @@ -137,8 +137,7 @@ public interface StreamingRecognitionResultOrBuilder * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-   * Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -150,8 +149,7 @@ public interface StreamingRecognitionResultOrBuilder * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-   * Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -163,8 +161,7 @@ public interface StreamingRecognitionResultOrBuilder * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-   * Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -176,8 +173,7 @@ public interface StreamingRecognitionResultOrBuilder * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-   * Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -190,8 +186,7 @@ public interface StreamingRecognitionResultOrBuilder * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript].
-   * Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInput.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInput.java index 9d1d32959..b009a8614 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInput.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInput.java @@ -117,8 +117,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The UTF-8 encoded natural language text to be processed. Text
-   * length must not exceed 256 characters.
+   * Required. The UTF-8 encoded natural language text to be processed. Text length must
+   * not exceed 256 characters.
    * 
* * string text = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -141,8 +141,8 @@ public java.lang.String getText() { * * *
-   * Required. The UTF-8 encoded natural language text to be processed. Text
-   * length must not exceed 256 characters.
+   * Required. The UTF-8 encoded natural language text to be processed. Text length must
+   * not exceed 256 characters.
    * 
* * string text = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -484,8 +484,8 @@ public Builder mergeFrom( * * *
-     * Required. The UTF-8 encoded natural language text to be processed. Text
-     * length must not exceed 256 characters.
+     * Required. The UTF-8 encoded natural language text to be processed. Text length must
+     * not exceed 256 characters.
      * 
* * string text = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -507,8 +507,8 @@ public java.lang.String getText() { * * *
-     * Required. The UTF-8 encoded natural language text to be processed. Text
-     * length must not exceed 256 characters.
+     * Required. The UTF-8 encoded natural language text to be processed. Text length must
+     * not exceed 256 characters.
      * 
* * string text = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -530,8 +530,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-     * Required. The UTF-8 encoded natural language text to be processed. Text
-     * length must not exceed 256 characters.
+     * Required. The UTF-8 encoded natural language text to be processed. Text length must
+     * not exceed 256 characters.
      * 
* * string text = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -552,8 +552,8 @@ public Builder setText(java.lang.String value) { * * *
-     * Required. The UTF-8 encoded natural language text to be processed. Text
-     * length must not exceed 256 characters.
+     * Required. The UTF-8 encoded natural language text to be processed. Text length must
+     * not exceed 256 characters.
      * 
* * string text = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -570,8 +570,8 @@ public Builder clearText() { * * *
-     * Required. The UTF-8 encoded natural language text to be processed. Text
-     * length must not exceed 256 characters.
+     * Required. The UTF-8 encoded natural language text to be processed. Text length must
+     * not exceed 256 characters.
      * 
* * string text = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInputOrBuilder.java index 3ad28d61b..7d37f79d6 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInputOrBuilder.java @@ -27,8 +27,8 @@ public interface TextInputOrBuilder * * *
-   * Required. The UTF-8 encoded natural language text to be processed. Text
-   * length must not exceed 256 characters.
+   * Required. The UTF-8 encoded natural language text to be processed. Text length must
+   * not exceed 256 characters.
    * 
* * string text = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -40,8 +40,8 @@ public interface TextInputOrBuilder * * *
-   * Required. The UTF-8 encoded natural language text to be processed. Text
-   * length must not exceed 256 characters.
+   * Required. The UTF-8 encoded natural language text to be processed. Text length must
+   * not exceed 256 characters.
    * 
* * string text = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TrainFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TrainFlowRequest.java index 01d9b8644..e66662a01 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TrainFlowRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TrainFlowRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow].
+ * The request message for [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TrainFlowRequest} @@ -333,8 +332,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow].
+   * The request message for [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TrainFlowRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRoute.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRoute.java index f7f882e3c..dd1ac09e8 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRoute.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRoute.java @@ -22,21 +22,16 @@ * * *
- * A transition route specifies a
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched
- * and/or a data condition that can be evaluated during a session. When a
- * specified transition is matched, the following actions are taken in order:
+ * A transition route specifies a [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched and/or a
+ * data condition that can be evaluated during a session. When a specified
+ * transition is matched, the following actions are taken in order:
  * *   If there is a
- * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment]
- * associated with the transition, it will be called.
- * *   If there is a
- * [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page]
- * associated with the transition, the session will transition into the
- * specified page.
- * *   If there is a
- * [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow]
- * associated with the transition, the session will transition into the
- * specified flow.
+ * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment] associated with
+ * the transition, it will be called.
+ * *   If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page] associated
+ * with the transition, the session will transition into the specified page.
+ * *   If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow] associated
+ * with the transition, the session will transition into the specified flow.
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TransitionRoute} @@ -274,9 +269,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The unique identifier of an
-   * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * Indicates that the transition can only happen when the given intent is
    * matched.
@@ -305,9 +299,8 @@ public java.lang.String getIntent() {
    *
    *
    * 
-   * The unique identifier of an
-   * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * Indicates that the transition can only happen when the given intent is
    * matched.
@@ -339,9 +332,8 @@ public com.google.protobuf.ByteString getIntentBytes() {
    *
    *
    * 
-   * The condition to evaluate against [form
-   * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
-   * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+   * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+   * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
    * See the [conditions
    * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
    * At least one of `intent` or `condition` must be specified. When both
@@ -369,9 +361,8 @@ public java.lang.String getCondition() {
    *
    *
    * 
-   * The condition to evaluate against [form
-   * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
-   * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+   * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+   * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
    * See the [conditions
    * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
    * At least one of `intent` or `condition` must be specified. When both
@@ -802,21 +793,16 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    *
    * 
-   * A transition route specifies a
-   * [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched
-   * and/or a data condition that can be evaluated during a session. When a
-   * specified transition is matched, the following actions are taken in order:
-   * *   If there is a
-   * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment]
-   * associated with the transition, it will be called.
-   * *   If there is a
-   * [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page]
-   * associated with the transition, the session will transition into the
-   * specified page.
+   * A transition route specifies a [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched and/or a
+   * data condition that can be evaluated during a session. When a specified
+   * transition is matched, the following actions are taken in order:
    * *   If there is a
-   * [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow]
-   * associated with the transition, the session will transition into the
-   * specified flow.
+   * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment] associated with
+   * the transition, it will be called.
+   * *   If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page] associated
+   * with the transition, the session will transition into the specified page.
+   * *   If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow] associated
+   * with the transition, the session will transition into the specified flow.
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TransitionRoute} @@ -1153,9 +1139,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The unique identifier of an
-     * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * Indicates that the transition can only happen when the given intent is
      * matched.
@@ -1183,9 +1168,8 @@ public java.lang.String getIntent() {
      *
      *
      * 
-     * The unique identifier of an
-     * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * Indicates that the transition can only happen when the given intent is
      * matched.
@@ -1213,9 +1197,8 @@ public com.google.protobuf.ByteString getIntentBytes() {
      *
      *
      * 
-     * The unique identifier of an
-     * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * Indicates that the transition can only happen when the given intent is
      * matched.
@@ -1242,9 +1225,8 @@ public Builder setIntent(java.lang.String value) {
      *
      *
      * 
-     * The unique identifier of an
-     * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * Indicates that the transition can only happen when the given intent is
      * matched.
@@ -1267,9 +1249,8 @@ public Builder clearIntent() {
      *
      *
      * 
-     * The unique identifier of an
-     * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * Indicates that the transition can only happen when the given intent is
      * matched.
@@ -1299,9 +1280,8 @@ public Builder setIntentBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * The condition to evaluate against [form
-     * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+     * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      * See the [conditions
      * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
      * At least one of `intent` or `condition` must be specified. When both
@@ -1328,9 +1308,8 @@ public java.lang.String getCondition() {
      *
      *
      * 
-     * The condition to evaluate against [form
-     * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+     * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      * See the [conditions
      * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
      * At least one of `intent` or `condition` must be specified. When both
@@ -1357,9 +1336,8 @@ public com.google.protobuf.ByteString getConditionBytes() {
      *
      *
      * 
-     * The condition to evaluate against [form
-     * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+     * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      * See the [conditions
      * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
      * At least one of `intent` or `condition` must be specified. When both
@@ -1385,9 +1363,8 @@ public Builder setCondition(java.lang.String value) {
      *
      *
      * 
-     * The condition to evaluate against [form
-     * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+     * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      * See the [conditions
      * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
      * At least one of `intent` or `condition` must be specified. When both
@@ -1409,9 +1386,8 @@ public Builder clearCondition() {
      *
      *
      * 
-     * The condition to evaluate against [form
-     * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
-     * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+     * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+     * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      * See the [conditions
      * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
      * At least one of `intent` or `condition` must be specified. When both
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteOrBuilder.java
index a4f34ee0a..cb0c51c47 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteOrBuilder.java
@@ -52,9 +52,8 @@ public interface TransitionRouteOrBuilder
    *
    *
    * 
-   * The unique identifier of an
-   * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * Indicates that the transition can only happen when the given intent is
    * matched.
@@ -72,9 +71,8 @@ public interface TransitionRouteOrBuilder
    *
    *
    * 
-   * The unique identifier of an
-   * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * Indicates that the transition can only happen when the given intent is
    * matched.
@@ -93,9 +91,8 @@ public interface TransitionRouteOrBuilder
    *
    *
    * 
-   * The condition to evaluate against [form
-   * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
-   * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+   * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+   * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
    * See the [conditions
    * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
    * At least one of `intent` or `condition` must be specified. When both
@@ -112,9 +109,8 @@ public interface TransitionRouteOrBuilder
    *
    *
    * 
-   * The condition to evaluate against [form
-   * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
-   * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+   * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+   * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
    * See the [conditions
    * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
    * At least one of `intent` or `condition` must be specified. When both
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateEntityTypeRequest.java
index 88f851a73..ff393d694 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateEntityTypeRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateEntityTypeRequest.java
@@ -22,8 +22,7 @@
  *
  *
  * 
- * The request message for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateEntityTypeRequest} @@ -501,8 +500,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+   * The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateEntityTypeRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequest.java index 45b015545..e410f4d33 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow].
+ * The request message for [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateFlowRequest} @@ -201,8 +200,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getFlowOrBuilder() { * * *
-   * Required. The mask to control which fields get updated. If `update_mask` is
-   * not specified, an error will be returned.
+   * Required. The mask to control which fields get updated. If `update_mask` is not
+   * specified, an error will be returned.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -218,8 +217,8 @@ public boolean hasUpdateMask() { * * *
-   * Required. The mask to control which fields get updated. If `update_mask` is
-   * not specified, an error will be returned.
+   * Required. The mask to control which fields get updated. If `update_mask` is not
+   * specified, an error will be returned.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -235,8 +234,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The mask to control which fields get updated. If `update_mask` is
-   * not specified, an error will be returned.
+   * Required. The mask to control which fields get updated. If `update_mask` is not
+   * specified, an error will be returned.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -502,8 +501,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow].
+   * The request message for [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateFlowRequest} @@ -899,8 +897,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getFlowOrBuilder() { * * *
-     * Required. The mask to control which fields get updated. If `update_mask` is
-     * not specified, an error will be returned.
+     * Required. The mask to control which fields get updated. If `update_mask` is not
+     * specified, an error will be returned.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -915,8 +913,8 @@ public boolean hasUpdateMask() { * * *
-     * Required. The mask to control which fields get updated. If `update_mask` is
-     * not specified, an error will be returned.
+     * Required. The mask to control which fields get updated. If `update_mask` is not
+     * specified, an error will be returned.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -937,8 +935,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The mask to control which fields get updated. If `update_mask` is
-     * not specified, an error will be returned.
+     * Required. The mask to control which fields get updated. If `update_mask` is not
+     * specified, an error will be returned.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -961,8 +959,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The mask to control which fields get updated. If `update_mask` is
-     * not specified, an error will be returned.
+     * Required. The mask to control which fields get updated. If `update_mask` is not
+     * specified, an error will be returned.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -982,8 +980,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The mask to control which fields get updated. If `update_mask` is
-     * not specified, an error will be returned.
+     * Required. The mask to control which fields get updated. If `update_mask` is not
+     * specified, an error will be returned.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1008,8 +1006,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The mask to control which fields get updated. If `update_mask` is
-     * not specified, an error will be returned.
+     * Required. The mask to control which fields get updated. If `update_mask` is not
+     * specified, an error will be returned.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1030,8 +1028,8 @@ public Builder clearUpdateMask() { * * *
-     * Required. The mask to control which fields get updated. If `update_mask` is
-     * not specified, an error will be returned.
+     * Required. The mask to control which fields get updated. If `update_mask` is not
+     * specified, an error will be returned.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1046,8 +1044,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The mask to control which fields get updated. If `update_mask` is
-     * not specified, an error will be returned.
+     * Required. The mask to control which fields get updated. If `update_mask` is not
+     * specified, an error will be returned.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1066,8 +1064,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The mask to control which fields get updated. If `update_mask` is
-     * not specified, an error will be returned.
+     * Required. The mask to control which fields get updated. If `update_mask` is not
+     * specified, an error will be returned.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequestOrBuilder.java index 2247c1c6c..7b31b182d 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequestOrBuilder.java @@ -68,8 +68,8 @@ public interface UpdateFlowRequestOrBuilder * * *
-   * Required. The mask to control which fields get updated. If `update_mask` is
-   * not specified, an error will be returned.
+   * Required. The mask to control which fields get updated. If `update_mask` is not
+   * specified, an error will be returned.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -82,8 +82,8 @@ public interface UpdateFlowRequestOrBuilder * * *
-   * Required. The mask to control which fields get updated. If `update_mask` is
-   * not specified, an error will be returned.
+   * Required. The mask to control which fields get updated. If `update_mask` is not
+   * specified, an error will be returned.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -96,8 +96,8 @@ public interface UpdateFlowRequestOrBuilder * * *
-   * Required. The mask to control which fields get updated. If `update_mask` is
-   * not specified, an error will be returned.
+   * Required. The mask to control which fields get updated. If `update_mask` is not
+   * specified, an error will be returned.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequest.java index 6f5f60ca3..7ba2df906 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage].
+ * The request message for [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdatePageRequest} @@ -507,8 +506,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage].
+   * The request message for [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdatePageRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateSessionEntityTypeRequest.java index cb5277818..eac9540a5 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateSessionEntityTypeRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType].
+ * The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateSessionEntityTypeRequest} @@ -439,8 +438,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType].
+   * The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateSessionEntityTypeRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateWebhookRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateWebhookRequest.java index a69580718..f1f9b3d16 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateWebhookRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateWebhookRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for
- * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook].
+ * The request message for [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook].
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateWebhookRequest} @@ -420,8 +419,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request message for
-   * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook].
+   * The request message for [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook].
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateWebhookRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParams.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParams.java index 7481f2730..f03e09502 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParams.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParams.java @@ -180,10 +180,9 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * Optional. The preferred gender of the voice. If not set, the service will
    * choose a voice based on the other parameters such as language_code and
-   * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
-   * that this is only a preference, not requirement. If a voice of the
-   * appropriate gender is not available, the synthesizer should substitute a
-   * voice with a different gender rather than failing the request.
+   * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+   * voice of the appropriate gender is not available, the synthesizer should
+   * substitute a voice with a different gender rather than failing the request.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2; @@ -200,10 +199,9 @@ public int getSsmlGenderValue() { *
    * Optional. The preferred gender of the voice. If not set, the service will
    * choose a voice based on the other parameters such as language_code and
-   * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
-   * that this is only a preference, not requirement. If a voice of the
-   * appropriate gender is not available, the synthesizer should substitute a
-   * voice with a different gender rather than failing the request.
+   * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+   * voice of the appropriate gender is not available, the synthesizer should
+   * substitute a voice with a different gender rather than failing the request.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2; @@ -681,10 +679,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { *
      * Optional. The preferred gender of the voice. If not set, the service will
      * choose a voice based on the other parameters such as language_code and
-     * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
-     * that this is only a preference, not requirement. If a voice of the
-     * appropriate gender is not available, the synthesizer should substitute a
-     * voice with a different gender rather than failing the request.
+     * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+     * voice of the appropriate gender is not available, the synthesizer should
+     * substitute a voice with a different gender rather than failing the request.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2; @@ -701,10 +698,9 @@ public int getSsmlGenderValue() { *
      * Optional. The preferred gender of the voice. If not set, the service will
      * choose a voice based on the other parameters such as language_code and
-     * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
-     * that this is only a preference, not requirement. If a voice of the
-     * appropriate gender is not available, the synthesizer should substitute a
-     * voice with a different gender rather than failing the request.
+     * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+     * voice of the appropriate gender is not available, the synthesizer should
+     * substitute a voice with a different gender rather than failing the request.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2; @@ -724,10 +720,9 @@ public Builder setSsmlGenderValue(int value) { *
      * Optional. The preferred gender of the voice. If not set, the service will
      * choose a voice based on the other parameters such as language_code and
-     * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
-     * that this is only a preference, not requirement. If a voice of the
-     * appropriate gender is not available, the synthesizer should substitute a
-     * voice with a different gender rather than failing the request.
+     * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+     * voice of the appropriate gender is not available, the synthesizer should
+     * substitute a voice with a different gender rather than failing the request.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2; @@ -749,10 +744,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender getSsmlGender() { *
      * Optional. The preferred gender of the voice. If not set, the service will
      * choose a voice based on the other parameters such as language_code and
-     * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
-     * that this is only a preference, not requirement. If a voice of the
-     * appropriate gender is not available, the synthesizer should substitute a
-     * voice with a different gender rather than failing the request.
+     * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+     * voice of the appropriate gender is not available, the synthesizer should
+     * substitute a voice with a different gender rather than failing the request.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2; @@ -775,10 +769,9 @@ public Builder setSsmlGender(com.google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGen *
      * Optional. The preferred gender of the voice. If not set, the service will
      * choose a voice based on the other parameters such as language_code and
-     * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
-     * that this is only a preference, not requirement. If a voice of the
-     * appropriate gender is not available, the synthesizer should substitute a
-     * voice with a different gender rather than failing the request.
+     * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+     * voice of the appropriate gender is not available, the synthesizer should
+     * substitute a voice with a different gender rather than failing the request.
      * 
* * .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParamsOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParamsOrBuilder.java index ec70d48e3..4ab2d9bc3 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParamsOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParamsOrBuilder.java @@ -58,10 +58,9 @@ public interface VoiceSelectionParamsOrBuilder *
    * Optional. The preferred gender of the voice. If not set, the service will
    * choose a voice based on the other parameters such as language_code and
-   * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
-   * that this is only a preference, not requirement. If a voice of the
-   * appropriate gender is not available, the synthesizer should substitute a
-   * voice with a different gender rather than failing the request.
+   * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+   * voice of the appropriate gender is not available, the synthesizer should
+   * substitute a voice with a different gender rather than failing the request.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2; @@ -75,10 +74,9 @@ public interface VoiceSelectionParamsOrBuilder *
    * Optional. The preferred gender of the voice. If not set, the service will
    * choose a voice based on the other parameters such as language_code and
-   * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
-   * that this is only a preference, not requirement. If a voice of the
-   * appropriate gender is not available, the synthesizer should substitute a
-   * voice with a different gender rather than failing the request.
+   * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+   * voice of the appropriate gender is not available, the synthesizer should
+   * substitute a voice with a different gender rather than failing the request.
    * 
* * .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Webhook.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Webhook.java index 52b5b02cc..ca9061ccd 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Webhook.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Webhook.java @@ -172,8 +172,7 @@ public interface GenericWebServiceOrBuilder * * *
-     * Required. The webhook URI for receiving POST requests. It must use https
-     * protocol.
+     * Required. The webhook URI for receiving POST requests. It must use https protocol.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -185,8 +184,7 @@ public interface GenericWebServiceOrBuilder * * *
-     * Required. The webhook URI for receiving POST requests. It must use https
-     * protocol.
+     * Required. The webhook URI for receiving POST requests. It must use https protocol.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -453,8 +451,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-     * Required. The webhook URI for receiving POST requests. It must use https
-     * protocol.
+     * Required. The webhook URI for receiving POST requests. It must use https protocol.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -477,8 +474,7 @@ public java.lang.String getUri() { * * *
-     * Required. The webhook URI for receiving POST requests. It must use https
-     * protocol.
+     * Required. The webhook URI for receiving POST requests. It must use https protocol.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1117,8 +1113,7 @@ public Builder mergeFrom( * * *
-       * Required. The webhook URI for receiving POST requests. It must use https
-       * protocol.
+       * Required. The webhook URI for receiving POST requests. It must use https protocol.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1140,8 +1135,7 @@ public java.lang.String getUri() { * * *
-       * Required. The webhook URI for receiving POST requests. It must use https
-       * protocol.
+       * Required. The webhook URI for receiving POST requests. It must use https protocol.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1163,8 +1157,7 @@ public com.google.protobuf.ByteString getUriBytes() { * * *
-       * Required. The webhook URI for receiving POST requests. It must use https
-       * protocol.
+       * Required. The webhook URI for receiving POST requests. It must use https protocol.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1185,8 +1178,7 @@ public Builder setUri(java.lang.String value) { * * *
-       * Required. The webhook URI for receiving POST requests. It must use https
-       * protocol.
+       * Required. The webhook URI for receiving POST requests. It must use https protocol.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1203,8 +1195,7 @@ public Builder clearUri() { * * *
-       * Required. The webhook URI for receiving POST requests. It must use https
-       * protocol.
+       * Required. The webhook URI for receiving POST requests. It must use https protocol.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1722,12 +1713,10 @@ public WebhookCase getWebhookCase() { * *
    * The unique identifier of the webhook.
-   * Required for the
-   * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]
-   * method.
-   * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]
-   * populates the name automatically. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
+   * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method.
+   * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/webhooks/<Webhook ID>`.
    * 
* * string name = 1; @@ -1751,12 +1740,10 @@ public java.lang.String getName() { * *
    * The unique identifier of the webhook.
-   * Required for the
-   * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]
-   * method.
-   * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]
-   * populates the name automatically. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
+   * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method.
+   * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/webhooks/<Webhook ID>`.
    * 
* * string name = 1; @@ -2394,12 +2381,10 @@ public Builder clearWebhook() { * *
      * The unique identifier of the webhook.
-     * Required for the
-     * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]
-     * method.
-     * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]
-     * populates the name automatically. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
+     * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method.
+     * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/webhooks/<Webhook ID>`.
      * 
* * string name = 1; @@ -2422,12 +2407,10 @@ public java.lang.String getName() { * *
      * The unique identifier of the webhook.
-     * Required for the
-     * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]
-     * method.
-     * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]
-     * populates the name automatically. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
+     * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method.
+     * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/webhooks/<Webhook ID>`.
      * 
* * string name = 1; @@ -2450,12 +2433,10 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * The unique identifier of the webhook.
-     * Required for the
-     * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]
-     * method.
-     * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]
-     * populates the name automatically. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
+     * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method.
+     * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/webhooks/<Webhook ID>`.
      * 
* * string name = 1; @@ -2477,12 +2458,10 @@ public Builder setName(java.lang.String value) { * *
      * The unique identifier of the webhook.
-     * Required for the
-     * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]
-     * method.
-     * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]
-     * populates the name automatically. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
+     * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method.
+     * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/webhooks/<Webhook ID>`.
      * 
* * string name = 1; @@ -2500,12 +2479,10 @@ public Builder clearName() { * *
      * The unique identifier of the webhook.
-     * Required for the
-     * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]
-     * method.
-     * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]
-     * populates the name automatically. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
+     * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method.
+     * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/webhooks/<Webhook ID>`.
      * 
* * string name = 1; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookOrBuilder.java index b726f4f8e..d34f019a5 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookOrBuilder.java @@ -28,12 +28,10 @@ public interface WebhookOrBuilder * *
    * The unique identifier of the webhook.
-   * Required for the
-   * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]
-   * method.
-   * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]
-   * populates the name automatically. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
+   * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method.
+   * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/webhooks/<Webhook ID>`.
    * 
* * string name = 1; @@ -46,12 +44,10 @@ public interface WebhookOrBuilder * *
    * The unique identifier of the webhook.
-   * Required for the
-   * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]
-   * method.
-   * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]
-   * populates the name automatically. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
+   * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method.
+   * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/webhooks/<Webhook ID>`.
    * 
* * string name = 1; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java index 02c120351..54559d8d0 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java @@ -901,9 +901,8 @@ public interface IntentInfoOrBuilder * *
      * Always present. The unique identifier of the last matched
-     * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string last_matched_intent = 1 [(.google.api.resource_reference) = { ... } @@ -916,9 +915,8 @@ public interface IntentInfoOrBuilder * *
      * Always present. The unique identifier of the last matched
-     * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string last_matched_intent = 1 [(.google.api.resource_reference) = { ... } @@ -2189,9 +2187,8 @@ public com.google.protobuf.Parser getParserForType() { * *
      * Always present. The unique identifier of the last matched
-     * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string last_matched_intent = 1 [(.google.api.resource_reference) = { ... } @@ -2215,9 +2212,8 @@ public java.lang.String getLastMatchedIntent() { * *
      * Always present. The unique identifier of the last matched
-     * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string last_matched_intent = 1 [(.google.api.resource_reference) = { ... } @@ -2774,9 +2770,8 @@ public Builder mergeFrom( * *
        * Always present. The unique identifier of the last matched
-       * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-       * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-       * ID>/intents/<Intent ID>`.
+       * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+       * ID>/agents/<Agent ID>/intents/<Intent ID>`.
        * 
* * string last_matched_intent = 1 [(.google.api.resource_reference) = { ... } @@ -2799,9 +2794,8 @@ public java.lang.String getLastMatchedIntent() { * *
        * Always present. The unique identifier of the last matched
-       * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-       * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-       * ID>/intents/<Intent ID>`.
+       * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+       * ID>/agents/<Agent ID>/intents/<Intent ID>`.
        * 
* * string last_matched_intent = 1 [(.google.api.resource_reference) = { ... } @@ -2824,9 +2818,8 @@ public com.google.protobuf.ByteString getLastMatchedIntentBytes() { * *
        * Always present. The unique identifier of the last matched
-       * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-       * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-       * ID>/intents/<Intent ID>`.
+       * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+       * ID>/agents/<Agent ID>/intents/<Intent ID>`.
        * 
* * string last_matched_intent = 1 [(.google.api.resource_reference) = { ... } @@ -2848,9 +2841,8 @@ public Builder setLastMatchedIntent(java.lang.String value) { * *
        * Always present. The unique identifier of the last matched
-       * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-       * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-       * ID>/intents/<Intent ID>`.
+       * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+       * ID>/agents/<Agent ID>/intents/<Intent ID>`.
        * 
* * string last_matched_intent = 1 [(.google.api.resource_reference) = { ... } @@ -2868,9 +2860,8 @@ public Builder clearLastMatchedIntent() { * *
        * Always present. The unique identifier of the last matched
-       * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
-       * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-       * ID>/intents/<Intent ID>`.
+       * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+       * ID>/agents/<Agent ID>/intents/<Intent ID>`.
        * 
* * string last_matched_intent = 1 [(.google.api.resource_reference) = { ... } @@ -3181,9 +3172,8 @@ public com.google.protobuf.Parser getParserForType() { * * *
-   * Always present. The unique identifier of the
-   * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
-   * that will be returned to the API caller.
+   * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+   * will be returned to the API caller.
    * 
* * string detect_intent_response_id = 1; @@ -3206,9 +3196,8 @@ public java.lang.String getDetectIntentResponseId() { * * *
-   * Always present. The unique identifier of the
-   * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
-   * that will be returned to the API caller.
+   * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+   * will be returned to the API caller.
    * 
* * string detect_intent_response_id = 1; @@ -3515,8 +3504,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getMessag * * *
-   * Custom data set in
-   * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+   * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
    * 
* * .google.protobuf.Struct payload = 8; @@ -3531,8 +3519,7 @@ public boolean hasPayload() { * * *
-   * Custom data set in
-   * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+   * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
    * 
* * .google.protobuf.Struct payload = 8; @@ -3547,8 +3534,7 @@ public com.google.protobuf.Struct getPayload() { * * *
-   * Custom data set in
-   * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+   * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
    * 
* * .google.protobuf.Struct payload = 8; @@ -4080,9 +4066,8 @@ public Builder mergeFrom( * * *
-     * Always present. The unique identifier of the
-     * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
-     * that will be returned to the API caller.
+     * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+     * will be returned to the API caller.
      * 
* * string detect_intent_response_id = 1; @@ -4104,9 +4089,8 @@ public java.lang.String getDetectIntentResponseId() { * * *
-     * Always present. The unique identifier of the
-     * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
-     * that will be returned to the API caller.
+     * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+     * will be returned to the API caller.
      * 
* * string detect_intent_response_id = 1; @@ -4128,9 +4112,8 @@ public com.google.protobuf.ByteString getDetectIntentResponseIdBytes() { * * *
-     * Always present. The unique identifier of the
-     * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
-     * that will be returned to the API caller.
+     * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+     * will be returned to the API caller.
      * 
* * string detect_intent_response_id = 1; @@ -4151,9 +4134,8 @@ public Builder setDetectIntentResponseId(java.lang.String value) { * * *
-     * Always present. The unique identifier of the
-     * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
-     * that will be returned to the API caller.
+     * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+     * will be returned to the API caller.
      * 
* * string detect_intent_response_id = 1; @@ -4170,9 +4152,8 @@ public Builder clearDetectIntentResponseId() { * * *
-     * Always present. The unique identifier of the
-     * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
-     * that will be returned to the API caller.
+     * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+     * will be returned to the API caller.
      * 
* * string detect_intent_response_id = 1; @@ -5382,8 +5363,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Builder addMessage * * *
-     * Custom data set in
-     * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+     * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
      * 
* * .google.protobuf.Struct payload = 8; @@ -5397,8 +5377,7 @@ public boolean hasPayload() { * * *
-     * Custom data set in
-     * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+     * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
      * 
* * .google.protobuf.Struct payload = 8; @@ -5416,8 +5395,7 @@ public com.google.protobuf.Struct getPayload() { * * *
-     * Custom data set in
-     * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+     * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
      * 
* * .google.protobuf.Struct payload = 8; @@ -5439,8 +5417,7 @@ public Builder setPayload(com.google.protobuf.Struct value) { * * *
-     * Custom data set in
-     * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+     * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
      * 
* * .google.protobuf.Struct payload = 8; @@ -5459,8 +5436,7 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { * * *
-     * Custom data set in
-     * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+     * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
      * 
* * .google.protobuf.Struct payload = 8; @@ -5484,8 +5460,7 @@ public Builder mergePayload(com.google.protobuf.Struct value) { * * *
-     * Custom data set in
-     * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+     * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
      * 
* * .google.protobuf.Struct payload = 8; @@ -5505,8 +5480,7 @@ public Builder clearPayload() { * * *
-     * Custom data set in
-     * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+     * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
      * 
* * .google.protobuf.Struct payload = 8; @@ -5520,8 +5494,7 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { * * *
-     * Custom data set in
-     * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+     * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
      * 
* * .google.protobuf.Struct payload = 8; @@ -5537,8 +5510,7 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * * *
-     * Custom data set in
-     * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+     * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
      * 
* * .google.protobuf.Struct payload = 8; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java index 7fc74410e..88aac4b74 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java @@ -27,9 +27,8 @@ public interface WebhookRequestOrBuilder * * *
-   * Always present. The unique identifier of the
-   * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
-   * that will be returned to the API caller.
+   * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+   * will be returned to the API caller.
    * 
* * string detect_intent_response_id = 1; @@ -41,9 +40,8 @@ public interface WebhookRequestOrBuilder * * *
-   * Always present. The unique identifier of the
-   * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
-   * that will be returned to the API caller.
+   * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+   * will be returned to the API caller.
    * 
* * string detect_intent_response_id = 1; @@ -266,8 +264,7 @@ public interface WebhookRequestOrBuilder * * *
-   * Custom data set in
-   * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+   * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
    * 
* * .google.protobuf.Struct payload = 8; @@ -279,8 +276,7 @@ public interface WebhookRequestOrBuilder * * *
-   * Custom data set in
-   * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+   * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
    * 
* * .google.protobuf.Struct payload = 8; @@ -292,8 +288,7 @@ public interface WebhookRequestOrBuilder * * *
-   * Custom data set in
-   * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+   * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
    * 
* * .google.protobuf.Struct payload = 8; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponse.java index c90059205..f0fd8ac36 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponse.java @@ -1817,8 +1817,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SessionInfoOrBuilder getSessionInf * * *
-   * Value to append directly to
-   * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+   * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
    * 
* * .google.protobuf.Struct payload = 4; @@ -1833,8 +1832,7 @@ public boolean hasPayload() { * * *
-   * Value to append directly to
-   * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+   * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
    * 
* * .google.protobuf.Struct payload = 4; @@ -1849,8 +1847,7 @@ public com.google.protobuf.Struct getPayload() { * * *
-   * Value to append directly to
-   * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+   * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
    * 
* * .google.protobuf.Struct payload = 4; @@ -3097,8 +3094,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SessionInfoOrBuilder getSessionInf * * *
-     * Value to append directly to
-     * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+     * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
      * 
* * .google.protobuf.Struct payload = 4; @@ -3112,8 +3108,7 @@ public boolean hasPayload() { * * *
-     * Value to append directly to
-     * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+     * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
      * 
* * .google.protobuf.Struct payload = 4; @@ -3131,8 +3126,7 @@ public com.google.protobuf.Struct getPayload() { * * *
-     * Value to append directly to
-     * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+     * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
      * 
* * .google.protobuf.Struct payload = 4; @@ -3154,8 +3148,7 @@ public Builder setPayload(com.google.protobuf.Struct value) { * * *
-     * Value to append directly to
-     * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+     * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
      * 
* * .google.protobuf.Struct payload = 4; @@ -3174,8 +3167,7 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { * * *
-     * Value to append directly to
-     * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+     * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
      * 
* * .google.protobuf.Struct payload = 4; @@ -3199,8 +3191,7 @@ public Builder mergePayload(com.google.protobuf.Struct value) { * * *
-     * Value to append directly to
-     * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+     * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
      * 
* * .google.protobuf.Struct payload = 4; @@ -3220,8 +3211,7 @@ public Builder clearPayload() { * * *
-     * Value to append directly to
-     * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+     * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
      * 
* * .google.protobuf.Struct payload = 4; @@ -3235,8 +3225,7 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { * * *
-     * Value to append directly to
-     * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+     * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
      * 
* * .google.protobuf.Struct payload = 4; @@ -3252,8 +3241,7 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * * *
-     * Value to append directly to
-     * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+     * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
      * 
* * .google.protobuf.Struct payload = 4; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponseOrBuilder.java index 3b51c0215..95adb567c 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponseOrBuilder.java @@ -149,8 +149,7 @@ public interface WebhookResponseOrBuilder * * *
-   * Value to append directly to
-   * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+   * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
    * 
* * .google.protobuf.Struct payload = 4; @@ -162,8 +161,7 @@ public interface WebhookResponseOrBuilder * * *
-   * Value to append directly to
-   * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+   * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
    * 
* * .google.protobuf.Struct payload = 4; @@ -175,8 +173,7 @@ public interface WebhookResponseOrBuilder * * *
-   * Value to append directly to
-   * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+   * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
    * 
* * .google.protobuf.Struct payload = 4; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto index e2510668e..e0bf899a1 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto @@ -316,3 +316,12 @@ message RestoreAgentRequest { bytes agent_content = 3; } } + +// The response message for [Agents.ImportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ImportAgent]. +message ImportAgentResponse { + // The unique identifier of the new agent. + // Format: `projects//locations//agents/`. + string agent = 1 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Agent" + }]; +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto index 52a7706d7..e28a50da9 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.dialogflow.cx.v3beta1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/duration.proto"; +import "google/api/annotations.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1"; @@ -115,12 +115,10 @@ message InputAudioConfig { // more details. int32 sample_rate_hertz = 2; - // Optional. If `true`, Dialogflow returns - // [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in - // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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. + // Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in + // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.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 @@ -144,8 +142,7 @@ message InputAudioConfig { // for more details. string model = 7; - // Optional. Which variant of the [Speech - // model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use. + // Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use. SpeechModelVariant model_variant = 10; // Optional. If `false` (default), recognition does not cease until the @@ -159,8 +156,7 @@ message InputAudioConfig { bool single_utterance = 8; } -// Variant of the specified [Speech -// model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use. +// Variant of the specified [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use. // // See the [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) @@ -189,8 +185,8 @@ enum SpeechModelVariant { // Use an enhanced model variant: // // * If an enhanced variant does not exist for the given - // [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and - // request language, Dialogflow falls back to the standard variant. + // [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and request language, Dialogflow falls + // back to the standard variant. // // The [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) @@ -212,10 +208,9 @@ message VoiceSelectionParams { // Optional. The preferred gender of the voice. If not set, the service will // choose a voice based on the other parameters such as language_code and - // [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note - // that this is only a preference, not requirement. If a voice of the - // appropriate gender is not available, the synthesizer should substitute a - // voice with a different gender rather than failing the request. + // [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a + // voice of the appropriate gender is not available, the synthesizer should + // substitute a voice with a different gender rather than failing the request. SsmlVoiceGender ssml_gender = 2; } @@ -271,8 +266,7 @@ enum SsmlVoiceGender { // Instructs the speech synthesizer how to generate the output audio content. message OutputAudioConfig { // Required. Audio encoding of the synthesized audio content. - OutputAudioEncoding audio_encoding = 1 - [(google.api.field_behavior) = REQUIRED]; + OutputAudioEncoding audio_encoding = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. The synthesis sample rate (in hertz) for this audio. If not // provided, then the synthesizer will use the default sample rate based on diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/entity_type.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/entity_type.proto index c53112c5d..8c5571a18 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/entity_type.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/entity_type.proto @@ -31,8 +31,7 @@ option java_outer_classname = "EntityTypeProto"; option java_package = "com.google.cloud.dialogflow.cx.v3beta1"; option objc_class_prefix = "DF"; -// Service for managing -// [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. +// Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. service EntityTypes { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -40,8 +39,7 @@ service EntityTypes { "https://www.googleapis.com/auth/dialogflow"; // Returns the list of all entity types in the specified agent. - rpc ListEntityTypes(ListEntityTypesRequest) - returns (ListEntityTypesResponse) { + rpc ListEntityTypes(ListEntityTypesRequest) returns (ListEntityTypesResponse) { option (google.api.http) = { get: "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes" }; @@ -75,8 +73,7 @@ service EntityTypes { } // Deletes the specified entity type. - rpc DeleteEntityType(DeleteEntityTypeRequest) - returns (google.protobuf.Empty) { + rpc DeleteEntityType(DeleteEntityTypeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v3beta1/{name=projects/*/locations/*/agents/*/entityTypes/*}" }; @@ -107,9 +104,7 @@ service EntityTypes { // // * **User** - entities that are built for an individual user such as // favorites, preferences, playlists, and so on. A user entity is -// represented by the -// [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] -// type. +// represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] type. // // For more information about entity types, see the [Dialogflow // documentation](https://cloud.google.com/dialogflow/docs/entities-overview). @@ -184,14 +179,12 @@ message EntityType { } // The unique identifier of the entity type. - // Required for - // [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType]. + // Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType]. // Format: `projects//locations//agents//entityTypes/`. string name = 1; - // Required. The human-readable name of the entity type, unique within the - // agent. + // Required. The human-readable name of the entity type, unique within the agent. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Required. Indicates the kind of entity type. @@ -214,8 +207,7 @@ message EntityType { bool enable_fuzzy_extraction = 7; } -// The request message for -// [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes]. +// The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes]. message ListEntityTypesRequest { // Required. The agent to list all entity types for. // Format: `projects//locations//agents/`. @@ -248,8 +240,7 @@ message ListEntityTypesRequest { string page_token = 4; } -// The response message for -// [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes]. +// The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes]. message ListEntityTypesResponse { // The list of entity types. There will be a maximum number of items returned // based on the page_size field in the request. @@ -260,8 +251,7 @@ message ListEntityTypesResponse { string next_page_token = 2; } -// The request message for -// [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType]. +// The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType]. message GetEntityTypeRequest { // Required. The name of the entity type. // Format: `projects//locations//agents//locations//agents/`. @@ -317,8 +306,7 @@ message CreateEntityTypeRequest { string language_code = 3; } -// The request message for -// [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType]. +// The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType]. message UpdateEntityTypeRequest { // Required. The entity type to update. EntityType entity_type = 1 [(google.api.field_behavior) = REQUIRED]; @@ -340,8 +328,7 @@ message UpdateEntityTypeRequest { google.protobuf.FieldMask update_mask = 3; } -// The request message for -// [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType]. +// The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType]. message DeleteEntityTypeRequest { // Required. The name of the entity type to delete. // Format: `projects//locations//agents//locations//agents/`. @@ -241,15 +235,16 @@ message CreateFlowRequest { string language_code = 3; } -// The request message for -// [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow]. +// The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow]. message DeleteFlowRequest { // Required. The name of the flow to delete. // Format: `projects//locations//agents//flows/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Flow" + } ]; // This field has no effect for flows with no incoming transitions. @@ -265,8 +260,7 @@ message DeleteFlowRequest { bool force = 2; } -// The request message for -// [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows]. +// The request message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows]. message ListFlowsRequest { // Required. The agent containing the flows. // Format: `projects//locations//agents/`. @@ -298,8 +292,7 @@ message ListFlowsRequest { string language_code = 4; } -// The response message for -// [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows]. +// The response message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows]. message ListFlowsResponse { // The list of flows. There will be a maximum number of items returned based // on the page_size field in the request. @@ -310,15 +303,16 @@ message ListFlowsResponse { string next_page_token = 2; } -// The response message for -// [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow]. +// The response message for [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow]. message GetFlowRequest { // Required. The name of the flow to get. // Format: `projects//locations//agents//flows/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Flow" + } ]; // The language to retrieve the flow for. The following fields are language @@ -335,16 +329,14 @@ message GetFlowRequest { string language_code = 2; } -// The request message for -// [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow]. +// The request message for [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow]. message UpdateFlowRequest { // Required. The flow to update. Flow flow = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The mask to control which fields get updated. If `update_mask` is - // not specified, an error will be returned. - google.protobuf.FieldMask update_mask = 2 - [(google.api.field_behavior) = REQUIRED]; + // Required. The mask to control which fields get updated. If `update_mask` is not + // specified, an error will be returned. + google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; // The language of the following fields in `flow`: // @@ -359,14 +351,15 @@ message UpdateFlowRequest { string language_code = 3; } -// The request message for -// [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow]. +// The request message for [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow]. message TrainFlowRequest { // Required. The flow to train. // Format: `projects//locations//agents//flows/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Flow" + } ]; } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto index d93e94489..b60577205 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto @@ -154,6 +154,11 @@ message Intent { // Indicates whether the parameter represents a list of values. bool is_list = 3; + + // Indicates whether the parameter content is logged in text and audio. If + // it is set to true, the parameter content will be replaced to parameter + // id in both request and response. The default value is false. + bool redact = 4; } // The unique identifier of the intent. diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/page.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/page.proto index 32696477d..f63dcfae4 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/page.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/page.proto @@ -106,10 +106,7 @@ message Page { }; // The unique identifier of the page. - // Required for the - // [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] - // method. - // [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage] + // Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage] // populates the name automatically. // Format: `projects//locations//agents//flows//pages/`. @@ -125,10 +122,8 @@ message Page { // relevant to the page. Form form = 4; - // Ordered list of - // [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] - // associated with the page. Transition route groups must be unique within a - // page. + // Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated + // with the page. Transition route groups must be unique within a page. // // * If multiple transition routes within a page scope refer to the same // intent, then the precedence order is: page's transition route -> page's @@ -139,10 +134,9 @@ message Page { // // Format:`projects//locations//agents//flows//transitionRouteGroups/`. - repeated string transition_route_groups = 11 - [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/TransitionRouteGroup" - }]; + repeated string transition_route_groups = 11 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/TransitionRouteGroup" + }]; // A list of transitions for the transition rules of this page. // They route the conversation to another page in the same flow, or another @@ -153,8 +147,7 @@ message Page { // // * TransitionRoutes defined in the page with intent specified. // * TransitionRoutes defined in the - // [transition route - // groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. + // [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups]. // * TransitionRoutes defined in flow with intent specified. // * TransitionRoutes defined in the page with only condition specified. repeated TransitionRoute transition_routes = 9; @@ -167,9 +160,8 @@ message Page { // A form is a data model that groups related parameters that can be collected // from the user. The process in which the agent prompts the user and collects // parameter values from the user is called form filling. A form can be added to -// a [page][google.cloud.dialogflow.cx.v3beta1.Page]. When form filling is done, -// the filled parameters will be written to the -// [session][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. +// a [page][google.cloud.dialogflow.cx.v3beta1.Page]. When form filling is done, the filled parameters will be +// written to the [session][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. message Form { // Represents a form parameter. message Parameter { @@ -177,8 +169,7 @@ message Form { message FillBehavior { // Required. The fulfillment to provide the initial prompt that the agent // can present to the user in order to fill the parameter. - Fulfillment initial_prompt_fulfillment = 3 - [(google.api.field_behavior) = REQUIRED]; + Fulfillment initial_prompt_fulfillment = 3 [(google.api.field_behavior) = REQUIRED]; // The handlers for parameter-level events, used to provide reprompt for // the parameter or transition to a different page/flow. The supported @@ -246,28 +237,28 @@ message Form { // The default value of an optional parameter. If the parameter is required, // the default value will be ignored. google.protobuf.Value default_value = 9; + + // Indicates whether the parameter content is logged in text and audio. If + // it is set to true, the parameter content will be replaced to parameter + // name in both request and response. The default value is false. + bool redact = 11; } // Parameters to collect from the user. repeated Parameter parameters = 1; } -// An event handler specifies an -// [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be -// handled during a session. When the specified event happens, the following -// actions are taken in order: +// An event handler specifies an [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be handled +// during a session. When the specified event happens, the following actions are +// taken in order: // // * If there is a -// [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment] -// associated with the event, it will be called. -// * If there is a -// [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page] -// associated with the event, the session will transition into the specified -// page. -// * If there is a -// [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow] -// associated with the event, the session will transition into the specified -// flow. +// [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment] associated with +// the event, it will be called. +// * If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page] associated +// with the event, the session will transition into the specified page. +// * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow] associated +// with the event, the session will transition into the specified flow. message EventHandler { // Output only. The unique identifier of this event handler. string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -282,49 +273,41 @@ message EventHandler { Fulfillment trigger_fulfillment = 5; // The target to transition to, either a page in the same host flow (the flow - // that owns this - // [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute]), or - // another flow in the same agent. + // that owns this [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute]), or another flow in the same agent. oneof target { // The target page to transition to. // Format: `projects//locations//agents//flows//pages/`. string target_page = 2 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Page" - }]; + type: "dialogflow.googleapis.com/Page" + }]; // The target flow to transition to. // Format: `projects//locations//agents//flows/`. string target_flow = 3 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Flow" - }]; + type: "dialogflow.googleapis.com/Flow" + }]; } } -// A transition route specifies a -// [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched -// and/or a data condition that can be evaluated during a session. When a -// specified transition is matched, the following actions are taken in order: +// A transition route specifies a [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched and/or a +// data condition that can be evaluated during a session. When a specified +// transition is matched, the following actions are taken in order: // // * If there is a -// [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment] -// associated with the transition, it will be called. -// * If there is a -// [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page] -// associated with the transition, the session will transition into the -// specified page. -// * If there is a -// [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow] -// associated with the transition, the session will transition into the -// specified flow. +// [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment] associated with +// the transition, it will be called. +// * If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page] associated +// with the transition, the session will transition into the specified page. +// * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow] associated +// with the transition, the session will transition into the specified flow. message TransitionRoute { // Output only. The unique identifier of this transition route. string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The unique identifier of an - // [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: - // `projects//locations//agents//locations//agents//intents/`. // Indicates that the transition can only happen when the given intent is // matched. @@ -332,12 +315,11 @@ message TransitionRoute { // `intent` and `condition` are specified, the transition can only happen // when both are fulfilled. string intent = 1 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Intent" - }]; + type: "dialogflow.googleapis.com/Intent" + }]; - // The condition to evaluate against [form - // parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session - // parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + // The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or + // [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. // // See the [conditions // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). @@ -352,28 +334,25 @@ message TransitionRoute { Fulfillment trigger_fulfillment = 3; // The target to transition to, either a page in the same host flow (the flow - // that owns this - // [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute]), or - // another flow in the same agent. + // that owns this [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute]), or another flow in the same agent. oneof target { // The target page to transition to. // Format: `projects//locations//agents//flows//pages/`. string target_page = 4 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Page" - }]; + type: "dialogflow.googleapis.com/Page" + }]; // The target flow to transition to. // Format: `projects//locations//agents//flows/`. string target_flow = 5 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Flow" - }]; + type: "dialogflow.googleapis.com/Flow" + }]; } } -// The request message for -// [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages]. +// The request message for [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages]. message ListPagesRequest { // Required. The flow to list all pages for. // Format: `projects//locations//agents//locations//agents//flows//pages/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" } + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Page" + } ]; // The language to retrieve the page for. The following fields are language @@ -451,8 +430,7 @@ message GetPageRequest { string language_code = 2; } -// The request message for -// [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]. +// The request message for [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]. message CreatePageRequest { // Required. The flow to create a page for. // Format: `projects//locations//agents//locations//agents//Flows//pages/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" } + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Page" + } ]; // This field has no effect for pages with no incoming transitions. diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto index 328a25e09..1627520eb 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto @@ -16,9 +16,9 @@ syntax = "proto3"; package google.cloud.dialogflow.cx.v3beta1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/protobuf/struct.proto"; +import "google/api/annotations.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1"; @@ -51,11 +51,10 @@ message ResponseMessage { // Required. A collection of text responses. repeated string text = 1 [(google.api.field_behavior) = REQUIRED]; - // Output only. Whether the playback of this message can be interrupted by - // the end user's speech and the client can then starts the next Dialogflow + // Output only. Whether the playback of this message can be interrupted by the end + // user's speech and the client can then starts the next Dialogflow // request. - bool allow_playback_interruption = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; + bool allow_playback_interruption = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Indicates that the conversation should be handed off to a live agent. @@ -65,9 +64,7 @@ message ResponseMessage { // is up to you and your handoff procedures. // // You may set this, for example: - // * In the - // [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] - // of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if + // * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if // entering the page indicates something went extremely wrong in the // conversation. // * In a webhook response when you determine that the customer issue can only @@ -88,9 +85,7 @@ message ResponseMessage { // [ConversationSuccess][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess]. // // You may set this, for example: - // * In the - // [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] - // of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if + // * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if // entering the page indicates that the conversation succeeded. // * In a webhook response when you determine that you handled the customer // issue. @@ -111,12 +106,31 @@ message ResponseMessage { // [SSML](/speech/text-to-speech/docs/ssml). string ssml = 2; } + + // Output only. Whether the playback of this message can be interrupted by the end + // user's speech and the client can then starts the next Dialogflow + // request. + bool allow_playback_interruption = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Indicates that interaction with the Dialogflow agent has ended. // This message is generated by Dialogflow only and not supposed to be // defined by the user. - message EndInteraction {} + message EndInteraction { + + } + + // Specifies an audio clip to be played by the client as part of the response. + message PlayAudio { + // Required. URI of the audio clip. Dialogflow does not impose any validation on this + // value. It is specific to the client that reads it. + string audio_uri = 1 [(google.api.field_behavior) = REQUIRED]; + + // Output only. Whether the playback of this message can be interrupted by the end + // user's speech and the client can then starts the next Dialogflow + // request. + bool allow_playback_interruption = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } // Represents an audio message that is composed of both segments // synthesized from the Dialogflow agent prompts and ones hosted externally @@ -139,30 +153,16 @@ message ResponseMessage { string uri = 2; } - // Output only. Whether the playback of this segment can be interrupted by - // the end user's speech and the client should then start the next - // Dialogflow request. - bool allow_playback_interruption = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Whether the playback of this segment can be interrupted by the end + // user's speech and the client should then start the next Dialogflow + // request. + bool allow_playback_interruption = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Segments this audio response is composed of. repeated Segment segments = 1; } - // Specifies an audio clip to be played by the client as part of the response. - message PlayAudio { - // Required. URI of the audio clip. Dialogflow does not impose any - // validation on this value. It is specific to the client that reads it. - string audio_uri = 1 [(google.api.field_behavior) = REQUIRED]; - - // Output only. Whether the playback of this message can be interrupted by - // the end user's speech and the client can then starts the next Dialogflow - // request. - bool allow_playback_interruption = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - // Required. The rich response message. oneof message { // Returns a text response. @@ -181,23 +181,22 @@ message ResponseMessage { // Hands off conversation to a human agent. LiveAgentHandoff live_agent_handoff = 10; - // Output only. A signal that indicates the interaction with the Dialogflow - // agent has ended. This message is generated by Dialogflow only when the - // conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed - // to be defined by the user. It's guaranteed that there is at most one such - // message in each response. - EndInteraction end_interaction = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. A signal that indicates the interaction with the Dialogflow agent has + // ended. + // This message is generated by Dialogflow only when the conversation + // reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be + // defined by the user. + // It's guaranteed that there is at most one such message in each response. + EndInteraction end_interaction = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Signal that the client should play an audio clip hosted at a // client-specific URI. Dialogflow uses this to construct - // [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. - // However, Dialogflow itself does not try to read or process the URI in any - // way. + // [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself + // does not try to read or process the URI in any way. PlayAudio play_audio = 12; - // Output only. An audio response message composed of both the synthesized - // Dialogflow agent responses and responses defined via + // Output only. An audio response message composed of both the synthesized Dialogflow + // agent responses and responses defined via // [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio]. // This message is generated by Dialogflow only and not supposed to be // defined by the user. diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto index 9f962d4a7..e3de731c1 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto @@ -17,10 +17,10 @@ syntax = "proto3"; package google.cloud.dialogflow.cx.v3beta1; import "google/api/annotations.proto"; -import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/dialogflow/cx/v3beta1/audio_config.proto"; +import "google/cloud/dialogflow/cx/v3beta1/flow.proto"; import "google/cloud/dialogflow/cx/v3beta1/intent.proto"; import "google/cloud/dialogflow/cx/v3beta1/page.proto"; import "google/cloud/dialogflow/cx/v3beta1/response_message.proto"; @@ -29,6 +29,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; import "google/rpc/status.proto"; import "google/type/latlng.proto"; +import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1"; @@ -44,9 +45,8 @@ option (google.api.resource_definition) = { }; // A session represents an interaction with a user. You retrieve user input -// and pass it to the -// [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] -// method to determine user intent and respond. +// and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine +// user intent and respond. service Sessions { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -71,8 +71,8 @@ service Sessions { // Processes a natural language query in audio format in a streaming fashion // and returns structured, actionable data as a result. This method is only // available via the gRPC API (not REST). - rpc StreamingDetectIntent(stream StreamingDetectIntentRequest) - returns (stream StreamingDetectIntentResponse) {} + rpc StreamingDetectIntent(stream StreamingDetectIntentRequest) returns (stream StreamingDetectIntentResponse) { + } // Returns preliminary intent match results, doesn't change the session // status. @@ -87,13 +87,9 @@ service Sessions { }; } - // Fulfills a matched intent returned by - // [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent]. - // Must be called after - // [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], - // with input from - // [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. - // Otherwise, the behavior is undefined. + // Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent]. + // Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from + // [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined. rpc FulfillIntent(FulfillIntentRequest) returns (FulfillIntentResponse) { option (google.api.http) = { post: "/v3beta1/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent" @@ -117,6 +113,9 @@ message DetectIntentRequest { // It's up to the API caller to choose an appropriate `Session ID`. It can be // a random number or some type of session identifiers (preferably hashed). // The length of the `Session ID` must not exceed 36 characters. + // + // For more information, see the [sessions + // guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). string session = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -146,9 +145,9 @@ message DetectIntentResponse { // The audio data bytes encoded as specified in the request. // Note: The output audio is generated based on the values of default platform // text responses found in the - // [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - // field. If multiple default text responses exist, they will be concatenated - // when generating audio. If no default platform text responses exist, the + // [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + // multiple default text responses exist, they will be concatenated when + // generating audio. If no default platform text responses exist, the // generated audio content will be empty. // // In some scenarios, multiple output audio fields may be present in the @@ -161,29 +160,24 @@ message DetectIntentResponse { } // The top-level message sent by the client to the -// [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent] -// method. +// [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent] method. // // Multiple request messages should be sent in order: // // 1. The first message must contain // [session][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.session], -// [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] -// plus optionally -// [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. -// If the client wants to receive an audio response, it should also contain +// [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] plus optionally +// [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. If the client +// wants to receive an audio response, it should also contain // [output_audio_config][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.output_audio_config]. // -// 2. If -// [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] -// was set to -// [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], -// all subsequent messages must contain -// [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. +// 2. If [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] was set to +// [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], all subsequent messages +// must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] to continue with +// Speech recognition. +// If you decide to rather detect an intent from text +// input after you already started Speech recognition, please send a message +// with [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. // // However, note that: // @@ -204,9 +198,12 @@ message StreamingDetectIntentRequest { // a random number or some type of session identifiers (preferably hashed). // The length of the `Session ID` must not exceed 36 characters. // Note: session must be set in the first request. + // + // For more information, see the [sessions + // guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). string session = 1 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Session" - }]; + type: "dialogflow.googleapis.com/Session" + }]; // The parameters of this query. QueryParameters query_params = 2; @@ -287,8 +284,8 @@ message StreamingRecognitionResult { // additional results). The client should stop sending additional audio // data, half-close the gRPC connection, and wait for any additional results // until the server closes the gRPC connection. This message is only sent if - // [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] - // was set to `true`, and is not used otherwise. + // [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] was set to + // `true`, and is not used otherwise. END_OF_SINGLE_UTTERANCE = 2; } @@ -324,8 +321,7 @@ message StreamingRecognitionResult { float stability = 6; // Word-specific information for the words recognized by Speech in - // [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - // Populated if and only if `message_type` = `TRANSCRIPT` and + // [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and // [InputAudioConfig.enable_word_info] is set. repeated SpeechWordInfo speech_word_info = 7; @@ -374,6 +370,10 @@ message QueryParameters { // map from composite entity property names to property values // - Else: parameter value google.protobuf.Struct parameters = 5; + + // Configures whether sentiment analysis should be performed. If not + // provided, sentiment analysis is not performed. + bool analyze_query_text_sentiment = 8; } // Represents the query input. It can contain either: @@ -392,6 +392,9 @@ message QueryInput { // The natural language speech audio to be processed. AudioInput audio = 5; + + // The event to be triggered. + EventInput event = 6; } // Required. The language of the input. See [Language @@ -405,22 +408,20 @@ message QueryInput { message QueryResult { // The original conversational query. oneof query { - // If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - // was provided as input, this field will contain a copy of the text. + // If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + // will contain a copy of the text. string text = 1; - // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - // provided as input, this field will contain a copy of the intent - // identifier. + // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + // contain a copy of the intent identifier. string trigger_intent = 11; - // If [natural language speech - // audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - // input, this field will contain the trascript for the audio. + // If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + // this field will contain the trascript for the audio. string transcript = 12; - // If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - // as input, this field will contain the name of the event. + // If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + // the name of the event. string trigger_event = 14; } @@ -430,8 +431,7 @@ message QueryResult { // for a list of the currently supported language codes. string language_code = 2; - // The collected [session - // parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + // The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. // // Depending on your protocol or client library language, this is a // map, associative array, symbol table, dictionary, or JSON object @@ -456,23 +456,19 @@ message QueryResult { // The list of webhook call status in the order of call sequence. repeated google.rpc.Status webhook_statuses = 13; - // The list of webhook payload in - // [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - // in the order of call sequence. If some webhook call fails or doesn't return + // The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + // the order of call sequence. If some webhook call fails or doesn't return // any payload, an empty `Struct` would be used instead. repeated google.protobuf.Struct webhook_payloads = 6; - // The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - // fields are filled in this message, including but not limited to `name` and - // `display_name`. + // The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + // including but not limited to `name` and `display_name`. Page current_page = 7; - // The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - // conversational query. Some, not all fields are filled in this message, - // including but not limited to: `name` and `display_name`. This field is - // deprecated, please use - // [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - // instead. + // The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + // are filled in this message, including but not limited to: `name` and + // `display_name`. + // This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. Intent intent = 8 [deprecated = true]; // The intent detection confidence. Values range from 0.0 (completely @@ -481,9 +477,7 @@ message QueryResult { // help match the best intent within the classification threshold. // This value may change for the same end-user expression at any time due to a // model retraining or change in implementation. - // This field is deprecated, please use - // [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - // instead. + // This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. float intent_detection_confidence = 9 [deprecated = true]; // Intent match result, could be an intent or an event. @@ -493,12 +487,17 @@ message QueryResult { // webhook call latency. The string keys of the Struct's fields map can change // without notice. google.protobuf.Struct diagnostic_info = 10; + + // The sentiment analyss result, which depends on + // [`analyze_query_text_sentiment`] + // [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. + SentimentAnalysisResult sentiment_analysis_result = 17; } // Represents the natural language text to be processed. message TextInput { - // Required. The UTF-8 encoded natural language text to be processed. Text - // length must not exceed 256 characters. + // Required. The UTF-8 encoded natural language text to be processed. Text length must + // not exceed 256 characters. string text = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -523,9 +522,8 @@ message AudioInput { // The natural language speech audio to be processed. // A single request can contain up to 1 minute of speech audio data. - // The [transcribed - // text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot - // contain more than 256 bytes. + // The [transcribed text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot contain more than 256 + // bytes. // // For non-streaming audio detect intent, both `config` and `audio` must be // provided. @@ -534,6 +532,12 @@ message AudioInput { bytes audio = 2; } +// Represents the event to trigger. +message EventInput { + // Name of the event. + string event = 1; +} + // Represents one match result of [MatchIntent][]. message Match { // Type of a Match. @@ -557,10 +561,9 @@ message Match { NO_INPUT = 5; } - // The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - // query. Some, not all fields are filled in this message, including but not - // limited to: `name` and `display_name`. Only filled for - // [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + // The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + // this message, including but not limited to: `name` and `display_name`. Only + // filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. Intent intent = 1; // The collection of parameters extracted from the query. @@ -608,6 +611,9 @@ message MatchIntentRequest { // It's up to the API caller to choose an appropriate `Session ID`. It can be // a random number or some type of session identifiers (preferably hashed). // The length of the `Session ID` must not exceed 36 characters. + // + // For more information, see the [sessions + // guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). string session = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -626,28 +632,29 @@ message MatchIntentRequest { message MatchIntentResponse { // The original conversational query. oneof query { - // If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - // was provided as input, this field will contain a copy of the text. + // If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + // will contain a copy of the text. string text = 1; - // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - // provided as input, this field will contain a copy of the intent - // identifier. + // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + // contain a copy of the intent identifier. string trigger_intent = 2; - // If [natural language speech - // audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - // input, this field will contain the trascript for the audio. + // If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + // this field will contain the trascript for the audio. string transcript = 3; + + // If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + // contain a copy of the event name. + string trigger_event = 6; } // Match results, if more than one, ordered descendingly by the confidence // we have that the particular intent matches the query. repeated Match matches = 4; - // The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - // fields are filled in this message, including but not limited to `name` and - // `display_name`. + // The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + // including but not limited to `name` and `display_name`. Page current_page = 5; } @@ -676,9 +683,9 @@ message FulfillIntentResponse { // The audio data bytes encoded as specified in the request. // Note: The output audio is generated based on the values of default platform // text responses found in the - // [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] - // field. If multiple default text responses exist, they will be concatenated - // when generating audio. If no default platform text responses exist, the + // [`query_result.response_messages`][google.cloud.dialogflow.cx.v3beta1.QueryResult.response_messages] field. If + // multiple default text responses exist, they will be concatenated when + // generating audio. If no default platform text responses exist, the // generated audio content will be empty. // // In some scenarios, multiple output audio fields may be present in the @@ -689,3 +696,16 @@ message FulfillIntentResponse { // The config used by the speech synthesizer to generate the output audio. OutputAudioConfig output_audio_config = 4; } + +// The result of sentiment analysis. Sentiment analysis inspects user input +// and identifies the prevailing subjective opinion, especially to determine a +// user's attitude as positive, negative, or neutral. +message SentimentAnalysisResult { + // Sentiment score between -1.0 (negative sentiment) and 1.0 (positive + // sentiment). + float score = 1; + + // A non-negative number in the [0, +inf) range, which represents the absolute + // magnitude of sentiment, regardless of score (positive or negative). + float magnitude = 2; +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto index 25dd8f5f8..5b8f5df92 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto @@ -32,8 +32,7 @@ option java_outer_classname = "SessionEntityTypeProto"; option java_package = "com.google.cloud.dialogflow.cx.v3beta1"; option objc_class_prefix = "DF"; -// Service for managing -// [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. +// Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. service SessionEntityTypes { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -41,8 +40,7 @@ service SessionEntityTypes { "https://www.googleapis.com/auth/dialogflow"; // Returns the list of all session entity types in the specified session. - rpc ListSessionEntityTypes(ListSessionEntityTypesRequest) - returns (ListSessionEntityTypesResponse) { + rpc ListSessionEntityTypes(ListSessionEntityTypesRequest) returns (ListSessionEntityTypesResponse) { option (google.api.http) = { get: "/v3beta1/{parent=projects/*/locations/*/agents/*/sessions/*}/entityTypes" additional_bindings { @@ -53,8 +51,7 @@ service SessionEntityTypes { } // Retrieves the specified session entity type. - rpc GetSessionEntityType(GetSessionEntityTypeRequest) - returns (SessionEntityType) { + rpc GetSessionEntityType(GetSessionEntityTypeRequest) returns (SessionEntityType) { option (google.api.http) = { get: "/v3beta1/{name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}" additional_bindings { @@ -68,8 +65,7 @@ service SessionEntityTypes { // // If the specified session entity type already exists, overrides the // session entity type. - rpc CreateSessionEntityType(CreateSessionEntityTypeRequest) - returns (SessionEntityType) { + rpc CreateSessionEntityType(CreateSessionEntityTypeRequest) returns (SessionEntityType) { option (google.api.http) = { post: "/v3beta1/{parent=projects/*/locations/*/agents/*/sessions/*}/entityTypes" body: "session_entity_type" @@ -82,8 +78,7 @@ service SessionEntityTypes { } // Updates the specified session entity type. - rpc UpdateSessionEntityType(UpdateSessionEntityTypeRequest) - returns (SessionEntityType) { + rpc UpdateSessionEntityType(UpdateSessionEntityTypeRequest) returns (SessionEntityType) { option (google.api.http) = { patch: "/v3beta1/{session_entity_type.name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}" body: "session_entity_type" @@ -96,8 +91,7 @@ service SessionEntityTypes { } // Deletes the specified session entity type. - rpc DeleteSessionEntityType(DeleteSessionEntityTypeRequest) - returns (google.protobuf.Empty) { + rpc DeleteSessionEntityType(DeleteSessionEntityTypeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v3beta1/{name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}" additional_bindings { @@ -113,9 +107,9 @@ service SessionEntityTypes { // preferences, playlists, and so on. // // You can redefine a session entity type at the session level to extend or -// replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType] -// at the user session level (we refer to the entity types defined at the agent -// level as "custom entity types"). +// replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType] at the user session level (we +// refer to the entity types defined at the agent level as "custom entity +// types"). // // Note: session entity types apply to all queries, regardless of the language. // @@ -144,9 +138,8 @@ message SessionEntityType { // `GetSessionEntityType`, `CreateSessionEntityType` and // `UpdateSessionEntityType` only return the additional entities added in // this session entity type. If you want to get the supplemented list, - // please call - // [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType] - // on the custom entity type and merge. + // please call [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType] on the custom entity type + // and merge. ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2; } @@ -159,19 +152,16 @@ message SessionEntityType { // environment. string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Indicates whether the additional data should override or - // supplement the custom entity type definition. - EntityOverrideMode entity_override_mode = 3 - [(google.api.field_behavior) = REQUIRED]; + // Required. Indicates whether the additional data should override or supplement the + // custom entity type definition. + EntityOverrideMode entity_override_mode = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. The collection of entities to override or supplement the custom - // entity type. - repeated EntityType.Entity entities = 4 - [(google.api.field_behavior) = REQUIRED]; + // Required. The collection of entities to override or supplement the custom entity + // type. + repeated EntityType.Entity entities = 4 [(google.api.field_behavior) = REQUIRED]; } -// The request message for -// [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes]. +// The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes]. message ListSessionEntityTypesRequest { // Required. The session to list all session entity types from. // Format: `projects//locations//agents//locations//agents//locations//agents//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' // environment. - SessionEntityType session_entity_type = 1 - [(google.api.field_behavior) = REQUIRED]; + SessionEntityType session_entity_type = 1 [(google.api.field_behavior) = REQUIRED]; // The mask to control which fields get updated. google.protobuf.FieldMask update_mask = 2; } -// The request message for -// [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType]. +// The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType]. message DeleteSessionEntityTypeRequest { // Required. The name of the session entity type to delete. // Format: `projects//locations//agents//locations//agents//webhooks/`. + // Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method. + // [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically. + // Format: `projects//locations//agents//webhooks/`. string name = 1; // Required. The human-readable name of the webhook, unique within the agent. @@ -138,8 +135,7 @@ message Webhook { bool disabled = 5; } -// The request message for -// [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks]. +// The request message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks]. message ListWebhooksRequest { // Required. The agent to list all webhooks for. // Format: `projects//locations//agents/`. @@ -158,8 +154,7 @@ message ListWebhooksRequest { string page_token = 3; } -// The response message for -// [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks]. +// The response message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks]. message ListWebhooksResponse { // The list of webhooks. There will be a maximum number of items returned // based on the page_size field in the request. @@ -170,8 +165,7 @@ message ListWebhooksResponse { string next_page_token = 2; } -// The request message for -// [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook]. +// The request message for [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook]. message GetWebhookRequest { // Required. The name of the webhook. // Format: `projects//locations//agents//locations//agents/`. @@ -200,8 +193,7 @@ message CreateWebhookRequest { Webhook webhook = 2 [(google.api.field_behavior) = REQUIRED]; } -// The request message for -// [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]. +// The request message for [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]. message UpdateWebhookRequest { // Required. The webhook to update. Webhook webhook = 1 [(google.api.field_behavior) = REQUIRED]; @@ -211,8 +203,7 @@ message UpdateWebhookRequest { google.protobuf.FieldMask update_mask = 2; } -// The request message for -// [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook]. +// The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook]. message DeleteWebhookRequest { // Required. The name of the webhook to delete. // Format: `projects//locations//agents//locations//agents//intents/`. + // [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects//locations//agents//intents/`. string last_matched_intent = 1 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Intent" - }]; + type: "dialogflow.googleapis.com/Intent" + }]; // Parameters identified as a result of intent matching. This is a map of // the name of the identified parameter to the value of the parameter @@ -273,9 +262,8 @@ message WebhookRequest { map parameters = 2; } - // Always present. The unique identifier of the - // [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] - // that will be returned to the API caller. + // Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that + // will be returned to the API caller. string detect_intent_response_id = 1; // Always present. Information about the fulfillment that triggered this @@ -296,8 +284,7 @@ message WebhookRequest { // [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response]; repeated ResponseMessage messages = 7; - // Custom data set in - // [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload]. + // Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload]. google.protobuf.Struct payload = 8; } @@ -338,8 +325,7 @@ message WebhookResponse { // if it does not intend to modify session status. SessionInfo session_info = 3; - // Value to append directly to - // [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads]. + // Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads]. google.protobuf.Struct payload = 4; // The target to transition to. This can be set optionally to indicate an @@ -350,15 +336,15 @@ message WebhookResponse { // Format: `projects//locations//agents//flows//pages/`. string target_page = 5 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Page" - }]; + type: "dialogflow.googleapis.com/Page" + }]; // The target flow to transition to. // Format: `projects//locations//agents//flows/`. string target_flow = 6 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Flow" - }]; + type: "dialogflow.googleapis.com/Flow" + }]; } } @@ -385,98 +371,71 @@ message PageInfo { FILLED = 3; } - // Always present for - // [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. - // Required for + // Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. // The human-readable name of the parameter, unique within the form. This // field cannot be modified by the webhook. string display_name = 1; - // Optional for both - // [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and - // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. + // Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. // Indicates whether the parameter is required. Optional parameters will // not trigger prompts; however, they are filled if the user specifies // them. Required parameters must be filled before form filling concludes. bool required = 2; - // Always present for - // [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. - // Required for - // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. - // The state of the parameter. This field can be set to - // [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] - // by the webhook to invalidate the parameter; other values set by the + // Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for + // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set + // to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by + // the webhook to invalidate the parameter; other values set by the // webhook will be ignored. ParameterState state = 3; - // Optional for both - // [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and - // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. + // Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. // The value of the parameter. This field can be set by the webhook to // change the parameter value. google.protobuf.Value value = 4; - // Optional for - // [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. - // Ignored for - // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. + // Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. // Indicates if the parameter value was just collected on the last // conversation turn. bool just_collected = 5; } - // Optional for both - // [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and - // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. + // Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. // The parameters contained in the form. Note that the webhook cannot add // or remove any form parameter. repeated ParameterInfo parameter_info = 2; } - // Always present for - // [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. - // Ignored for - // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The - // unique identifier of the current page. Format: `projects//locations//agents//flows//pages/`. - string current_page = 1 [ - (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" } - ]; + // Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. + // The unique identifier of the current page. + // Format: `projects//locations//agents//flows//pages/`. + string current_page = 1 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Page" + }]; - // Optional for both - // [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and - // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. + // Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. // Information about the form. FormInfo form_info = 3; } // Represents session information communicated to and from the webhook. message SessionInfo { - // Always present for - // [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. - // Ignored for - // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The - // unique identifier of the - // [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. - // This field can be used by the webhook to identify a user. Format: - // `projects//locations//agents//locations//agents//sessions/`. string session = 1 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Session" - }]; - - // Optional for - // [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. - // Optional for - // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All - // parameters collected from forms and intents during the session. Parameters - // can be created, updated, or removed by the webhook. To remove a parameter - // from the session, the webhook should explicitly set the parameter value to - // null in - // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The - // map is keyed by parameters' display names. + type: "dialogflow.googleapis.com/Session" + }]; + + // Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. + // All parameters collected from forms and intents during the session. + // Parameters can be created, updated, or removed by the webhook. To remove a + // parameter from the session, the webhook should explicitly set the parameter + // value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters' + // display names. map parameters = 2; } diff --git a/synth.metadata b/synth.metadata index 056fadb9f..af02e78fe 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "6ee93932840fb3ccbaaa1527d549ddc04e4812fc", - "internalRef": "327289448" + "sha": "f7a34a4b51edcb758ee36e5fc580ac89ba2417fd", + "internalRef": "336005205" } }, { @@ -273,6 +273,8 @@ "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentProto.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventHandler.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventHandlerOrBuilder.java", + "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInput.java", + "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInputOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequest.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequestOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentResponse.java", @@ -311,6 +313,8 @@ "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetVersionRequestOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequest.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequestOrBuilder.java", + "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java", + "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfig.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfigOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java", @@ -396,6 +400,8 @@ "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/RestoreAgentRequest.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/RestoreAgentRequestOrBuilder.java", + "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResult.java", + "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResultOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityType.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeName.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeOrBuilder.java", From 7678a1176fd58c963290e9188311bca087a9ab52 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 14 Oct 2020 09:16:11 -0700 Subject: [PATCH 06/21] ci(java): suggest formatting fixes (#50) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/c7323cb0-257b-4ad3-b644-b94b558b2a13/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b65ef07d99946d23e900ef2cc490274a16edd336 --- .github/workflows/formatting.yaml | 25 +++++++++++++++++++++++++ synth.metadata | 5 +++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/formatting.yaml diff --git a/.github/workflows/formatting.yaml b/.github/workflows/formatting.yaml new file mode 100644 index 000000000..d4d367cfc --- /dev/null +++ b/.github/workflows/formatting.yaml @@ -0,0 +1,25 @@ +on: + pull_request_target: + types: [opened, synchronize] + branches: + - master +name: format +jobs: + format-code: + runs-on: ubuntu-latest + env: + ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} + steps: + - uses: actions/checkout@v2 + with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} + - uses: actions/setup-java@v1 + with: + java-version: 11 + - run: "mvn com.coveo:fmt-maven-plugin:format" + - uses: googleapis/code-suggester@v1.8.0 + with: + command: review + pull_number: ${{ github.event.pull_request.number }} + git_dir: '.' diff --git a/synth.metadata b/synth.metadata index af02e78fe..8fb63af88 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow-cx.git", - "sha": "8d7f23b953cb9f5468a77a72c493ac5fa1ed080d" + "sha": "77f66504b74069e65eca3e2afddd495565c064af" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b" + "sha": "b65ef07d99946d23e900ef2cc490274a16edd336" } } ], @@ -45,6 +45,7 @@ ".github/trusted-contribution.yml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", + ".github/workflows/formatting.yaml", ".github/workflows/samples.yaml", ".kokoro/build.bat", ".kokoro/build.sh", From aac888cc0f977dad6b4dfb18111736020669a44d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 14 Oct 2020 09:16:45 -0700 Subject: [PATCH 07/21] docs: clarified wording for restore APIs and query input (#48) PiperOrigin-RevId: 336725904 Source-Author: Google APIs Source-Date: Mon Oct 12 13:01:55 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 6ae1443d1eb0c17bcdbeaa1890960cbcd3b70010 Source-Link: https://github.com/googleapis/googleapis/commit/6ae1443d1eb0c17bcdbeaa1890960cbcd3b70010 --- .../dialogflow/cx/v3beta1/AgentsClient.java | 24 +-- .../dialogflow/cx/v3beta1/AgentsGrpc.java | 32 ++-- .../dialogflow/cx/v3beta1/FlowProto.java | 163 +++++++++--------- .../dialogflow/cx/v3beta1/QueryInput.java | 8 +- .../cloud/dialogflow/cx/v3beta1/agent.proto | 8 +- .../cloud/dialogflow/cx/v3beta1/flow.proto | 1 + .../cloud/dialogflow/cx/v3beta1/session.proto | 7 +- synth.metadata | 4 +- 8 files changed, 130 insertions(+), 117 deletions(-) diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsClient.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsClient.java index 169f393a7..fc0a047d1 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsClient.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsClient.java @@ -654,7 +654,7 @@ public final UnaryCallable deleteAgentCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Exports the specified agent to a ZIP file. + * Exports the specified agent to a binary file. * *

Sample code: * @@ -680,7 +680,7 @@ public final OperationFuture exportAgentAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Exports the specified agent to a ZIP file. + * Exports the specified agent to a binary file. * *

Sample code: * @@ -704,7 +704,7 @@ public final OperationFuture exportAgentAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Exports the specified agent to a ZIP file. + * Exports the specified agent to a binary file. * *

Sample code: * @@ -726,10 +726,10 @@ public final UnaryCallable exportAgentCallable() // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Restores the specified agent from a ZIP file. + * Restores the specified agent from a binary file. * - *

Note that all existing intents, intent routes, entity types, pages and webhooks in the agent - * will be deleted. + *

Replaces the current agent with a new one. Note that all existing resources in agent (e.g. + * intents, entity types, flows) will be removed. * *

Sample code: * @@ -754,10 +754,10 @@ public final OperationFuture restoreAgentAsync(RestoreAgentReques // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Restores the specified agent from a ZIP file. + * Restores the specified agent from a binary file. * - *

Note that all existing intents, intent routes, entity types, pages and webhooks in the agent - * will be deleted. + *

Replaces the current agent with a new one. Note that all existing resources in agent (e.g. + * intents, entity types, flows) will be removed. * *

Sample code: * @@ -781,10 +781,10 @@ public final OperationFuture restoreAgentAsync(RestoreAgentReques // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Restores the specified agent from a ZIP file. + * Restores the specified agent from a binary file. * - *

Note that all existing intents, intent routes, entity types, pages and webhooks in the agent - * will be deleted. + *

Replaces the current agent with a new one. Note that all existing resources in agent (e.g. + * intents, entity types, flows) will be removed. * *

Sample code: * diff --git a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsGrpc.java b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsGrpc.java index 1d8e090e1..b1ed19b8f 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsGrpc.java @@ -474,7 +474,7 @@ public void deleteAgent( * * *

-     * Exports the specified agent to a ZIP file.
+     * Exports the specified agent to a binary file.
      * 
*/ public void exportAgent( @@ -487,9 +487,9 @@ public void exportAgent( * * *
-     * Restores the specified agent from a ZIP file.
-     * Note that all existing intents, intent routes, entity types, pages and
-     * webhooks in the agent will be deleted.
+     * Restores the specified agent from a binary file.
+     * Replaces the current agent with a new one. Note that all existing resources
+     * in agent (e.g. intents, entity types, flows) will be removed.
      * 
*/ public void restoreAgent( @@ -649,7 +649,7 @@ public void deleteAgent( * * *
-     * Exports the specified agent to a ZIP file.
+     * Exports the specified agent to a binary file.
      * 
*/ public void exportAgent( @@ -665,9 +665,9 @@ public void exportAgent( * * *
-     * Restores the specified agent from a ZIP file.
-     * Note that all existing intents, intent routes, entity types, pages and
-     * webhooks in the agent will be deleted.
+     * Restores the specified agent from a binary file.
+     * Replaces the current agent with a new one. Note that all existing resources
+     * in agent (e.g. intents, entity types, flows) will be removed.
      * 
*/ public void restoreAgent( @@ -762,7 +762,7 @@ public com.google.protobuf.Empty deleteAgent( * * *
-     * Exports the specified agent to a ZIP file.
+     * Exports the specified agent to a binary file.
      * 
*/ public com.google.longrunning.Operation exportAgent( @@ -774,9 +774,9 @@ public com.google.longrunning.Operation exportAgent( * * *
-     * Restores the specified agent from a ZIP file.
-     * Note that all existing intents, intent routes, entity types, pages and
-     * webhooks in the agent will be deleted.
+     * Restores the specified agent from a binary file.
+     * Replaces the current agent with a new one. Note that all existing resources
+     * in agent (e.g. intents, entity types, flows) will be removed.
      * 
*/ public com.google.longrunning.Operation restoreAgent( @@ -875,7 +875,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * * *
-     * Exports the specified agent to a ZIP file.
+     * Exports the specified agent to a binary file.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -888,9 +888,9 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * * *
-     * Restores the specified agent from a ZIP file.
-     * Note that all existing intents, intent routes, entity types, pages and
-     * webhooks in the agent will be deleted.
+     * Restores the specified agent from a binary file.
+     * Replaces the current agent with a new one. Note that all existing resources
+     * in agent (e.g. intents, entity types, flows) will be removed.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java index 85a6844bc..cf6dc7203 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java @@ -80,86 +80,87 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "google/cloud/dialogflow/cx/v3beta1/page." + "proto\032#google/longrunning/operations.pro" + "to\032\033google/protobuf/empty.proto\032 google/" - + "protobuf/field_mask.proto\"\266\003\n\013NluSetting" - + "s\022M\n\nmodel_type\030\001 \001(\01629.google.cloud.dia" - + "logflow.cx.v3beta1.NluSettings.ModelType" - + "\022 \n\030classification_threshold\030\003 \001(\002\022^\n\023mo" - + "del_training_mode\030\004 \001(\0162A.google.cloud.d" - + "ialogflow.cx.v3beta1.NluSettings.ModelTr" - + "ainingMode\"Y\n\tModelType\022\032\n\026MODEL_TYPE_UN" - + "SPECIFIED\020\000\022\027\n\023MODEL_TYPE_STANDARD\020\001\022\027\n\023" - + "MODEL_TYPE_ADVANCED\020\003\"{\n\021ModelTrainingMo" - + "de\022#\n\037MODEL_TRAINING_MODE_UNSPECIFIED\020\000\022" - + "!\n\035MODEL_TRAINING_MODE_AUTOMATIC\020\001\022\036\n\032MO" - + "DEL_TRAINING_MODE_MANUAL\020\002\"\217\003\n\004Flow\022\014\n\004n" - + "ame\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013" - + "description\030\003 \001(\t\022N\n\021transition_routes\030\004" - + " \003(\01323.google.cloud.dialogflow.cx.v3beta" - + "1.TransitionRoute\022H\n\016event_handlers\030\n \003(" - + "\01320.google.cloud.dialogflow.cx.v3beta1.E" - + "ventHandler\022E\n\014nlu_settings\030\013 \001(\0132/.goog" - + "le.cloud.dialogflow.cx.v3beta1.NluSettin" - + "gs:h\352Ae\n\036dialogflow.googleapis.com/Flow\022" - + "Cprojects/{project}/locations/{location}" - + "/agents/{agent}/flows/{flow}\"\237\001\n\021CreateF" - + "lowRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dial" - + "ogflow.googleapis.com/Flow\022;\n\004flow\030\002 \001(\013" - + "2(.google.cloud.dialogflow.cx.v3beta1.Fl" - + "owB\003\340A\002\022\025\n\rlanguage_code\030\003 \001(\t\"X\n\021Delete" - + "FlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialo" - + "gflow.googleapis.com/Flow\022\r\n\005force\030\002 \001(\010" - + "\"\210\001\n\020ListFlowsRequest\0226\n\006parent\030\001 \001(\tB&\340" - + "A\002\372A \022\036dialogflow.googleapis.com/Flow\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\025\n\r" - + "language_code\030\004 \001(\t\"e\n\021ListFlowsResponse" - + "\0227\n\005flows\030\001 \003(\0132(.google.cloud.dialogflo" - + "w.cx.v3beta1.Flow\022\027\n\017next_page_token\030\002 \001" - + "(\t\"]\n\016GetFlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" - + "A \n\036dialogflow.googleapis.com/Flow\022\025\n\rla" - + "nguage_code\030\002 \001(\t\"\235\001\n\021UpdateFlowRequest\022" - + ";\n\004flow\030\001 \001(\0132(.google.cloud.dialogflow." - + "cx.v3beta1.FlowB\003\340A\002\0224\n\013update_mask\030\002 \001(" - + "\0132\032.google.protobuf.FieldMaskB\003\340A\002\022\025\n\rla" - + "nguage_code\030\003 \001(\t\"H\n\020TrainFlowRequest\0224\n" - + "\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.googleap" - + "is.com/Flow2\231\n\n\005Flows\022\302\001\n\nCreateFlow\0225.g" - + "oogle.cloud.dialogflow.cx.v3beta1.Create" - + "FlowRequest\032(.google.cloud.dialogflow.cx" - + ".v3beta1.Flow\"S\202\323\344\223\002?\"7/v3beta1/{parent=" - + "projects/*/locations/*/agents/*}/flows:\004" - + "flow\332A\013parent,flow\022\243\001\n\nDeleteFlow\0225.goog" - + "le.cloud.dialogflow.cx.v3beta1.DeleteFlo" - + "wRequest\032\026.google.protobuf.Empty\"F\202\323\344\223\0029" - + "*7/v3beta1/{name=projects/*/locations/*/" - + "agents/*/flows/*}\332A\004name\022\302\001\n\tListFlows\0224" - + ".google.cloud.dialogflow.cx.v3beta1.List" - + "FlowsRequest\0325.google.cloud.dialogflow.c" - + "x.v3beta1.ListFlowsResponse\"H\202\323\344\223\0029\0227/v3" - + "beta1/{parent=projects/*/locations/*/age" - + "nts/*}/flows\332A\006parent\022\257\001\n\007GetFlow\0222.goog" - + "le.cloud.dialogflow.cx.v3beta1.GetFlowRe" - + "quest\032(.google.cloud.dialogflow.cx.v3bet" - + "a1.Flow\"F\202\323\344\223\0029\0227/v3beta1/{name=projects" - + "/*/locations/*/agents/*/flows/*}\332A\004name\022" - + "\314\001\n\nUpdateFlow\0225.google.cloud.dialogflow" - + ".cx.v3beta1.UpdateFlowRequest\032(.google.c" - + "loud.dialogflow.cx.v3beta1.Flow\"]\202\323\344\223\002D2" - + " - * Represents the query input. It can contain either: + * Represents the query input. It can contain one of: * 1. A conversational query in the form of text. * 2. An intent query that specifies which intent to trigger. + * 3. Natural language speech audio to be processed. + * 4. An event to be triggered. *
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.QueryInput} @@ -728,9 +730,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Represents the query input. It can contain either:
+   * Represents the query input. It can contain one of:
    * 1.  A conversational query in the form of text.
    * 2.  An intent query that specifies which intent to trigger.
+   * 3.  Natural language speech audio to be processed.
+   * 4.  An event to be triggered.
    * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.QueryInput} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto index e0bf899a1..c6ffbca71 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto @@ -82,7 +82,7 @@ service Agents { option (google.api.method_signature) = "name"; } - // Exports the specified agent to a ZIP file. + // Exports the specified agent to a binary file. rpc ExportAgent(ExportAgentRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v3beta1/{name=projects/*/locations/*/agents/*}:export" @@ -94,10 +94,10 @@ service Agents { }; } - // Restores the specified agent from a ZIP file. + // Restores the specified agent from a binary file. // - // Note that all existing intents, intent routes, entity types, pages and - // webhooks in the agent will be deleted. + // Replaces the current agent with a new one. Note that all existing resources + // in agent (e.g. intents, entity types, flows) will be removed. rpc RestoreAgent(RestoreAgentRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v3beta1/{name=projects/*/locations/*/agents/*}:restore" diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/flow.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/flow.proto index 313055f40..fefd0abe4 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/flow.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/flow.proto @@ -24,6 +24,7 @@ import "google/cloud/dialogflow/cx/v3beta1/page.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1"; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto index e3de731c1..27fdeb15a 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto @@ -376,11 +376,16 @@ message QueryParameters { bool analyze_query_text_sentiment = 8; } -// Represents the query input. It can contain either: +// Represents the query input. It can contain one of: // // 1. A conversational query in the form of text. // // 2. An intent query that specifies which intent to trigger. +// +// 3. Natural language speech audio to be processed. +// +// 4. An event to be triggered. +// message QueryInput { // Required. The input specification. oneof input { diff --git a/synth.metadata b/synth.metadata index 8fb63af88..9d4b2f418 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "f7a34a4b51edcb758ee36e5fc580ac89ba2417fd", - "internalRef": "336005205" + "sha": "6ae1443d1eb0c17bcdbeaa1890960cbcd3b70010", + "internalRef": "336725904" } }, { From 0a0a2488fc254c6d03847067c1401a9c99ce98b9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 16 Oct 2020 18:14:53 +0200 Subject: [PATCH 08/21] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.3 (#52) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | patch | `0.9.2` -> `0.9.3` | --- ### Release Notes
googleapis/java-shared-config ### [`v0.9.3`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​093-httpswwwgithubcomgoogleapisjava-shared-configcomparev092v093-2020-10-15) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.9.2...v0.9.3)
--- ### 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#github/googleapis/java-dialogflow-cx). --- google-cloud-dialogflow-cx-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-dialogflow-cx-bom/pom.xml b/google-cloud-dialogflow-cx-bom/pom.xml index 4d9508d1b..98c132224 100644 --- a/google-cloud-dialogflow-cx-bom/pom.xml +++ b/google-cloud-dialogflow-cx-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.9.2 + 0.9.3 Google Dialogflow CX BOM diff --git a/pom.xml b/pom.xml index 12f2283d9..5bab2ed53 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.2 + 0.9.3 From dbb09fc10f93be932f8408afb294c0fd9fa1579e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Oct 2020 00:38:26 +0200 Subject: [PATCH 09/21] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.12.1 (#54) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.10.2` -> `0.12.1` | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v0.12.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0121-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0120v0121-2020-10-16) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.12.0...v0.12.1) ### [`v0.12.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0120-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0110v0120-2020-10-15) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.11.0...v0.12.0) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.30.11 ([#​169](https://www.github.com/googleapis/java-shared-dependencies/issues/169)) ([a1b18d1](https://www.github.com/googleapis/java-shared-dependencies/commit/a1b18d1838c2ceca882615d574ab5d0245794820)) - update dependency com.google.auth:google-auth-library-bom to v0.22.0 ([#​171](https://www.github.com/googleapis/java-shared-dependencies/issues/171)) ([0c7635a](https://www.github.com/googleapis/java-shared-dependencies/commit/0c7635a82d922971ae6aac18dc2ee1879e017516)) ### [`v0.11.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0110-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0102v0110-2020-10-13) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.10.2...v0.11.0) ##### Dependencies - update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#​166](https://www.github.com/googleapis/java-shared-dependencies/issues/166)) ([5721225](https://www.github.com/googleapis/java-shared-dependencies/commit/572122574ce8452b6a0fc6df919e9ce2d8ffd2ce)) - update dependency io.grpc:grpc-bom to v1.32.2 ([#​165](https://www.github.com/googleapis/java-shared-dependencies/issues/165)) ([b70ddb0](https://www.github.com/googleapis/java-shared-dependencies/commit/b70ddb00a3be97536cdd80bd57fe6bca1b0973e2)) ##### [0.10.2](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.1...v0.10.2) (2020-10-08) ##### Dependencies - update dependency org.threeten:threetenbp to v1.4.5 ([#​162](https://www.github.com/googleapis/java-shared-dependencies/issues/162)) ([54eccb5](https://www.github.com/googleapis/java-shared-dependencies/commit/54eccb533353ddfe537a7e069a696a3f0f70f211)) ##### [0.10.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.0...v0.10.1) (2020-10-06) ##### Dependencies - update gax.version to v1.59.1 ([#​159](https://www.github.com/googleapis/java-shared-dependencies/issues/159)) ([7c84443](https://www.github.com/googleapis/java-shared-dependencies/commit/7c84443db92e1d910590fa89c2e35b14613e7eba))
--- ### 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#github/googleapis/java-dialogflow-cx). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5bab2ed53..245976c44 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.10.2 + 0.12.1 pom import From 4e7918cca865410ad8a88616d7d49d2b00c2489c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 20 Oct 2020 15:46:23 -0700 Subject: [PATCH 10/21] chore: regenerate common templates (#53) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/21d46434-1f66-4dee-862f-7b883a683c46/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1 Source-Link: https://github.com/googleapis/synthtool/commit/27e0e916cbfdb3d5ff6639b686cc04f78a0b0386 --- .github/workflows/approve-readme.yaml | 54 +++++++++++++++++++++++++++ .kokoro/build.sh | 11 +++++- synth.metadata | 5 ++- 3 files changed, 66 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/approve-readme.yaml diff --git a/.github/workflows/approve-readme.yaml b/.github/workflows/approve-readme.yaml new file mode 100644 index 000000000..e2d841d6c --- /dev/null +++ b/.github/workflows/approve-readme.yaml @@ -0,0 +1,54 @@ +on: + pull_request: +name: auto-merge-readme +jobs: + approve: + runs-on: ubuntu-latest + if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' + steps: + - uses: actions/github-script@v3.0.0 + with: + github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} + script: | + // only approve PRs from yoshi-automation + if (context.payload.pull_request.user.login !== "yoshi-automation") { + return; + } + + // only approve PRs like "chore: release " + if (!context.payload.pull_request.title === "chore: regenerate README") { + return; + } + + // only approve PRs with README.md and synth.metadata changes + const files = new Set( + ( + await github.paginate( + github.pulls.listFiles.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + }) + ) + ).map(file => file.filename) + ); + if (files.size != 2 || !files.has("README.md") || !files.has(".github/readme/synth.metadata/synth.metadata")) { + return; + } + + // approve README regeneration PR + await github.pulls.createReview({ + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Rubber stamped PR!', + pull_number: context.payload.pull_request.number, + event: 'APPROVE' + }); + + // attach automerge label + await github.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + labels: ['automerge'] + }); diff --git a/.kokoro/build.sh b/.kokoro/build.sh index fd1efbe9e..2e2fa3e2d 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -69,9 +69,16 @@ integration) RETURN_CODE=$? ;; samples) - if [[ -f samples/pom.xml ]] + SAMPLES_DIR=samples + # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. + if [[ ! -z ${KOKORO_GITHUB_PULL_REQUEST_NUMBER} ]] then - pushd samples + SAMPLES_DIR=samples/snapshot + fi + + if [[ -f ${SAMPLES_DIR}/pom.xml ]] + then + pushd {SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \ diff --git a/synth.metadata b/synth.metadata index 9d4b2f418..96b1db6cc 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow-cx.git", - "sha": "77f66504b74069e65eca3e2afddd495565c064af" + "sha": "aac888cc0f977dad6b4dfb18111736020669a44d" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b65ef07d99946d23e900ef2cc490274a16edd336" + "sha": "7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1" } } ], @@ -43,6 +43,7 @@ ".github/readme/synth.py", ".github/release-please.yml", ".github/trusted-contribution.yml", + ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", ".github/workflows/formatting.yaml", From d38e4a07082cbaf2e69f7b3f7d3769c55d80bcdb Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 20 Oct 2020 15:48:05 -0700 Subject: [PATCH 11/21] chore: regenerate README (#55) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-10-19 22:41:38,680 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-dialogflow-cx/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working directory clean 2020-10-19 22:41:39,583 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/492cbac4-6a92-4b16-9dcd-e6fb147286a1/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 18 ++++++++++++++++++ README.md | 5 +---- 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 .github/readme/synth.metadata/synth.metadata diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata new file mode 100644 index 000000000..7319c150c --- /dev/null +++ b/.github/readme/synth.metadata/synth.metadata @@ -0,0 +1,18 @@ +{ + "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-dialogflow-cx.git", + "sha": "dbb09fc10f93be932f8408afb294c0fd9fa1579e" + } + }, + { + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "6dc98b26a9c823e92fa21455fb6e5862613c49c2" + } + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md index bab875d9c..361d6cd04 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,10 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-dialogflow-cx - 0.1.0 + 0.1.2 ``` -[//]: # ({x-version-update-start:google-cloud-dialogflow-cx:released}) - If you are using Gradle, add this to your dependencies ```Groovy compile 'com.google.cloud:google-cloud-dialogflow-cx:0.1.2' @@ -34,7 +32,6 @@ If you are using SBT, add this to your dependencies ```Scala libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.1.2" ``` -[//]: # ({x-version-update-end}) ## Authentication From bd56a97904f6d7f9f64684060b808a74306f4d2f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 21 Oct 2020 00:50:21 +0200 Subject: [PATCH 12/21] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 (#57) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.12.1` -> `0.13.0` | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v0.13.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0130-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0121v0130-2020-10-20) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.12.1...v0.13.0) ##### Features - add jackson-core to the list of managed dependencies ([#​190](https://www.github.com/googleapis/java-shared-dependencies/issues/190)) ([b37035e](https://www.github.com/googleapis/java-shared-dependencies/commit/b37035ed9b0beeb5e07d6e1c121154eece1a2c87)) ##### Dependencies - update dependency com.google.guava:guava-bom to v30 ([#​181](https://www.github.com/googleapis/java-shared-dependencies/issues/181)) ([bdb1e58](https://www.github.com/googleapis/java-shared-dependencies/commit/bdb1e582288d06a872e36ac8b778563f2d088468)) - update gax.version to v1.60.0 ([#​187](https://www.github.com/googleapis/java-shared-dependencies/issues/187)) ([8a8adf7](https://www.github.com/googleapis/java-shared-dependencies/commit/8a8adf7745d563c449bf095aad63b5e4a94e1a7d)) - update google.common-protos.version to v2 ([#​174](https://www.github.com/googleapis/java-shared-dependencies/issues/174)) ([3f7e3ff](https://www.github.com/googleapis/java-shared-dependencies/commit/3f7e3ffd5e07d2f11f0aa981dae2bdf5381e429f)) ##### [0.12.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.0...v0.12.1) (2020-10-16) ##### Dependencies - update dependency com.google.api:api-common to v1.10.1 ([#​180](https://www.github.com/googleapis/java-shared-dependencies/issues/180)) ([b1f2d5d](https://www.github.com/googleapis/java-shared-dependencies/commit/b1f2d5dfde24fcf683eeb5600fce7f51190ecce8))
--- ### 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#github/googleapis/java-dialogflow-cx). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 245976c44..51ef66847 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.12.1 + 0.13.0 pom import From 448e43ca6c6aebf0e84a4cd90551b7724e0e205c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 22 Oct 2020 10:26:27 -0700 Subject: [PATCH 13/21] chore: regenerate common templates (#58) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/fd91270a-eeaf-451b-975d-e31cdfff3bd1/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/6abb59097be84599a1d6091fe534a49e5c5cf948 Source-Link: https://github.com/googleapis/synthtool/commit/5a506ec8765cc04f7e29f888b8e9b257d9a7ae11 --- .github/snippet-bot.yml | 0 renovate.json | 30 +++++++++++------------------- synth.metadata | 5 +++-- 3 files changed, 14 insertions(+), 21 deletions(-) create mode 100644 .github/snippet-bot.yml diff --git a/.github/snippet-bot.yml b/.github/snippet-bot.yml new file mode 100644 index 000000000..e69de29bb diff --git a/renovate.json b/renovate.json index 22246dae7..2764a7693 100644 --- a/renovate.json +++ b/renovate.json @@ -17,24 +17,6 @@ ], "versionScheme": "docker" }, - { - "packagePatterns": [ - "^com.google.api:gax", - "^com.google.auth:", - "^com.google.cloud:google-cloud-core", - "^io.grpc:", - "^com.google.guava:" - ], - "groupName": "core dependencies" - }, - { - "packagePatterns": [ - "^com.google.http-client:", - "^com.google.oauth-client:", - "^com.google.api-client:" - ], - "groupName": "core transport dependencies" - }, { "packagePatterns": [ "*" @@ -63,6 +45,16 @@ "semanticCommitType": "chore", "semanticCommitScope": "deps" }, + { + "packagePatterns": [ + "^junit:junit", + "^com.google.truth:truth", + "^org.mockito:mockito-core", + "^org.objenesis:objenesis" + ], + "semanticCommitType": "test", + "semanticCommitScope": "deps" + }, { "packagePatterns": [ "^com.google.cloud:google-cloud-" @@ -78,4 +70,4 @@ ], "semanticCommits": true, "masterIssue": true -} \ No newline at end of file +} diff --git a/synth.metadata b/synth.metadata index 96b1db6cc..88290bfbf 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow-cx.git", - "sha": "aac888cc0f977dad6b4dfb18111736020669a44d" + "sha": "bd56a97904f6d7f9f64684060b808a74306f4d2f" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1" + "sha": "6abb59097be84599a1d6091fe534a49e5c5cf948" } } ], @@ -42,6 +42,7 @@ ".github/PULL_REQUEST_TEMPLATE.md", ".github/readme/synth.py", ".github/release-please.yml", + ".github/snippet-bot.yml", ".github/trusted-contribution.yml", ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", From a0867696405c736b6611371fcfb5b1d816575102 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Oct 2020 21:36:37 +0200 Subject: [PATCH 14/21] test(deps): update dependency com.google.truth:truth to v1.1 (#56) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.truth:truth](com/google/truth/truth) | minor | `1.0.1` -> `1.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#github/googleapis/java-dialogflow-cx). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index aac115d50..5fe0e047f 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -42,7 +42,7 @@ com.google.truth truth - 1.0.1 + 1.1 test diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 4069aa879..944e74b36 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -41,7 +41,7 @@ com.google.truth truth - 1.0.1 + 1.1 test diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 7bd523412..8ff5a9cb0 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -40,7 +40,7 @@ com.google.truth truth - 1.0.1 + 1.1 test From d411e5cabe149965b64785658d1d27b526e37a58 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 26 Oct 2020 16:52:10 -0700 Subject: [PATCH 15/21] chore: regenerate common templates (#59) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8bb66718-6c73-48bc-9fe4-75dc94d1a47a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/5f6ef0ec5501d33c4667885b37a7685a30d41a76 Source-Link: https://github.com/googleapis/synthtool/commit/9593c3b5b714cc9b17c445aee8834ac2b4b9348b --- .kokoro/release/publish_javadoc.sh | 2 +- CODE_OF_CONDUCT.md | 7 ++++--- synth.metadata | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh index 39626584b..8c7cbd0a1 100755 --- a/.kokoro/release/publish_javadoc.sh +++ b/.kokoro/release/publish_javadoc.sh @@ -62,7 +62,7 @@ popd # V2 mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" -pushd target/devsite +pushd target/devsite/reference # create metadata python3 -m docuploader create-metadata \ diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 6b2238bb7..2add2547a 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,4 @@ + # Code of Conduct ## Our Pledge @@ -69,12 +70,12 @@ dispute. If you are unable to resolve the matter for any reason, or if the behavior is threatening or harassing, report it. We are dedicated to providing an environment where participants feel welcome and safe. -Reports should be directed to *[PROJECT STEWARD NAME(s) AND EMAIL(s)]*, the -Project Steward(s) for *[PROJECT NAME]*. It is the Project Steward’s duty to +Reports should be directed to *googleapis-stewards@google.com*, the +Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to receive and address reported violations of the code of conduct. They will then work with a committee consisting of representatives from the Open Source Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out the Project Steward, please email +are uncomfortable reaching out to the Project Steward, please email opensource@google.com. We will investigate every complaint, but you may not receive a direct response. diff --git a/synth.metadata b/synth.metadata index 88290bfbf..e5fd9d73b 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow-cx.git", - "sha": "bd56a97904f6d7f9f64684060b808a74306f4d2f" + "sha": "a0867696405c736b6611371fcfb5b1d816575102" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6abb59097be84599a1d6091fe534a49e5c5cf948" + "sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76" } } ], From ebebc09bf872817aeae9c05d9b06149a9605109e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 27 Oct 2020 11:06:14 -0700 Subject: [PATCH 16/21] chore(ci): fix typo in restrict presubmit samples ITs to only snapshot (#60) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e1618cb3-d96b-427f-9c50-971f9f53c51f/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/f68649c5f26bcff6817c6d21e90dac0fc71fef8e --- .kokoro/build.sh | 2 +- synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 2e2fa3e2d..267f8afa0 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -78,7 +78,7 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then - pushd {SAMPLES_DIR} + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \ diff --git a/synth.metadata b/synth.metadata index e5fd9d73b..4c3b4383b 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow-cx.git", - "sha": "a0867696405c736b6611371fcfb5b1d816575102" + "sha": "d411e5cabe149965b64785658d1d27b526e37a58" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76" + "sha": "f68649c5f26bcff6817c6d21e90dac0fc71fef8e" } } ], From f4726fa24215aaa0d62d2ab4599f7a196634ccdd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Oct 2020 20:26:31 +0100 Subject: [PATCH 17/21] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.4 (#61) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | patch | `0.9.3` -> `0.9.4` | --- ### Release Notes
googleapis/java-shared-config ### [`v0.9.4`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​094-httpswwwgithubcomgoogleapisjava-shared-configcomparev093v094-2020-10-21) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.9.3...v0.9.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#github/googleapis/java-dialogflow-cx). --- google-cloud-dialogflow-cx-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-dialogflow-cx-bom/pom.xml b/google-cloud-dialogflow-cx-bom/pom.xml index 98c132224..1ae892d31 100644 --- a/google-cloud-dialogflow-cx-bom/pom.xml +++ b/google-cloud-dialogflow-cx-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.9.3 + 0.9.4 Google Dialogflow CX BOM diff --git a/pom.xml b/pom.xml index 51ef66847..69d243a3f 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.3 + 0.9.4 From 3220b26bba46fd83486df2bfd1603f0c770cdae6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 30 Oct 2020 13:58:02 -0700 Subject: [PATCH 18/21] feat: added labels field and description field into Intent and Dtmf input to QueryInput (#62) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/bb6ae11d-9ca7-4144-afc5-a7300c933339/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 339485389 Source-Link: https://github.com/googleapis/googleapis/commit/52eaab535740117d17b81a43749cf2a16110c301 --- .../cx/v3beta1/IntentsClientTest.java | 6 + .../dialogflow/cx/v3beta1/AgentProto.java | 100 +- ...mportAgentResponse.java => DtmfInput.java} | 440 +- ...OrBuilder.java => DtmfInputOrBuilder.java} | 49 +- .../cloud/dialogflow/cx/v3beta1/Intent.java | 616 ++ .../cx/v3beta1/IntentOrBuilder.java | 131 + .../dialogflow/cx/v3beta1/IntentProto.java | 164 +- .../dialogflow/cx/v3beta1/QueryInput.java | 307 + .../cx/v3beta1/QueryInputOrBuilder.java | 35 + .../cx/v3beta1/ResponseMessage.java | 5264 ++++++++--------- .../cx/v3beta1/ResponseMessageProto.java | 70 +- .../dialogflow/cx/v3beta1/SessionProto.java | 235 +- .../cloud/dialogflow/cx/v3beta1/agent.proto | 9 - .../cloud/dialogflow/cx/v3beta1/intent.proto | 18 + .../cx/v3beta1/response_message.proto | 38 +- .../cloud/dialogflow/cx/v3beta1/session.proto | 12 + synth.metadata | 10 +- 17 files changed, 4419 insertions(+), 3085 deletions(-) rename proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/{ImportAgentResponse.java => DtmfInput.java} (54%) rename proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/{ImportAgentResponseOrBuilder.java => DtmfInputOrBuilder.java} (53%) diff --git a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClientTest.java b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClientTest.java index 977ea6593..0446038fc 100644 --- a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClientTest.java +++ b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClientTest.java @@ -166,12 +166,14 @@ public void getIntentTest() { String displayName = "displayName1615086568"; int priority = 1165461084; boolean isFallback = false; + String description = "description-1724546052"; Intent expectedResponse = Intent.newBuilder() .setName(name2.toString()) .setDisplayName(displayName) .setPriority(priority) .setIsFallback(isFallback) + .setDescription(description) .build(); mockIntents.addResponse(expectedResponse); @@ -214,12 +216,14 @@ public void createIntentTest() { String displayName = "displayName1615086568"; int priority = 1165461084; boolean isFallback = false; + String description = "description-1724546052"; Intent expectedResponse = Intent.newBuilder() .setName(name.toString()) .setDisplayName(displayName) .setPriority(priority) .setIsFallback(isFallback) + .setDescription(description) .build(); mockIntents.addResponse(expectedResponse); @@ -265,12 +269,14 @@ public void updateIntentTest() { String displayName = "displayName1615086568"; int priority = 1165461084; boolean isFallback = false; + String description = "description-1724546052"; Intent expectedResponse = Intent.newBuilder() .setName(name.toString()) .setDisplayName(displayName) .setPriority(priority) .setIsFallback(isFallback) + .setDescription(description) .build(); mockIntents.addResponse(expectedResponse); diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java index d42153673..ee7514b79 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java @@ -71,10 +71,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_RestoreAgentRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_RestoreAgentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -129,51 +125,49 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tent\030\002 \001(\014H\000B\007\n\005agent\"\203\001\n\023RestoreAgentRe" + "quest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\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\"J\n\023I" - + "mportAgentResponse\0223\n\005agent\030\001 \001(\tB$\372A!\n\037" - + "dialogflow.googleapis.com/Agent2\327\013\n\006Agen" - + "ts\022\275\001\n\nListAgents\0225.google.cloud.dialogf" - + "low.cx.v3beta1.ListAgentsRequest\0326.googl" - + "e.cloud.dialogflow.cx.v3beta1.ListAgents" - + "Response\"@\202\323\344\223\0021\022//v3beta1/{parent=proje" - + "cts/*/locations/*}/agents\332A\006parent\022\252\001\n\010G" - + "etAgent\0223.google.cloud.dialogflow.cx.v3b" - + "eta1.GetAgentRequest\032).google.cloud.dial" - + "ogflow.cx.v3beta1.Agent\">\202\323\344\223\0021\022//v3beta" - + "1/{name=projects/*/locations/*/agents/*}" - + "\332A\004name\022\277\001\n\013CreateAgent\0226.google.cloud.d" - + "ialogflow.cx.v3beta1.CreateAgentRequest\032" - + ").google.cloud.dialogflow.cx.v3beta1.Age" - + "nt\"M\202\323\344\223\0028\"//v3beta1/{parent=projects/*/" - + "locations/*}/agents:\005agent\332A\014parent,agen" - + "t\022\312\001\n\013UpdateAgent\0226.google.cloud.dialogf" - + "low.cx.v3beta1.UpdateAgentRequest\032).goog" - + "le.cloud.dialogflow.cx.v3beta1.Agent\"X\202\323" - + "\344\223\002>25/v3beta1/{agent.name=projects/*/lo" - + "cations/*/agents/*}:\005agent\332A\021agent,updat" - + "e_mask\022\235\001\n\013DeleteAgent\0226.google.cloud.di" - + "alogflow.cx.v3beta1.DeleteAgentRequest\032\026" - + ".google.protobuf.Empty\">\202\323\344\223\0021*//v3beta1" - + "/{name=projects/*/locations/*/agents/*}\332" - + "A\004name\022\327\001\n\013ExportAgent\0226.google.cloud.di" - + "alogflow.cx.v3beta1.ExportAgentRequest\032\035" - + ".google.longrunning.Operation\"q\202\323\344\223\002;\"6/" - + "v3beta1/{name=projects/*/locations/*/age" - + "nts/*}:export:\001*\312A-\n\023ExportAgentResponse" - + "\022\026google.protobuf.Struct\022\334\001\n\014RestoreAgen" - + "t\0227.google.cloud.dialogflow.cx.v3beta1.R" - + "estoreAgentRequest\032\035.google.longrunning." - + "Operation\"t\202\323\344\223\002<\"7/v3beta1/{name=projec" - + "ts/*/locations/*/agents/*}:restore:\001*\312A/" - + "\n\025google.protobuf.Empty\022\026google.protobuf" - + ".Struct\032x\312A\031dialogflow.googleapis.com\322AY" - + "https://www.googleapis.com/auth/cloud-pl" - + "atform,https://www.googleapis.com/auth/d" - + "ialogflowB\251\001\n&com.google.cloud.dialogflo" - + "w.cx.v3beta1B\nAgentProtoP\001ZDgoogle.golan" - + "g.org/genproto/googleapis/cloud/dialogfl" - + "ow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud." - + "Dialogflow.Cx.V3Beta1b\006proto3" + + "\000\022\027\n\ragent_content\030\003 \001(\014H\000B\007\n\005agent2\327\013\n\006" + + "Agents\022\275\001\n\nListAgents\0225.google.cloud.dia" + + "logflow.cx.v3beta1.ListAgentsRequest\0326.g" + + "oogle.cloud.dialogflow.cx.v3beta1.ListAg" + + "entsResponse\"@\202\323\344\223\0021\022//v3beta1/{parent=p" + + "rojects/*/locations/*}/agents\332A\006parent\022\252" + + "\001\n\010GetAgent\0223.google.cloud.dialogflow.cx" + + ".v3beta1.GetAgentRequest\032).google.cloud." + + "dialogflow.cx.v3beta1.Agent\">\202\323\344\223\0021\022//v3" + + "beta1/{name=projects/*/locations/*/agent" + + "s/*}\332A\004name\022\277\001\n\013CreateAgent\0226.google.clo" + + "ud.dialogflow.cx.v3beta1.CreateAgentRequ" + + "est\032).google.cloud.dialogflow.cx.v3beta1" + + ".Agent\"M\202\323\344\223\0028\"//v3beta1/{parent=project" + + "s/*/locations/*}/agents:\005agent\332A\014parent," + + "agent\022\312\001\n\013UpdateAgent\0226.google.cloud.dia" + + "logflow.cx.v3beta1.UpdateAgentRequest\032)." + + "google.cloud.dialogflow.cx.v3beta1.Agent" + + "\"X\202\323\344\223\002>25/v3beta1/{agent.name=projects/" + + "*/locations/*/agents/*}:\005agent\332A\021agent,u" + + "pdate_mask\022\235\001\n\013DeleteAgent\0226.google.clou" + + "d.dialogflow.cx.v3beta1.DeleteAgentReque" + + "st\032\026.google.protobuf.Empty\">\202\323\344\223\0021*//v3b" + + "eta1/{name=projects/*/locations/*/agents" + + "/*}\332A\004name\022\327\001\n\013ExportAgent\0226.google.clou" + + "d.dialogflow.cx.v3beta1.ExportAgentReque" + + "st\032\035.google.longrunning.Operation\"q\202\323\344\223\002" + + ";\"6/v3beta1/{name=projects/*/locations/*" + + "/agents/*}:export:\001*\312A-\n\023ExportAgentResp" + + "onse\022\026google.protobuf.Struct\022\334\001\n\014Restore" + + "Agent\0227.google.cloud.dialogflow.cx.v3bet" + + "a1.RestoreAgentRequest\032\035.google.longrunn" + + "ing.Operation\"t\202\323\344\223\002<\"7/v3beta1/{name=pr" + + "ojects/*/locations/*/agents/*}:restore:\001" + + "*\312A/\n\025google.protobuf.Empty\022\026google.prot" + + "obuf.Struct\032x\312A\031dialogflow.googleapis.co" + + "m\322AYhttps://www.googleapis.com/auth/clou" + + "d-platform,https://www.googleapis.com/au" + + "th/dialogflowB\251\001\n&com.google.cloud.dialo" + + "gflow.cx.v3beta1B\nAgentProtoP\001ZDgoogle.g" + + "olang.org/genproto/googleapis/cloud/dial" + + "ogflow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cl" + + "oud.Dialogflow.Cx.V3Beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -285,14 +279,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "AgentUri", "AgentContent", "Agent", }); - internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor, - new java.lang.String[] { - "Agent", - }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DtmfInput.java similarity index 54% rename from proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java rename to proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DtmfInput.java index 95cb2f98d..5e7609785 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DtmfInput.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dialogflow/cx/v3beta1/agent.proto +// source: google/cloud/dialogflow/cx/v3beta1/session.proto package com.google.cloud.dialogflow.cx.v3beta1; @@ -22,29 +22,30 @@ * * *
- * The response message for [Agents.ImportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ImportAgent].
+ * Represents the input for dtmf event.
  * 
* - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse} + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DtmfInput} */ -public final class ImportAgentResponse extends com.google.protobuf.GeneratedMessageV3 +public final class DtmfInput extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) - ImportAgentResponseOrBuilder { + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.DtmfInput) + DtmfInputOrBuilder { private static final long serialVersionUID = 0L; - // Use ImportAgentResponse.newBuilder() to construct. - private ImportAgentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DtmfInput.newBuilder() to construct. + private DtmfInput(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAgentResponse() { - agent_ = ""; + private DtmfInput() { + digits_ = ""; + finishDigit_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ImportAgentResponse(); + return new DtmfInput(); } @java.lang.Override @@ -52,7 +53,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private ImportAgentResponse( + private DtmfInput( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -74,7 +75,14 @@ private ImportAgentResponse( { java.lang.String s = input.readStringRequireUtf8(); - agent_ = s; + digits_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + finishDigit_ = s; break; } default: @@ -97,43 +105,42 @@ private ImportAgentResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dialogflow.cx.v3beta1.AgentProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor; + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_DtmfInput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.AgentProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_fieldAccessorTable + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_DtmfInput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.class, - com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.Builder.class); + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.class, + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.Builder.class); } - public static final int AGENT_FIELD_NUMBER = 1; - private volatile java.lang.Object agent_; + public static final int DIGITS_FIELD_NUMBER = 1; + private volatile java.lang.Object digits_; /** * * *
-   * The unique identifier of the new agent.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * The dtmf digits.
    * 
* - * string agent = 1 [(.google.api.resource_reference) = { ... } + * string digits = 1; * - * @return The agent. + * @return The digits. */ @java.lang.Override - public java.lang.String getAgent() { - java.lang.Object ref = agent_; + public java.lang.String getDigits() { + java.lang.Object ref = digits_; 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(); - agent_ = s; + digits_ = s; return s; } } @@ -141,21 +148,69 @@ public java.lang.String getAgent() { * * *
-   * The unique identifier of the new agent.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * The dtmf digits.
    * 
* - * string agent = 1 [(.google.api.resource_reference) = { ... } + * string digits = 1; * - * @return The bytes for agent. + * @return The bytes for digits. */ @java.lang.Override - public com.google.protobuf.ByteString getAgentBytes() { - java.lang.Object ref = agent_; + public com.google.protobuf.ByteString getDigitsBytes() { + java.lang.Object ref = digits_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - agent_ = b; + digits_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FINISH_DIGIT_FIELD_NUMBER = 2; + private volatile java.lang.Object finishDigit_; + /** + * + * + *
+   * The finish digit (if any).
+   * 
+ * + * string finish_digit = 2; + * + * @return The finishDigit. + */ + @java.lang.Override + public java.lang.String getFinishDigit() { + java.lang.Object ref = finishDigit_; + 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(); + finishDigit_ = s; + return s; + } + } + /** + * + * + *
+   * The finish digit (if any).
+   * 
+ * + * string finish_digit = 2; + * + * @return The bytes for finishDigit. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFinishDigitBytes() { + java.lang.Object ref = finishDigit_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + finishDigit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -176,8 +231,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getAgentBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agent_); + if (!getDigitsBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, digits_); + } + if (!getFinishDigitBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, finishDigit_); } unknownFields.writeTo(output); } @@ -188,8 +246,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getAgentBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agent_); + if (!getDigitsBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, digits_); + } + if (!getFinishDigitBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, finishDigit_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -201,13 +262,14 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse)) { + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.DtmfInput)) { return super.equals(obj); } - com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse other = - (com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) obj; + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput other = + (com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) obj; - if (!getAgent().equals(other.getAgent())) return false; + if (!getDigits().equals(other.getDigits())) return false; + if (!getFinishDigit().equals(other.getFinishDigit())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -219,78 +281,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + AGENT_FIELD_NUMBER; - hash = (53 * hash) + getAgent().hashCode(); + hash = (37 * hash) + DIGITS_FIELD_NUMBER; + hash = (53 * hash) + getDigits().hashCode(); + hash = (37 * hash) + FINISH_DIGIT_FIELD_NUMBER; + hash = (53 * hash) + getFinishDigit().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput 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.cx.v3beta1.ImportAgentResponse parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput 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.cx.v3beta1.ImportAgentResponse parseFrom(byte[] data) + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput 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.cx.v3beta1.ImportAgentResponse parseDelimitedFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseDelimitedFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput 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.cx.v3beta1.ImportAgentResponse parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -307,8 +371,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse prototype) { + public static Builder newBuilder(com.google.cloud.dialogflow.cx.v3beta1.DtmfInput prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -326,31 +389,31 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response message for [Agents.ImportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ImportAgent].
+   * Represents the input for dtmf event.
    * 
* - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse} + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DtmfInput} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) - com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.DtmfInput) + com.google.cloud.dialogflow.cx.v3beta1.DtmfInputOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dialogflow.cx.v3beta1.AgentProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor; + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_DtmfInput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.AgentProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_fieldAccessorTable + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_DtmfInput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.class, - com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.Builder.class); + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.class, + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.Builder.class); } - // Construct using com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.newBuilder() + // Construct using com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -367,25 +430,27 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - agent_ = ""; + digits_ = ""; + + finishDigit_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dialogflow.cx.v3beta1.AgentProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor; + return com.google.cloud.dialogflow.cx.v3beta1.SessionProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_DtmfInput_descriptor; } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse getDefaultInstanceForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.getDefaultInstance(); + public com.google.cloud.dialogflow.cx.v3beta1.DtmfInput getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse build() { - com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse result = buildPartial(); + public com.google.cloud.dialogflow.cx.v3beta1.DtmfInput build() { + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -393,10 +458,11 @@ public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse build() { } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse buildPartial() { - com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse result = - new com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse(this); - result.agent_ = agent_; + public com.google.cloud.dialogflow.cx.v3beta1.DtmfInput buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput result = + new com.google.cloud.dialogflow.cx.v3beta1.DtmfInput(this); + result.digits_ = digits_; + result.finishDigit_ = finishDigit_; onBuilt(); return result; } @@ -436,19 +502,23 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) { - return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) other); + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse other) { - if (other == com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.getDefaultInstance()) + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.DtmfInput other) { + if (other == com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.getDefaultInstance()) return this; - if (!other.getAgent().isEmpty()) { - agent_ = other.agent_; + if (!other.getDigits().isEmpty()) { + digits_ = other.digits_; + onChanged(); + } + if (!other.getFinishDigit().isEmpty()) { + finishDigit_ = other.finishDigit_; onChanged(); } this.mergeUnknownFields(other.unknownFields); @@ -466,12 +536,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parsedMessage = null; + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -481,25 +550,130 @@ public Builder mergeFrom( return this; } - private java.lang.Object agent_ = ""; + private java.lang.Object digits_ = ""; + /** + * + * + *
+     * The dtmf digits.
+     * 
+ * + * string digits = 1; + * + * @return The digits. + */ + public java.lang.String getDigits() { + java.lang.Object ref = digits_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + digits_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The dtmf digits.
+     * 
+ * + * string digits = 1; + * + * @return The bytes for digits. + */ + public com.google.protobuf.ByteString getDigitsBytes() { + java.lang.Object ref = digits_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + digits_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The dtmf digits.
+     * 
+ * + * string digits = 1; + * + * @param value The digits to set. + * @return This builder for chaining. + */ + public Builder setDigits(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + digits_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The dtmf digits.
+     * 
+ * + * string digits = 1; + * + * @return This builder for chaining. + */ + public Builder clearDigits() { + + digits_ = getDefaultInstance().getDigits(); + onChanged(); + return this; + } + /** + * + * + *
+     * The dtmf digits.
+     * 
+ * + * string digits = 1; + * + * @param value The bytes for digits to set. + * @return This builder for chaining. + */ + public Builder setDigitsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + digits_ = value; + onChanged(); + return this; + } + + private java.lang.Object finishDigit_ = ""; /** * * *
-     * The unique identifier of the new agent.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * The finish digit (if any).
      * 
* - * string agent = 1 [(.google.api.resource_reference) = { ... } + * string finish_digit = 2; * - * @return The agent. + * @return The finishDigit. */ - public java.lang.String getAgent() { - java.lang.Object ref = agent_; + public java.lang.String getFinishDigit() { + java.lang.Object ref = finishDigit_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - agent_ = s; + finishDigit_ = s; return s; } else { return (java.lang.String) ref; @@ -509,20 +683,19 @@ public java.lang.String getAgent() { * * *
-     * The unique identifier of the new agent.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * The finish digit (if any).
      * 
* - * string agent = 1 [(.google.api.resource_reference) = { ... } + * string finish_digit = 2; * - * @return The bytes for agent. + * @return The bytes for finishDigit. */ - public com.google.protobuf.ByteString getAgentBytes() { - java.lang.Object ref = agent_; + public com.google.protobuf.ByteString getFinishDigitBytes() { + java.lang.Object ref = finishDigit_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - agent_ = b; + finishDigit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -532,21 +705,20 @@ public com.google.protobuf.ByteString getAgentBytes() { * * *
-     * The unique identifier of the new agent.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * The finish digit (if any).
      * 
* - * string agent = 1 [(.google.api.resource_reference) = { ... } + * string finish_digit = 2; * - * @param value The agent to set. + * @param value The finishDigit to set. * @return This builder for chaining. */ - public Builder setAgent(java.lang.String value) { + public Builder setFinishDigit(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - agent_ = value; + finishDigit_ = value; onChanged(); return this; } @@ -554,17 +726,16 @@ public Builder setAgent(java.lang.String value) { * * *
-     * The unique identifier of the new agent.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * The finish digit (if any).
      * 
* - * string agent = 1 [(.google.api.resource_reference) = { ... } + * string finish_digit = 2; * * @return This builder for chaining. */ - public Builder clearAgent() { + public Builder clearFinishDigit() { - agent_ = getDefaultInstance().getAgent(); + finishDigit_ = getDefaultInstance().getFinishDigit(); onChanged(); return this; } @@ -572,22 +743,21 @@ public Builder clearAgent() { * * *
-     * The unique identifier of the new agent.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * The finish digit (if any).
      * 
* - * string agent = 1 [(.google.api.resource_reference) = { ... } + * string finish_digit = 2; * - * @param value The bytes for agent to set. + * @param value The bytes for finishDigit to set. * @return This builder for chaining. */ - public Builder setAgentBytes(com.google.protobuf.ByteString value) { + public Builder setFinishDigitBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - agent_ = value; + finishDigit_ = value; onChanged(); return this; } @@ -603,42 +773,42 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.DtmfInput) } - // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) - private static final com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.DtmfInput) + private static final com.google.cloud.dialogflow.cx.v3beta1.DtmfInput DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse(); + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.DtmfInput(); } - public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse getDefaultInstance() { + public static com.google.cloud.dialogflow.cx.v3beta1.DtmfInput getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { @java.lang.Override - public ImportAgentResponse parsePartialFrom( + public DtmfInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAgentResponse(input, extensionRegistry); + return new DtmfInput(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse getDefaultInstanceForType() { + public com.google.cloud.dialogflow.cx.v3beta1.DtmfInput getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DtmfInputOrBuilder.java similarity index 53% rename from proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java rename to proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DtmfInputOrBuilder.java index b9612cc5c..37c4e0a3f 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DtmfInputOrBuilder.java @@ -14,39 +14,62 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dialogflow/cx/v3beta1/agent.proto +// source: google/cloud/dialogflow/cx/v3beta1/session.proto package com.google.cloud.dialogflow.cx.v3beta1; -public interface ImportAgentResponseOrBuilder +public interface DtmfInputOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.DtmfInput) com.google.protobuf.MessageOrBuilder { /** * * *
-   * The unique identifier of the new agent.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * The dtmf digits.
    * 
* - * string agent = 1 [(.google.api.resource_reference) = { ... } + * string digits = 1; * - * @return The agent. + * @return The digits. */ - java.lang.String getAgent(); + java.lang.String getDigits(); /** * * *
-   * The unique identifier of the new agent.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * The dtmf digits.
    * 
* - * string agent = 1 [(.google.api.resource_reference) = { ... } + * string digits = 1; * - * @return The bytes for agent. + * @return The bytes for digits. */ - com.google.protobuf.ByteString getAgentBytes(); + com.google.protobuf.ByteString getDigitsBytes(); + + /** + * + * + *
+   * The finish digit (if any).
+   * 
+ * + * string finish_digit = 2; + * + * @return The finishDigit. + */ + java.lang.String getFinishDigit(); + /** + * + * + *
+   * The finish digit (if any).
+   * 
+ * + * string finish_digit = 2; + * + * @return The bytes for finishDigit. + */ + com.google.protobuf.ByteString getFinishDigitBytes(); } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java index 551964f1f..d571ab7a4 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java @@ -45,6 +45,7 @@ private Intent() { displayName_ = ""; trainingPhrases_ = java.util.Collections.emptyList(); parameters_ = java.util.Collections.emptyList(); + description_ = ""; } @java.lang.Override @@ -129,6 +130,26 @@ private Intent( isFallback_ = input.readBool(); break; } + case 58: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -159,6 +180,17 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 7: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -4252,6 +4284,195 @@ public boolean getIsFallback() { return isFallback_; } + public static final int LABELS_FIELD_NUMBER = 7; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dialogflow.cx.v3beta1.IntentProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+   * Optional. The key/value metadata to label an intent. Labels can contain
+   * lowercase letters, digits and the symbols '-' and '_'. International
+   * characters are allowed, including letters from unicase alphabets. Keys must
+   * start with a letter. Keys and values can be no longer than 63 characters
+   * and no more than 128 bytes.
+   * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+   * Dialogflow defined labels include:
+   * * sys-head
+   * * sys-contextual
+   * The above labels do not require value. "sys-head" means the intent is a
+   * head intent. "sys-contextual" means the intent is a contextual intent.
+   * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+   * Optional. The key/value metadata to label an intent. Labels can contain
+   * lowercase letters, digits and the symbols '-' and '_'. International
+   * characters are allowed, including letters from unicase alphabets. Keys must
+   * start with a letter. Keys and values can be no longer than 63 characters
+   * and no more than 128 bytes.
+   * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+   * Dialogflow defined labels include:
+   * * sys-head
+   * * sys-contextual
+   * The above labels do not require value. "sys-head" means the intent is a
+   * head intent. "sys-contextual" means the intent is a contextual intent.
+   * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+   * Optional. The key/value metadata to label an intent. Labels can contain
+   * lowercase letters, digits and the symbols '-' and '_'. International
+   * characters are allowed, including letters from unicase alphabets. Keys must
+   * start with a letter. Keys and values can be no longer than 63 characters
+   * and no more than 128 bytes.
+   * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+   * Dialogflow defined labels include:
+   * * sys-head
+   * * sys-contextual
+   * The above labels do not require value. "sys-head" means the intent is a
+   * head intent. "sys-contextual" means the intent is a contextual intent.
+   * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Optional. The key/value metadata to label an intent. Labels can contain
+   * lowercase letters, digits and the symbols '-' and '_'. International
+   * characters are allowed, including letters from unicase alphabets. Keys must
+   * start with a letter. Keys and values can be no longer than 63 characters
+   * and no more than 128 bytes.
+   * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+   * Dialogflow defined labels include:
+   * * sys-head
+   * * sys-contextual
+   * The above labels do not require value. "sys-head" means the intent is a
+   * head intent. "sys-contextual" means the intent is a contextual intent.
+   * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int DESCRIPTION_FIELD_NUMBER = 8; + private volatile java.lang.Object description_; + /** + * + * + *
+   * Optional. Human readable description for better understanding an intent like its
+   * scope, content, result etc. Maximum character limit: 140 characters.
+   * 
+ * + * string description = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + @java.lang.Override + 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. Human readable description for better understanding an intent like its
+   * scope, content, result etc. Maximum character limit: 140 characters.
+   * 
+ * + * string description = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + @java.lang.Override + 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; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -4284,6 +4505,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (isFallback_ != false) { output.writeBool(6, isFallback_); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + if (!getDescriptionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, description_); + } unknownFields.writeTo(output); } @@ -4311,6 +4537,19 @@ public int getSerializedSize() { if (isFallback_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, isFallback_); } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); + } + if (!getDescriptionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, description_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -4333,6 +4572,8 @@ public boolean equals(final java.lang.Object obj) { if (!getParametersList().equals(other.getParametersList())) return false; if (getPriority() != other.getPriority()) return false; if (getIsFallback() != other.getIsFallback()) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4360,6 +4601,12 @@ public int hashCode() { hash = (53 * hash) + getPriority(); hash = (37 * hash) + IS_FALLBACK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsFallback()); + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -4481,6 +4728,26 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 7: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 7: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -4531,6 +4798,9 @@ public Builder clear() { isFallback_ = false; + internalGetMutableLabels().clear(); + description_ = ""; + return this; } @@ -4581,6 +4851,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent buildPartial() { } result.priority_ = priority_; result.isFallback_ = isFallback_; + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + result.description_ = description_; onBuilt(); return result; } @@ -4698,6 +4971,11 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Intent other) { if (other.getIsFallback() != false) { setIsFallback(other.getIsFallback()); } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -5886,6 +6164,344 @@ public Builder clearIsFallback() { return this; } + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + onChanged(); + ; + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+     * Optional. The key/value metadata to label an intent. Labels can contain
+     * lowercase letters, digits and the symbols '-' and '_'. International
+     * characters are allowed, including letters from unicase alphabets. Keys must
+     * start with a letter. Keys and values can be no longer than 63 characters
+     * and no more than 128 bytes.
+     * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+     * Dialogflow defined labels include:
+     * * sys-head
+     * * sys-contextual
+     * The above labels do not require value. "sys-head" means the intent is a
+     * head intent. "sys-contextual" means the intent is a contextual intent.
+     * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+     * Optional. The key/value metadata to label an intent. Labels can contain
+     * lowercase letters, digits and the symbols '-' and '_'. International
+     * characters are allowed, including letters from unicase alphabets. Keys must
+     * start with a letter. Keys and values can be no longer than 63 characters
+     * and no more than 128 bytes.
+     * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+     * Dialogflow defined labels include:
+     * * sys-head
+     * * sys-contextual
+     * The above labels do not require value. "sys-head" means the intent is a
+     * head intent. "sys-contextual" means the intent is a contextual intent.
+     * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+     * Optional. The key/value metadata to label an intent. Labels can contain
+     * lowercase letters, digits and the symbols '-' and '_'. International
+     * characters are allowed, including letters from unicase alphabets. Keys must
+     * start with a letter. Keys and values can be no longer than 63 characters
+     * and no more than 128 bytes.
+     * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+     * Dialogflow defined labels include:
+     * * sys-head
+     * * sys-contextual
+     * The above labels do not require value. "sys-head" means the intent is a
+     * head intent. "sys-contextual" means the intent is a contextual intent.
+     * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.lang.String getLabelsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Optional. The key/value metadata to label an intent. Labels can contain
+     * lowercase letters, digits and the symbols '-' and '_'. International
+     * characters are allowed, including letters from unicase alphabets. Keys must
+     * start with a letter. Keys and values can be no longer than 63 characters
+     * and no more than 128 bytes.
+     * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+     * Dialogflow defined labels include:
+     * * sys-head
+     * * sys-contextual
+     * The above labels do not require value. "sys-head" means the intent is a
+     * head intent. "sys-contextual" means the intent is a contextual intent.
+     * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Optional. The key/value metadata to label an intent. Labels can contain
+     * lowercase letters, digits and the symbols '-' and '_'. International
+     * characters are allowed, including letters from unicase alphabets. Keys must
+     * start with a letter. Keys and values can be no longer than 63 characters
+     * and no more than 128 bytes.
+     * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+     * Dialogflow defined labels include:
+     * * sys-head
+     * * sys-contextual
+     * The above labels do not require value. "sys-head" means the intent is a
+     * head intent. "sys-contextual" means the intent is a contextual intent.
+     * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
+     * Optional. The key/value metadata to label an intent. Labels can contain
+     * lowercase letters, digits and the symbols '-' and '_'. International
+     * characters are allowed, including letters from unicase alphabets. Keys must
+     * start with a letter. Keys and values can be no longer than 63 characters
+     * and no more than 128 bytes.
+     * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+     * Dialogflow defined labels include:
+     * * sys-head
+     * * sys-contextual
+     * The above labels do not require value. "sys-head" means the intent is a
+     * head intent. "sys-contextual" means the intent is a contextual intent.
+     * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabels().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * Optional. The key/value metadata to label an intent. Labels can contain
+     * lowercase letters, digits and the symbols '-' and '_'. International
+     * characters are allowed, including letters from unicase alphabets. Keys must
+     * start with a letter. Keys and values can be no longer than 63 characters
+     * and no more than 128 bytes.
+     * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+     * Dialogflow defined labels include:
+     * * sys-head
+     * * sys-contextual
+     * The above labels do not require value. "sys-head" means the intent is a
+     * head intent. "sys-contextual" means the intent is a contextual intent.
+     * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + return this; + } + + private java.lang.Object description_ = ""; + /** + * + * + *
+     * Optional. Human readable description for better understanding an intent like its
+     * scope, content, result etc. Maximum character limit: 140 characters.
+     * 
+ * + * string description = 8 [(.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. Human readable description for better understanding an intent like its
+     * scope, content, result etc. Maximum character limit: 140 characters.
+     * 
+ * + * string description = 8 [(.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. Human readable description for better understanding an intent like its
+     * scope, content, result etc. Maximum character limit: 140 characters.
+     * 
+ * + * string description = 8 [(.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. Human readable description for better understanding an intent like its
+     * scope, content, result etc. Maximum character limit: 140 characters.
+     * 
+ * + * string description = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Human readable description for better understanding an intent like its
+     * scope, content, result etc. Maximum character limit: 140 characters.
+     * 
+ * + * string description = 8 [(.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; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java index 574e4c551..236dbc600 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java @@ -234,4 +234,135 @@ com.google.cloud.dialogflow.cx.v3beta1.Intent.ParameterOrBuilder getParametersOr * @return The isFallback. */ boolean getIsFallback(); + + /** + * + * + *
+   * Optional. The key/value metadata to label an intent. Labels can contain
+   * lowercase letters, digits and the symbols '-' and '_'. International
+   * characters are allowed, including letters from unicase alphabets. Keys must
+   * start with a letter. Keys and values can be no longer than 63 characters
+   * and no more than 128 bytes.
+   * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+   * Dialogflow defined labels include:
+   * * sys-head
+   * * sys-contextual
+   * The above labels do not require value. "sys-head" means the intent is a
+   * head intent. "sys-contextual" means the intent is a contextual intent.
+   * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getLabelsCount(); + /** + * + * + *
+   * Optional. The key/value metadata to label an intent. Labels can contain
+   * lowercase letters, digits and the symbols '-' and '_'. International
+   * characters are allowed, including letters from unicase alphabets. Keys must
+   * start with a letter. Keys and values can be no longer than 63 characters
+   * and no more than 128 bytes.
+   * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+   * Dialogflow defined labels include:
+   * * sys-head
+   * * sys-contextual
+   * The above labels do not require value. "sys-head" means the intent is a
+   * head intent. "sys-contextual" means the intent is a contextual intent.
+   * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + /** + * + * + *
+   * Optional. The key/value metadata to label an intent. Labels can contain
+   * lowercase letters, digits and the symbols '-' and '_'. International
+   * characters are allowed, including letters from unicase alphabets. Keys must
+   * start with a letter. Keys and values can be no longer than 63 characters
+   * and no more than 128 bytes.
+   * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+   * Dialogflow defined labels include:
+   * * sys-head
+   * * sys-contextual
+   * The above labels do not require value. "sys-head" means the intent is a
+   * head intent. "sys-contextual" means the intent is a contextual intent.
+   * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.Map getLabelsMap(); + /** + * + * + *
+   * Optional. The key/value metadata to label an intent. Labels can contain
+   * lowercase letters, digits and the symbols '-' and '_'. International
+   * characters are allowed, including letters from unicase alphabets. Keys must
+   * start with a letter. Keys and values can be no longer than 63 characters
+   * and no more than 128 bytes.
+   * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+   * Dialogflow defined labels include:
+   * * sys-head
+   * * sys-contextual
+   * The above labels do not require value. "sys-head" means the intent is a
+   * head intent. "sys-contextual" means the intent is a contextual intent.
+   * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); + /** + * + * + *
+   * Optional. The key/value metadata to label an intent. Labels can contain
+   * lowercase letters, digits and the symbols '-' and '_'. International
+   * characters are allowed, including letters from unicase alphabets. Keys must
+   * start with a letter. Keys and values can be no longer than 63 characters
+   * and no more than 128 bytes.
+   * Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed
+   * Dialogflow defined labels include:
+   * * sys-head
+   * * sys-contextual
+   * The above labels do not require value. "sys-head" means the intent is a
+   * head intent. "sys-contextual" means the intent is a contextual intent.
+   * 
+ * + * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + + /** + * + * + *
+   * Optional. Human readable description for better understanding an intent like its
+   * scope, content, result etc. Maximum character limit: 140 characters.
+   * 
+ * + * string description = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + java.lang.String getDescription(); + /** + * + * + *
+   * Optional. Human readable description for better understanding an intent like its
+   * scope, content, result etc. Maximum character limit: 140 characters.
+   * 
+ * + * string description = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java index 693913e26..331340b9c 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java @@ -43,6 +43,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_Parameter_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_Parameter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_dialogflow_cx_v3beta1_ListIntentsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -82,80 +86,83 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gle/api/client.proto\032\037google/api/field_b" + "ehavior.proto\032\031google/api/resource.proto" + "\032\033google/protobuf/empty.proto\032 google/pr" - + "otobuf/field_mask.proto\"\244\005\n\006Intent\022\014\n\004na" + + "otobuf/field_mask.proto\"\272\006\n\006Intent\022\014\n\004na" + "me\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022S\n\020t" + "raining_phrases\030\003 \003(\01329.google.cloud.dia" + "logflow.cx.v3beta1.Intent.TrainingPhrase" + "\022H\n\nparameters\030\004 \003(\01324.google.cloud.dial" + "ogflow.cx.v3beta1.Intent.Parameter\022\020\n\010pr" - + "iority\030\005 \001(\005\022\023\n\013is_fallback\030\006 \001(\010\032\267\001\n\016Tr" - + "ainingPhrase\022\n\n\002id\030\001 \001(\t\022R\n\005parts\030\002 \003(\0132" - + ">.google.cloud.dialogflow.cx.v3beta1.Int" - + "ent.TrainingPhrase.PartB\003\340A\002\022\024\n\014repeat_c" - + "ount\030\003 \001(\005\032/\n\004Part\022\021\n\004text\030\001 \001(\tB\003\340A\002\022\024\n" - + "\014parameter_id\030\002 \001(\t\032\200\001\n\tParameter\022\017\n\002id\030" - + "\001 \001(\tB\003\340A\002\022A\n\013entity_type\030\002 \001(\tB,\340A\002\372A&\n" - + "$dialogflow.googleapis.com/EntityType\022\017\n" - + "\007is_list\030\003 \001(\010\022\016\n\006redact\030\004 \001(\010:n\352Ak\n dia" - + "logflow.googleapis.com/Intent\022Gprojects/" - + "{project}/locations/{location}/agents/{a" - + "gent}/intents/{intent}\"\321\001\n\022ListIntentsRe" - + "quest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 dialogflo" - + "w.googleapis.com/Intent\022\025\n\rlanguage_code" - + "\030\002 \001(\t\022C\n\013intent_view\030\005 \001(\0162..google.clo" - + "ud.dialogflow.cx.v3beta1.IntentView\022\021\n\tp" - + "age_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"k\n\023Li" - + "stIntentsResponse\022;\n\007intents\030\001 \003(\0132*.goo" - + "gle.cloud.dialogflow.cx.v3beta1.Intent\022\027" - + "\n\017next_page_token\030\002 \001(\t\"a\n\020GetIntentRequ" - + "est\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n dialogflow.go" - + "ogleapis.com/Intent\022\025\n\rlanguage_code\030\002 \001" - + "(\t\"\247\001\n\023CreateIntentRequest\0228\n\006parent\030\001 \001" - + "(\tB(\340A\002\372A\"\022 dialogflow.googleapis.com/In" - + "tent\022?\n\006intent\030\002 \001(\0132*.google.cloud.dial" - + "ogflow.cx.v3beta1.IntentB\003\340A\002\022\025\n\rlanguag" - + "e_code\030\003 \001(\t\"\236\001\n\023UpdateIntentRequest\022?\n\006" - + "intent\030\001 \001(\0132*.google.cloud.dialogflow.c" - + "x.v3beta1.IntentB\003\340A\002\022\025\n\rlanguage_code\030\002" - + " \001(\t\022/\n\013update_mask\030\003 \001(\0132\032.google.proto" - + "buf.FieldMask\"M\n\023DeleteIntentRequest\0226\n\004" - + "name\030\001 \001(\tB(\340A\002\372A\"\n dialogflow.googleapi" - + "s.com/Intent*X\n\nIntentView\022\033\n\027INTENT_VIE" - + "W_UNSPECIFIED\020\000\022\027\n\023INTENT_VIEW_PARTIAL\020\001" - + "\022\024\n\020INTENT_VIEW_FULL\020\0022\344\010\n\007Intents\022\312\001\n\013L" - + "istIntents\0226.google.cloud.dialogflow.cx." - + "v3beta1.ListIntentsRequest\0327.google.clou" - + "d.dialogflow.cx.v3beta1.ListIntentsRespo" - + "nse\"J\202\323\344\223\002;\0229/v3beta1/{parent=projects/*" - + "/locations/*/agents/*}/intents\332A\006parent\022" - + "\267\001\n\tGetIntent\0224.google.cloud.dialogflow." - + "cx.v3beta1.GetIntentRequest\032*.google.clo" - + "ud.dialogflow.cx.v3beta1.Intent\"H\202\323\344\223\002;\022" - + "9/v3beta1/{name=projects/*/locations/*/a" - + "gents/*/intents/*}\332A\004name\022\316\001\n\014CreateInte" - + "nt\0227.google.cloud.dialogflow.cx.v3beta1." - + "CreateIntentRequest\032*.google.cloud.dialo" - + "gflow.cx.v3beta1.Intent\"Y\202\323\344\223\002C\"9/v3beta" - + "1/{parent=projects/*/locations/*/agents/" - + "*}/intents:\006intent\332A\rparent,intent\022\332\001\n\014U" - + "pdateIntent\0227.google.cloud.dialogflow.cx" - + ".v3beta1.UpdateIntentRequest\032*.google.cl" - + "oud.dialogflow.cx.v3beta1.Intent\"e\202\323\344\223\002J" - + "2@/v3beta1/{intent.name=projects/*/locat" - + "ions/*/agents/*/intents/*}:\006intent\332A\022int" - + "ent,update_mask\022\251\001\n\014DeleteIntent\0227.googl" - + "e.cloud.dialogflow.cx.v3beta1.DeleteInte" - + "ntRequest\032\026.google.protobuf.Empty\"H\202\323\344\223\002" - + ";*9/v3beta1/{name=projects/*/locations/*" - + "/agents/*/intents/*}\332A\004name\032x\312A\031dialogfl" - + "ow.googleapis.com\322AYhttps://www.googleap" - + "is.com/auth/cloud-platform,https://www.g" - + "oogleapis.com/auth/dialogflowB\252\001\n&com.go" - + "ogle.cloud.dialogflow.cx.v3beta1B\013Intent" - + "ProtoP\001ZDgoogle.golang.org/genproto/goog" - + "leapis/cloud/dialogflow/cx/v3beta1;cx\370\001\001" - + "\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Bet" - + "a1b\006proto3" + + "iority\030\005 \001(\005\022\023\n\013is_fallback\030\006 \001(\010\022K\n\006lab" + + "els\030\007 \003(\01326.google.cloud.dialogflow.cx.v" + + "3beta1.Intent.LabelsEntryB\003\340A\001\022\030\n\013descri" + + "ption\030\010 \001(\tB\003\340A\001\032\267\001\n\016TrainingPhrase\022\n\n\002i" + + "d\030\001 \001(\t\022R\n\005parts\030\002 \003(\0132>.google.cloud.di" + + "alogflow.cx.v3beta1.Intent.TrainingPhras" + + "e.PartB\003\340A\002\022\024\n\014repeat_count\030\003 \001(\005\032/\n\004Par" + + "t\022\021\n\004text\030\001 \001(\tB\003\340A\002\022\024\n\014parameter_id\030\002 \001" + + "(\t\032\200\001\n\tParameter\022\017\n\002id\030\001 \001(\tB\003\340A\002\022A\n\013ent" + + "ity_type\030\002 \001(\tB,\340A\002\372A&\n$dialogflow.googl" + + "eapis.com/EntityType\022\017\n\007is_list\030\003 \001(\010\022\016\n" + + "\006redact\030\004 \001(\010\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\t:\0028\001:n\352Ak\n dialogflow.go" + + "ogleapis.com/Intent\022Gprojects/{project}/" + + "locations/{location}/agents/{agent}/inte" + + "nts/{intent}\"\321\001\n\022ListIntentsRequest\0228\n\006p" + + "arent\030\001 \001(\tB(\340A\002\372A\"\022 dialogflow.googleap" + + "is.com/Intent\022\025\n\rlanguage_code\030\002 \001(\t\022C\n\013" + + "intent_view\030\005 \001(\0162..google.cloud.dialogf" + + "low.cx.v3beta1.IntentView\022\021\n\tpage_size\030\003" + + " \001(\005\022\022\n\npage_token\030\004 \001(\t\"k\n\023ListIntentsR" + + "esponse\022;\n\007intents\030\001 \003(\0132*.google.cloud." + + "dialogflow.cx.v3beta1.Intent\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"a\n\020GetIntentRequest\0226\n\004nam" + + "e\030\001 \001(\tB(\340A\002\372A\"\n dialogflow.googleapis.c" + + "om/Intent\022\025\n\rlanguage_code\030\002 \001(\t\"\247\001\n\023Cre" + + "ateIntentRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"" + + "\022 dialogflow.googleapis.com/Intent\022?\n\006in" + + "tent\030\002 \001(\0132*.google.cloud.dialogflow.cx." + + "v3beta1.IntentB\003\340A\002\022\025\n\rlanguage_code\030\003 \001" + + "(\t\"\236\001\n\023UpdateIntentRequest\022?\n\006intent\030\001 \001" + + "(\0132*.google.cloud.dialogflow.cx.v3beta1." + + "IntentB\003\340A\002\022\025\n\rlanguage_code\030\002 \001(\t\022/\n\013up" + + "date_mask\030\003 \001(\0132\032.google.protobuf.FieldM" + + "ask\"M\n\023DeleteIntentRequest\0226\n\004name\030\001 \001(\t" + + "B(\340A\002\372A\"\n dialogflow.googleapis.com/Inte" + + "nt*X\n\nIntentView\022\033\n\027INTENT_VIEW_UNSPECIF" + + "IED\020\000\022\027\n\023INTENT_VIEW_PARTIAL\020\001\022\024\n\020INTENT" + + "_VIEW_FULL\020\0022\344\010\n\007Intents\022\312\001\n\013ListIntents" + + "\0226.google.cloud.dialogflow.cx.v3beta1.Li" + + "stIntentsRequest\0327.google.cloud.dialogfl" + + "ow.cx.v3beta1.ListIntentsResponse\"J\202\323\344\223\002" + + ";\0229/v3beta1/{parent=projects/*/locations" + + "/*/agents/*}/intents\332A\006parent\022\267\001\n\tGetInt" + + "ent\0224.google.cloud.dialogflow.cx.v3beta1" + + ".GetIntentRequest\032*.google.cloud.dialogf" + + "low.cx.v3beta1.Intent\"H\202\323\344\223\002;\0229/v3beta1/" + + "{name=projects/*/locations/*/agents/*/in" + + "tents/*}\332A\004name\022\316\001\n\014CreateIntent\0227.googl" + + "e.cloud.dialogflow.cx.v3beta1.CreateInte" + + "ntRequest\032*.google.cloud.dialogflow.cx.v" + + "3beta1.Intent\"Y\202\323\344\223\002C\"9/v3beta1/{parent=" + + "projects/*/locations/*/agents/*}/intents" + + ":\006intent\332A\rparent,intent\022\332\001\n\014UpdateInten" + + "t\0227.google.cloud.dialogflow.cx.v3beta1.U" + + "pdateIntentRequest\032*.google.cloud.dialog" + + "flow.cx.v3beta1.Intent\"e\202\323\344\223\002J2@/v3beta1" + + "/{intent.name=projects/*/locations/*/age" + + "nts/*/intents/*}:\006intent\332A\022intent,update" + + "_mask\022\251\001\n\014DeleteIntent\0227.google.cloud.di" + + "alogflow.cx.v3beta1.DeleteIntentRequest\032" + + "\026.google.protobuf.Empty\"H\202\323\344\223\002;*9/v3beta" + + "1/{name=projects/*/locations/*/agents/*/" + + "intents/*}\332A\004name\032x\312A\031dialogflow.googlea" + + "pis.com\322AYhttps://www.googleapis.com/aut" + + "h/cloud-platform,https://www.googleapis." + + "com/auth/dialogflowB\252\001\n&com.google.cloud" + + ".dialogflow.cx.v3beta1B\013IntentProtoP\001ZDg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/dialogflow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Go" + + "ogle.Cloud.Dialogflow.Cx.V3Beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -174,7 +181,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_descriptor, new java.lang.String[] { - "Name", "DisplayName", "TrainingPhrases", "Parameters", "Priority", "IsFallback", + "Name", + "DisplayName", + "TrainingPhrases", + "Parameters", + "Priority", + "IsFallback", + "Labels", + "Description", }); internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_TrainingPhrase_descriptor = internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_descriptor @@ -206,6 +220,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Id", "EntityType", "IsList", "Redact", }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_LabelsEntry_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_google_cloud_dialogflow_cx_v3beta1_ListIntentsRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_cloud_dialogflow_cx_v3beta1_ListIntentsRequest_fieldAccessorTable = diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java index 227dc4816..7f858c9c9 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java @@ -152,6 +152,23 @@ private QueryInput( inputCase_ = 6; break; } + case 58: + { + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.Builder subBuilder = null; + if (inputCase_ == 7) { + subBuilder = + ((com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) input_).toBuilder(); + } + input_ = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) input_); + input_ = subBuilder.buildPartial(); + } + inputCase_ = 7; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -197,6 +214,7 @@ public enum InputCase INTENT(3), AUDIO(5), EVENT(6), + DTMF(7), INPUT_NOT_SET(0); private final int value; @@ -223,6 +241,8 @@ public static InputCase forNumber(int value) { return AUDIO; case 6: return EVENT; + case 7: + return DTMF; case 0: return INPUT_NOT_SET; default: @@ -443,6 +463,57 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder getEventOrBuil return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance(); } + public static final int DTMF_FIELD_NUMBER = 7; + /** + * + * + *
+   * The DTMF event to be handled.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + * + * @return Whether the dtmf field is set. + */ + @java.lang.Override + public boolean hasDtmf() { + return inputCase_ == 7; + } + /** + * + * + *
+   * The DTMF event to be handled.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + * + * @return The dtmf. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DtmfInput getDtmf() { + if (inputCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) input_; + } + return com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.getDefaultInstance(); + } + /** + * + * + *
+   * The DTMF event to be handled.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DtmfInputOrBuilder getDtmfOrBuilder() { + if (inputCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) input_; + } + return com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.getDefaultInstance(); + } + public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; private volatile java.lang.Object languageCode_; /** @@ -527,6 +598,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (inputCase_ == 6) { output.writeMessage(6, (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_); } + if (inputCase_ == 7) { + output.writeMessage(7, (com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) input_); + } unknownFields.writeTo(output); } @@ -559,6 +633,11 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 6, (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_); } + if (inputCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) input_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -590,6 +669,9 @@ public boolean equals(final java.lang.Object obj) { case 6: if (!getEvent().equals(other.getEvent())) return false; break; + case 7: + if (!getDtmf().equals(other.getDtmf())) return false; + break; case 0: default: } @@ -623,6 +705,10 @@ public int hashCode() { hash = (37 * hash) + EVENT_FIELD_NUMBER; hash = (53 * hash) + getEvent().hashCode(); break; + case 7: + hash = (37 * hash) + DTMF_FIELD_NUMBER; + hash = (53 * hash) + getDtmf().hashCode(); + break; case 0: default: } @@ -834,6 +920,13 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryInput buildPartial() { result.input_ = eventBuilder_.build(); } } + if (inputCase_ == 7) { + if (dtmfBuilder_ == null) { + result.input_ = input_; + } else { + result.input_ = dtmfBuilder_.build(); + } + } result.languageCode_ = languageCode_; result.inputCase_ = inputCase_; onBuilt(); @@ -911,6 +1004,11 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.QueryInput other mergeEvent(other.getEvent()); break; } + case DTMF: + { + mergeDtmf(other.getDtmf()); + break; + } case INPUT_NOT_SET: { break; @@ -1796,6 +1894,215 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder getEventOrBuil return eventBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput, + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DtmfInputOrBuilder> + dtmfBuilder_; + /** + * + * + *
+     * The DTMF event to be handled.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + * + * @return Whether the dtmf field is set. + */ + @java.lang.Override + public boolean hasDtmf() { + return inputCase_ == 7; + } + /** + * + * + *
+     * The DTMF event to be handled.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + * + * @return The dtmf. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DtmfInput getDtmf() { + if (dtmfBuilder_ == null) { + if (inputCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) input_; + } + return com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.getDefaultInstance(); + } else { + if (inputCase_ == 7) { + return dtmfBuilder_.getMessage(); + } + return com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.getDefaultInstance(); + } + } + /** + * + * + *
+     * The DTMF event to be handled.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + */ + public Builder setDtmf(com.google.cloud.dialogflow.cx.v3beta1.DtmfInput value) { + if (dtmfBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + input_ = value; + onChanged(); + } else { + dtmfBuilder_.setMessage(value); + } + inputCase_ = 7; + return this; + } + /** + * + * + *
+     * The DTMF event to be handled.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + */ + public Builder setDtmf( + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.Builder builderForValue) { + if (dtmfBuilder_ == null) { + input_ = builderForValue.build(); + onChanged(); + } else { + dtmfBuilder_.setMessage(builderForValue.build()); + } + inputCase_ = 7; + return this; + } + /** + * + * + *
+     * The DTMF event to be handled.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + */ + public Builder mergeDtmf(com.google.cloud.dialogflow.cx.v3beta1.DtmfInput value) { + if (dtmfBuilder_ == null) { + if (inputCase_ == 7 + && input_ != com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.getDefaultInstance()) { + input_ = + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.newBuilder( + (com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) input_) + .mergeFrom(value) + .buildPartial(); + } else { + input_ = value; + } + onChanged(); + } else { + if (inputCase_ == 7) { + dtmfBuilder_.mergeFrom(value); + } + dtmfBuilder_.setMessage(value); + } + inputCase_ = 7; + return this; + } + /** + * + * + *
+     * The DTMF event to be handled.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + */ + public Builder clearDtmf() { + if (dtmfBuilder_ == null) { + if (inputCase_ == 7) { + inputCase_ = 0; + input_ = null; + onChanged(); + } + } else { + if (inputCase_ == 7) { + inputCase_ = 0; + input_ = null; + } + dtmfBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The DTMF event to be handled.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + */ + public com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.Builder getDtmfBuilder() { + return getDtmfFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The DTMF event to be handled.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DtmfInputOrBuilder getDtmfOrBuilder() { + if ((inputCase_ == 7) && (dtmfBuilder_ != null)) { + return dtmfBuilder_.getMessageOrBuilder(); + } else { + if (inputCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) input_; + } + return com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.getDefaultInstance(); + } + } + /** + * + * + *
+     * The DTMF event to be handled.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput, + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DtmfInputOrBuilder> + getDtmfFieldBuilder() { + if (dtmfBuilder_ == null) { + if (!(inputCase_ == 7)) { + input_ = com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.getDefaultInstance(); + } + dtmfBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput, + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DtmfInputOrBuilder>( + (com.google.cloud.dialogflow.cx.v3beta1.DtmfInput) input_, + getParentForChildren(), + isClean()); + input_ = null; + } + inputCase_ = 7; + onChanged(); + ; + return dtmfBuilder_; + } + private java.lang.Object languageCode_ = ""; /** * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java index 4b79691f1..2197b5a35 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java @@ -163,6 +163,41 @@ public interface QueryInputOrBuilder */ com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder getEventOrBuilder(); + /** + * + * + *
+   * The DTMF event to be handled.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + * + * @return Whether the dtmf field is set. + */ + boolean hasDtmf(); + /** + * + * + *
+   * The DTMF event to be handled.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + * + * @return The dtmf. + */ + com.google.cloud.dialogflow.cx.v3beta1.DtmfInput getDtmf(); + /** + * + * + *
+   * The DTMF event to be handled.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; + */ + com.google.cloud.dialogflow.cx.v3beta1.DtmfInputOrBuilder getDtmfOrBuilder(); + /** * * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java index 64da5a812..c48702eea 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java @@ -3926,37 +3926,111 @@ public com.google.protobuf.Parser getParserForType() { } } - public interface EndInteractionOrBuilder + public interface MixedAudioOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) - com.google.protobuf.MessageOrBuilder {} + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + java.util.List + getSegmentsList(); + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( + int index); + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + int getSegmentsCount(); + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> + getSegmentsOrBuilderList(); + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder + getSegmentsOrBuilder(int index); + } /** * * *
-   * Indicates that interaction with the Dialogflow agent has ended.
+   * Represents an audio message that is composed of both segments
+   * synthesized from the Dialogflow agent prompts and ones hosted externally
+   * at the specified URIs.
+   * The external URIs are specified via
+   * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
    * This message is generated by Dialogflow only and not supposed to be
    * defined by the user.
    * 
* - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction} + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio} */ - public static final class EndInteraction extends com.google.protobuf.GeneratedMessageV3 + public static final class MixedAudio extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) - EndInteractionOrBuilder { + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + MixedAudioOrBuilder { private static final long serialVersionUID = 0L; - // Use EndInteraction.newBuilder() to construct. - private EndInteraction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use MixedAudio.newBuilder() to construct. + private MixedAudio(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EndInteraction() {} + private MixedAudio() { + segments_ = java.util.Collections.emptyList(); + } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new EndInteraction(); + return new MixedAudio(); } @java.lang.Override @@ -3964,7 +4038,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private EndInteraction( + private MixedAudio( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -3972,6 +4046,7 @@ private EndInteraction( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -3982,6 +4057,22 @@ private EndInteraction( case 0: done = true; break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + .Segment>(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + .parser(), + extensionRegistry)); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -3996,6 +4087,9 @@ private EndInteraction( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = java.util.Collections.unmodifiableList(segments_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -4003,1192 +4097,1065 @@ private EndInteraction( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor; + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_fieldAccessorTable + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction.Builder.class); + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class); } - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + public interface SegmentOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + com.google.protobuf.MessageOrBuilder { - memoizedIsInitialized = 1; - return true; - } + /** + * + * + *
+       * Raw audio synthesized from the Dialogflow agent's response using
+       * the output config specified in the request.
+       * 
+ * + * bytes audio = 1; + * + * @return The audio. + */ + com.google.protobuf.ByteString getAudio(); - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - unknownFields.writeTo(output); - } + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client. Dialogflow does not impose any validation on it.
+       * 
+ * + * string uri = 2; + * + * @return The uri. + */ + java.lang.String getUri(); + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client. Dialogflow does not impose any validation on it.
+       * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + com.google.protobuf.ByteString getUriBytes(); - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + /** + * + * + *
+       * Output only. Whether the playback of this segment can be interrupted by the end
+       * user's speech and the client should then start the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ + boolean getAllowPlaybackInterruption(); - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.ContentCase + getContentCase(); } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction)) { - return super.equals(obj); + /** + * + * + *
+     * Represents one segment of audio.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment} + */ + public static final class Segment extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + SegmentOrBuilder { + private static final long serialVersionUID = 0L; + // Use Segment.newBuilder() to construct. + private Segment(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction other = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) obj; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + private Segment() {} - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Segment(); } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction 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.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction 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.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction 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.cx.v3beta1.ResponseMessage.EndInteraction - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction - 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.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction 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.cx.v3beta1.ResponseMessage.EndInteraction prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + private Segment( + 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: + { + contentCase_ = 1; + content_ = input.readBytes(); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + contentCase_ = 2; + content_ = s; + break; + } + case 24: + { + allowPlaybackInterruption_ = input.readBool(); + 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(); + } + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Indicates that interaction with the Dialogflow agent has ended.
-     * This message is generated by Dialogflow only and not supposed to be
-     * defined by the user.
-     * 
- * - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteractionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor; + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_fieldAccessorTable + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction.Builder + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder .class); } - // Construct using - // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } + private int contentCase_ = 0; + private java.lang.Object content_; - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } + public enum ContentCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + AUDIO(1), + URI(2), + CONTENT_NOT_SET(0); + private final int value; - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor; - } + private ContentCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ContentCase valueOf(int value) { + return forNumber(value); + } - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction - getDefaultInstanceForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction - .getDefaultInstance(); - } + public static ContentCase forNumber(int value) { + switch (value) { + case 1: + return AUDIO; + case 2: + return URI; + case 0: + return CONTENT_NOT_SET; + default: + return null; + } + } - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction build() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + public int getNumber() { + return this.value; } - return result; - } - - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction buildPartial() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction result = - new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction(this); - onBuilt(); - return result; + }; + + public ContentCase getContentCase() { + return ContentCase.forNumber(contentCase_); } + public static final int AUDIO_FIELD_NUMBER = 1; + /** + * + * + *
+       * Raw audio synthesized from the Dialogflow agent's response using
+       * the output config specified in the request.
+       * 
+ * + * bytes audio = 1; + * + * @return The audio. + */ @java.lang.Override - public Builder clone() { - return super.clone(); + public com.google.protobuf.ByteString getAudio() { + if (contentCase_ == 1) { + return (com.google.protobuf.ByteString) content_; + } + return com.google.protobuf.ByteString.EMPTY; } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); + public static final int URI_FIELD_NUMBER = 2; + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client. Dialogflow does not impose any validation on it.
+       * 
+ * + * string uri = 2; + * + * @return The uri. + */ + public java.lang.String getUri() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + 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(); + if (contentCase_ == 2) { + content_ = s; + } + return s; + } } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client. Dialogflow does not impose any validation on it.
+       * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (contentCase_ == 2) { + content_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 3; + private boolean allowPlaybackInterruption_; + /** + * + * + *
+       * Output only. Whether the playback of this segment can be interrupted by the end
+       * user's speech and the client should then start the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + private byte memoizedIsInitialized = -1; @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + 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 Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) { - return mergeFrom( - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) other); - } else { - super.mergeFrom(other); - return this; + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (contentCase_ == 1) { + output.writeBytes(1, (com.google.protobuf.ByteString) content_); } - } - - public Builder mergeFrom( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction other) { - if (other - == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction - .getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + if (contentCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_); + } + if (allowPlaybackInterruption_ != false) { + output.writeBool(3, allowPlaybackInterruption_); + } + unknownFields.writeTo(output); } @java.lang.Override - public final boolean isInitialized() { - return true; + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (contentCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 1, (com.google.protobuf.ByteString) content_); + } + if (contentCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_); + } + if (allowPlaybackInterruption_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowPlaybackInterruption_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; } @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - return this; + if (!(obj + instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) obj; + + if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false; + if (!getContentCase().equals(other.getContentCase())) return false; + switch (contentCase_) { + case 1: + if (!getAudio().equals(other.getAudio())) return false; + break; + case 2: + if (!getUri().equals(other.getUri())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption()); + switch (contentCase_) { + case 1: + hash = (37 * hash) + AUDIO_FIELD_NUMBER; + hash = (53 * hash) + getAudio().hashCode(); + break; + case 2: + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) - } - - // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) - private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction(); - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + 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.cx.v3beta1.ResponseMessage.EndInteraction - getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EndInteraction parsePartialFrom( - com.google.protobuf.CodedInputStream input, + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom( + com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EndInteraction(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + return PARSER.parseFrom(data, extensionRegistry); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - public interface PlayAudioOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) - com.google.protobuf.MessageOrBuilder { + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } - /** - * - * - *
-     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
-     * value. It is specific to the client that reads it.
-     * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The audioUri. - */ - java.lang.String getAudioUri(); - /** - * - * - *
-     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
-     * value. It is specific to the client that reads it.
-     * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for audioUri. - */ - com.google.protobuf.ByteString getAudioUriBytes(); + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } - /** - * - * - *
-     * Output only. Whether the playback of this message can be interrupted by the end
-     * user's speech and the client can then starts the next Dialogflow
-     * request.
-     * 
- * - * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The allowPlaybackInterruption. - */ - boolean getAllowPlaybackInterruption(); - } - /** - * - * - *
-   * Specifies an audio clip to be played by the client as part of the response.
-   * 
- * - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio} - */ - public static final class PlayAudio extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) - PlayAudioOrBuilder { - private static final long serialVersionUID = 0L; - // Use PlayAudio.newBuilder() to construct. - private PlayAudio(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } - private PlayAudio() { - audioUri_ = ""; - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PlayAudio(); - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } - private PlayAudio( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - 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(); - audioUri_ = s; - break; - } - case 16: - { - allowPlaybackInterruption_ = input.readBool(); - 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 Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; - } + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class); - } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } - public static final int AUDIO_URI_FIELD_NUMBER = 1; - private volatile java.lang.Object audioUri_; - /** - * - * - *
-     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
-     * value. It is specific to the client that reads it.
-     * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The audioUri. - */ - @java.lang.Override - public java.lang.String getAudioUri() { - java.lang.Object ref = audioUri_; - 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(); - audioUri_ = s; - return s; - } - } - /** - * - * - *
-     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
-     * value. It is specific to the client that reads it.
-     * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for audioUri. - */ - @java.lang.Override - public com.google.protobuf.ByteString getAudioUriBytes() { - java.lang.Object ref = audioUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - audioUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } - } - - public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 2; - private boolean allowPlaybackInterruption_; - /** - * - * - *
-     * Output only. Whether the playback of this message can be interrupted by the end
-     * user's speech and the client can then starts the next Dialogflow
-     * request.
-     * 
- * - * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The allowPlaybackInterruption. - */ - @java.lang.Override - public boolean getAllowPlaybackInterruption() { - return allowPlaybackInterruption_; - } + /** + * + * + *
+       * Represents one segment of audio.
+       * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; + } - private byte memoizedIsInitialized = -1; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + .class); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + // Construct using + // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - memoizedIsInitialized = 1; - return true; - } + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getAudioUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, audioUri_); - } - if (allowPlaybackInterruption_ != false) { - output.writeBool(2, allowPlaybackInterruption_); - } - unknownFields.writeTo(output); - } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + @java.lang.Override + public Builder clear() { + super.clear(); + allowPlaybackInterruption_ = false; - size = 0; - if (!getAudioUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, audioUri_); - } - if (allowPlaybackInterruption_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowPlaybackInterruption_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + contentCase_ = 0; + content_ = null; + return this; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)) { - return super.equals(obj); - } - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) obj; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; + } - if (!getAudioUri().equals(other.getAudioUri())) return false; - if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + .getDefaultInstance(); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + AUDIO_URI_FIELD_NUMBER; - hash = (53 * hash) + getAudioUri().hashCode(); - hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment build() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result = + new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment(this); + if (contentCase_ == 1) { + result.content_ = content_; + } + if (contentCase_ == 2) { + result.content_ = content_; + } + result.allowPlaybackInterruption_ = allowPlaybackInterruption_; + result.contentCase_ = contentCase_; + onBuilt(); + return result; + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio 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.cx.v3beta1.ResponseMessage.PlayAudio - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio - 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.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio 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.cx.v3beta1.ResponseMessage.PlayAudio 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; - } - /** - * - * - *
-     * Specifies an audio clip to be played by the client as part of the response.
-     * 
- * - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudioOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class); - } - - // Construct using - // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.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(); - audioUri_ = ""; - - allowPlaybackInterruption_ = false; - - return this; - } + @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 com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; - } + @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 com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio - getDefaultInstanceForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio - .getDefaultInstance(); - } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) other); + } else { + super.mergeFrom(other); + return this; + } + } - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio build() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + .getDefaultInstance()) return this; + if (other.getAllowPlaybackInterruption() != false) { + setAllowPlaybackInterruption(other.getAllowPlaybackInterruption()); + } + switch (other.getContentCase()) { + case AUDIO: + { + setAudio(other.getAudio()); + break; + } + case URI: + { + contentCase_ = 2; + content_ = other.content_; + onChanged(); + break; + } + case CONTENT_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; } - return result; - } - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio buildPartial() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result = - new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio(this); - result.audioUri_ = audioUri_; - result.allowPlaybackInterruption_ = allowPlaybackInterruption_; - onBuilt(); - return result; - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + private int contentCase_ = 0; + private java.lang.Object content_; - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + public ContentCase getContentCase() { + return ContentCase.forNumber(contentCase_); + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + public Builder clearContent() { + contentCase_ = 0; + content_ = null; + onChanged(); + return this; + } - @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.cx.v3beta1.ResponseMessage.PlayAudio) { - return mergeFrom( - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) other); - } else { - super.mergeFrom(other); - return this; + /** + * + * + *
+         * Raw audio synthesized from the Dialogflow agent's response using
+         * the output config specified in the request.
+         * 
+ * + * bytes audio = 1; + * + * @return The audio. + */ + public com.google.protobuf.ByteString getAudio() { + if (contentCase_ == 1) { + return (com.google.protobuf.ByteString) content_; + } + return com.google.protobuf.ByteString.EMPTY; } - } - - public Builder mergeFrom( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other) { - if (other - == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio - .getDefaultInstance()) return this; - if (!other.getAudioUri().isEmpty()) { - audioUri_ = other.audioUri_; + /** + * + * + *
+         * Raw audio synthesized from the Dialogflow agent's response using
+         * the output config specified in the request.
+         * 
+ * + * bytes audio = 1; + * + * @param value The audio to set. + * @return This builder for chaining. + */ + public Builder setAudio(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + contentCase_ = 1; + content_ = value; onChanged(); + return this; } - if (other.getAllowPlaybackInterruption() != false) { - setAllowPlaybackInterruption(other.getAllowPlaybackInterruption()); - } - 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.cx.v3beta1.ResponseMessage.PlayAudio parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + /** + * + * + *
+         * Raw audio synthesized from the Dialogflow agent's response using
+         * the output config specified in the request.
+         * 
+ * + * bytes audio = 1; + * + * @return This builder for chaining. + */ + public Builder clearAudio() { + if (contentCase_ == 1) { + contentCase_ = 0; + content_ = null; + onChanged(); } + return this; } - return this; - } - private java.lang.Object audioUri_ = ""; - /** - * - * - *
-       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
-       * value. It is specific to the client that reads it.
-       * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The audioUri. - */ - public java.lang.String getAudioUri() { - java.lang.Object ref = audioUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - audioUri_ = s; - return s; - } else { - return (java.lang.String) ref; + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client. Dialogflow does not impose any validation on it.
+         * 
+ * + * string uri = 2; + * + * @return The uri. + */ + @java.lang.Override + public java.lang.String getUri() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (contentCase_ == 2) { + content_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } } - } - /** - * - * - *
-       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
-       * value. It is specific to the client that reads it.
-       * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for audioUri. - */ - public com.google.protobuf.ByteString getAudioUriBytes() { - java.lang.Object ref = audioUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - audioUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client. Dialogflow does not impose any validation on it.
+         * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (contentCase_ == 2) { + content_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - } - /** - * - * - *
-       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
-       * value. It is specific to the client that reads it.
-       * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The audioUri to set. - * @return This builder for chaining. - */ - public Builder setAudioUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client. Dialogflow does not impose any validation on it.
+         * 
+ * + * string uri = 2; + * + * @param value The uri to set. + * @return This builder for chaining. + */ + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + contentCase_ = 2; + content_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client. Dialogflow does not impose any validation on it.
+         * 
+ * + * string uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearUri() { + if (contentCase_ == 2) { + contentCase_ = 0; + content_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client. Dialogflow does not impose any validation on it.
+         * 
+ * + * string uri = 2; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. + */ + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + contentCase_ = 2; + content_ = value; + onChanged(); + return this; } - audioUri_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
-       * value. It is specific to the client that reads it.
-       * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearAudioUri() { - - audioUri_ = getDefaultInstance().getAudioUri(); - onChanged(); - return this; - } - /** - * - * - *
-       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
-       * value. It is specific to the client that reads it.
-       * 
- * - * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for audioUri to set. - * @return This builder for chaining. - */ - public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + private boolean allowPlaybackInterruption_; + /** + * + * + *
+         * Output only. Whether the playback of this segment can be interrupted by the end
+         * user's speech and the client should then start the next Dialogflow
+         * request.
+         * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The allowPlaybackInterruption. + */ + @java.lang.Override + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; } - checkByteStringIsUtf8(value); + /** + * + * + *
+         * Output only. Whether the playback of this segment can be interrupted by the end
+         * user's speech and the client should then start the next Dialogflow
+         * request.
+         * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The allowPlaybackInterruption to set. + * @return This builder for chaining. + */ + public Builder setAllowPlaybackInterruption(boolean value) { - audioUri_ = value; - onChanged(); - return this; + allowPlaybackInterruption_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Output only. Whether the playback of this segment can be interrupted by the end
+         * user's speech and the client should then start the next Dialogflow
+         * request.
+         * 
+ * + * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearAllowPlaybackInterruption() { + + allowPlaybackInterruption_ = false; + 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment) } - private boolean allowPlaybackInterruption_; - /** - * - * - *
-       * Output only. Whether the playback of this message can be interrupted by the end
-       * user's speech and the client can then starts the next Dialogflow
-       * request.
-       * 
- * - * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The allowPlaybackInterruption. - */ - @java.lang.Override - public boolean getAllowPlaybackInterruption() { - return allowPlaybackInterruption_; + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment(); } - /** - * - * - *
-       * Output only. Whether the playback of this message can be interrupted by the end
-       * user's speech and the client can then starts the next Dialogflow
-       * request.
-       * 
- * - * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @param value The allowPlaybackInterruption to set. - * @return This builder for chaining. - */ - public Builder setAllowPlaybackInterruption(boolean value) { - allowPlaybackInterruption_ = value; - onChanged(); - return this; + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + getDefaultInstance() { + return DEFAULT_INSTANCE; } - /** - * - * - *
-       * Output only. Whether the playback of this message can be interrupted by the end
-       * user's speech and the client can then starts the next Dialogflow
-       * request.
-       * 
- * - * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return This builder for chaining. - */ - public Builder clearAllowPlaybackInterruption() { - allowPlaybackInterruption_ = false; - onChanged(); - return this; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Segment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Segment(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + public com.google.protobuf.Parser getParserForType() { + return PARSER; } @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - - // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) - } - - // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) - private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio(); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio - getDefaultInstance() { - return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PlayAudio parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PlayAudio(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.cx.v3beta1.ResponseMessage.PlayAudio - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface MixedAudioOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) - com.google.protobuf.MessageOrBuilder { - + public static final int SEGMENTS_FIELD_NUMBER = 1; + private java.util.List< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> + segments_; /** * * @@ -5200,8 +5167,11 @@ public interface MixedAudioOrBuilder * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; *
*/ - java.util.List - getSegmentsList(); + @java.lang.Override + public java.util.List + getSegmentsList() { + return segments_; + } /** * * @@ -5213,8 +5183,13 @@ public interface MixedAudioOrBuilder * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; *
*/ - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( - int index); + @java.lang.Override + public java.util.List< + ? extends + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> + getSegmentsOrBuilderList() { + return segments_; + } /** * * @@ -5226,7 +5201,10 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSeg * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; * */ - int getSegmentsCount(); + @java.lang.Override + public int getSegmentsCount() { + return segments_.size(); + } /** * * @@ -5238,10 +5216,11 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSeg * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; * */ - java.util.List< - ? extends - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> - getSegmentsOrBuilderList(); + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( + int index) { + return segments_.get(index); + } /** * * @@ -5253,1247 +5232,1548 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSeg * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; * */ - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder - getSegmentsOrBuilder(int index); - } - /** - * - * - *
-   * Represents an audio message that is composed of both segments
-   * synthesized from the Dialogflow agent prompts and ones hosted externally
-   * at the specified URIs.
-   * The external URIs are specified via
-   * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
-   * This message is generated by Dialogflow only and not supposed to be
-   * defined by the user.
-   * 
- * - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio} - */ - public static final class MixedAudio extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) - MixedAudioOrBuilder { - private static final long serialVersionUID = 0L; - // Use MixedAudio.newBuilder() to construct. - private MixedAudio(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder + getSegmentsOrBuilder(int index) { + return segments_.get(index); } - private MixedAudio() { - segments_ = java.util.Collections.emptyList(); + 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 - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MixedAudio(); + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < segments_.size(); i++) { + output.writeMessage(1, segments_.get(i)); + } + unknownFields.writeTo(output); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < segments_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; } - private MixedAudio( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - 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)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - .Segment>(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - .parser(), - extensionRegistry)); - 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)) { - segments_ = java.util.Collections.unmodifiableList(segments_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)) { + return super.equals(obj); } - } + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) obj; - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class); + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSegmentsCount() > 0) { + hash = (37 * hash) + SEGMENTS_FIELD_NUMBER; + hash = (53 * hash) + getSegmentsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - public interface SegmentOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) - com.google.protobuf.MessageOrBuilder { + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - /** - * - * - *
-       * Raw audio synthesized from the Dialogflow agent's response using
-       * the output config specified in the request.
-       * 
- * - * bytes audio = 1; - * - * @return The audio. - */ - com.google.protobuf.ByteString getAudio(); + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - /** - * - * - *
-       * Client-specific URI that points to an audio clip accessible to the
-       * client. Dialogflow does not impose any validation on it.
-       * 
- * - * string uri = 2; - * - * @return The uri. - */ - java.lang.String getUri(); - /** - * - * - *
-       * Client-specific URI that points to an audio clip accessible to the
-       * client. Dialogflow does not impose any validation on it.
-       * 
- * - * string uri = 2; - * - * @return The bytes for uri. - */ - com.google.protobuf.ByteString getUriBytes(); + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - /** - * - * - *
-       * Output only. Whether the playback of this segment can be interrupted by the end
-       * user's speech and the client should then start the next Dialogflow
-       * request.
-       * 
- * - * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The allowPlaybackInterruption. - */ - boolean getAllowPlaybackInterruption(); + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.ContentCase - getContentCase(); + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.cx.v3beta1.ResponseMessage.MixedAudio + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + 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.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.cx.v3beta1.ResponseMessage.MixedAudio 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 one segment of audio.
+     * Represents an audio message that is composed of both segments
+     * synthesized from the Dialogflow agent prompts and ones hosted externally
+     * at the specified URIs.
+     * The external URIs are specified via
+     * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
+     * This message is generated by Dialogflow only and not supposed to be
+     * defined by the user.
      * 
* - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment} + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio} */ - public static final class Segment extends com.google.protobuf.GeneratedMessageV3 + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) - SegmentOrBuilder { - private static final long serialVersionUID = 0L; - // Use Segment.newBuilder() to construct. - private Segment(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudioOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; } - private Segment() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Segment(); + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; + // Construct using + // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); } - private Segment( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSegmentsFieldBuilder(); } - 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: - { - contentCase_ = 1; - content_ = input.readBytes(); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - contentCase_ = 2; - content_ = s; - break; - } - case 24: - { - allowPlaybackInterruption_ = input.readBool(); - 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(); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (segmentsBuilder_ == null) { + segments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + segmentsBuilder_.clear(); } + return this; } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - .class); + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + .getDefaultInstance(); } - private int contentCase_ = 0; - private java.lang.Object content_; + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio build() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - public enum ContentCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - AUDIO(1), - URI(2), - CONTENT_NOT_SET(0); - private final int value; - - private ContentCase(int value) { - this.value = value; + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result = + new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio(this); + int from_bitField0_ = bitField0_; + if (segmentsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + segments_ = java.util.Collections.unmodifiableList(segments_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.segments_ = segments_; + } else { + result.segments_ = segmentsBuilder_.build(); } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ContentCase valueOf(int value) { - return forNumber(value); + 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.cx.v3beta1.ResponseMessage.MixedAudio) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) other); + } else { + super.mergeFrom(other); + return this; } + } - public static ContentCase forNumber(int value) { - switch (value) { - case 1: - return AUDIO; - case 2: - return URI; - case 0: - return CONTENT_NOT_SET; - default: - return null; + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + .getDefaultInstance()) return this; + if (segmentsBuilder_ == null) { + if (!other.segments_.isEmpty()) { + if (segments_.isEmpty()) { + segments_ = other.segments_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSegmentsIsMutable(); + segments_.addAll(other.segments_); + } + onChanged(); + } + } else { + if (!other.segments_.isEmpty()) { + if (segmentsBuilder_.isEmpty()) { + segmentsBuilder_.dispose(); + segmentsBuilder_ = null; + segments_ = other.segments_; + bitField0_ = (bitField0_ & ~0x00000001); + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; + } else { + segmentsBuilder_.addAllMessages(other.segments_); + } } } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - public int getNumber() { - return this.value; + @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.cx.v3beta1.ResponseMessage.MixedAudio parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } } - }; + return this; + } - public ContentCase getContentCase() { - return ContentCase.forNumber(contentCase_); + private int bitField0_; + + private java.util.List< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> + segments_ = java.util.Collections.emptyList(); + + private void ensureSegmentsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>( + segments_); + bitField0_ |= 0x00000001; + } } - public static final int AUDIO_FIELD_NUMBER = 1; + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> + segmentsBuilder_; + /** * * *
-       * Raw audio synthesized from the Dialogflow agent's response using
-       * the output config specified in the request.
+       * Segments this audio response is composed of.
        * 
* - * bytes audio = 1; - * - * @return The audio. + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ - @java.lang.Override - public com.google.protobuf.ByteString getAudio() { - if (contentCase_ == 1) { - return (com.google.protobuf.ByteString) content_; + public java.util.List< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> + getSegmentsList() { + if (segmentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(segments_); + } else { + return segmentsBuilder_.getMessageList(); } - return com.google.protobuf.ByteString.EMPTY; } - - public static final int URI_FIELD_NUMBER = 2; /** * * *
-       * Client-specific URI that points to an audio clip accessible to the
-       * client. Dialogflow does not impose any validation on it.
+       * Segments this audio response is composed of.
        * 
* - * string uri = 2; - * - * @return The uri. + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ - public java.lang.String getUri() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public int getSegmentsCount() { + if (segmentsBuilder_ == null) { + return segments_.size(); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (contentCase_ == 2) { - content_ = s; - } - return s; + return segmentsBuilder_.getCount(); } } /** * * *
-       * Client-specific URI that points to an audio clip accessible to the
-       * client. Dialogflow does not impose any validation on it.
+       * Segments this audio response is composed of.
        * 
* - * string uri = 2; - * - * @return The bytes for uri. + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ - public com.google.protobuf.ByteString getUriBytes() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (contentCase_ == 2) { - content_ = b; - } - return b; + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( + int index) { + if (segmentsBuilder_ == null) { + return segments_.get(index); } else { - return (com.google.protobuf.ByteString) ref; + return segmentsBuilder_.getMessage(index); } } - - public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 3; - private boolean allowPlaybackInterruption_; /** * * *
-       * Output only. Whether the playback of this segment can be interrupted by the end
-       * user's speech and the client should then start the next Dialogflow
-       * request.
+       * Segments this audio response is composed of.
        * 
* - * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; * - * - * @return The allowPlaybackInterruption. */ - @java.lang.Override - public boolean getAllowPlaybackInterruption() { - return allowPlaybackInterruption_; - } - - 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 (contentCase_ == 1) { - output.writeBytes(1, (com.google.protobuf.ByteString) content_); - } - if (contentCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_); - } - if (allowPlaybackInterruption_ != false) { - output.writeBool(3, allowPlaybackInterruption_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (contentCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 1, (com.google.protobuf.ByteString) content_); - } - if (contentCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_); - } - if (allowPlaybackInterruption_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowPlaybackInterruption_); - } - 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment)) { - return super.equals(obj); - } - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) obj; - - if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false; - if (!getContentCase().equals(other.getContentCase())) return false; - switch (contentCase_) { - case 1: - if (!getAudio().equals(other.getAudio())) return false; - break; - case 2: - if (!getUri().equals(other.getUri())) return false; - break; - case 0: - default: + public Builder setSegments( + int index, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { + if (segmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSegmentsIsMutable(); + segments_.set(index, value); + onChanged(); + } else { + segmentsBuilder_.setMessage(index, value); } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; + return this; } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption()); - switch (contentCase_) { - case 1: - hash = (37 * hash) + AUDIO_FIELD_NUMBER; - hash = (53 * hash) + getAudio().hashCode(); - break; - case 2: - hash = (37 * hash) + URI_FIELD_NUMBER; - hash = (53 * hash) + getUri().hashCode(); - break; - case 0: - default: + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder setSegments( + int index, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + builderForValue) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.set(index, builderForValue.build()); + onChanged(); + } else { + segmentsBuilder_.setMessage(index, builderForValue.build()); } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - 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.cx.v3beta1.ResponseMessage.MixedAudio.Segment 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; + return this; } /** * * *
-       * Represents one segment of audio.
+       * Segments this audio response is composed of.
        * 
* - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment} + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - .class); - } - - // Construct using - // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.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(); - allowPlaybackInterruption_ = false; - - contentCase_ = 0; - content_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; - } - - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - getDefaultInstanceForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment build() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + public Builder addSegments( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { + if (segmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - return result; + ensureSegmentsIsMutable(); + segments_.add(value); + onChanged(); + } else { + segmentsBuilder_.addMessage(value); } - - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - buildPartial() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result = - new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment(this); - if (contentCase_ == 1) { - result.content_ = content_; - } - if (contentCase_ == 2) { - result.content_ = content_; + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addSegments( + int index, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { + if (segmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - result.allowPlaybackInterruption_ = allowPlaybackInterruption_; - result.contentCase_ = contentCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); + ensureSegmentsIsMutable(); + segments_.add(index, value); + onChanged(); + } else { + segmentsBuilder_.addMessage(index, value); } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addSegments( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + builderForValue) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.add(builderForValue.build()); + onChanged(); + } else { + segmentsBuilder_.addMessage(builderForValue.build()); } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addSegments( + int index, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + builderForValue) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.add(index, builderForValue.build()); + onChanged(); + } else { + segmentsBuilder_.addMessage(index, builderForValue.build()); } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addAllSegments( + java.lang.Iterable< + ? extends + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> + values) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + onChanged(); + } else { + segmentsBuilder_.addAllMessages(values); } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder clearSegments() { + if (segmentsBuilder_ == null) { + segments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + segmentsBuilder_.clear(); } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder removeSegments(int index) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.remove(index); + onChanged(); + } else { + segmentsBuilder_.remove(index); } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) { - return mergeFrom( - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) other); - } else { - super.mergeFrom(other); - return this; - } + return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + getSegmentsBuilder(int index) { + return getSegmentsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder + getSegmentsOrBuilder(int index) { + if (segmentsBuilder_ == null) { + return segments_.get(index); + } else { + return segmentsBuilder_.getMessageOrBuilder(index); } - - public Builder mergeFrom( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other) { - if (other - == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - .getDefaultInstance()) return this; - if (other.getAllowPlaybackInterruption() != false) { - setAllowPlaybackInterruption(other.getAllowPlaybackInterruption()); - } - switch (other.getContentCase()) { - case AUDIO: - { - setAudio(other.getAudio()); - break; - } - case URI: - { - contentCase_ = 2; - content_ = other.content_; - onChanged(); - break; - } - case CONTENT_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public java.util.List< + ? extends + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + .SegmentOrBuilder> + getSegmentsOrBuilderList() { + if (segmentsBuilder_ != null) { + return segmentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(segments_); } + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + addSegmentsBuilder() { + return getSegmentsFieldBuilder() + .addBuilder( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + .getDefaultInstance()); + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder + addSegmentsBuilder(int index) { + return getSegmentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment + .getDefaultInstance()); + } + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public java.util.List< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder> + getSegmentsBuilderList() { + return getSegmentsFieldBuilder().getBuilderList(); + } - @java.lang.Override - public final boolean isInitialized() { - return true; + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> + getSegmentsFieldBuilder() { + if (segmentsBuilder_ == null) { + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + .SegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + segments_ = null; } + return segmentsBuilder_; + } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment parsedMessage = - null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - private int contentCase_ = 0; - private java.lang.Object content_; + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } - public ContentCase getContentCase() { - return ContentCase.forNumber(contentCase_); - } + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + } - public Builder clearContent() { - contentCase_ = 0; - content_ = null; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + DEFAULT_INSTANCE; - /** - * - * - *
-         * Raw audio synthesized from the Dialogflow agent's response using
-         * the output config specified in the request.
-         * 
- * - * bytes audio = 1; - * - * @return The audio. - */ - public com.google.protobuf.ByteString getAudio() { - if (contentCase_ == 1) { - return (com.google.protobuf.ByteString) content_; + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MixedAudio parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MixedAudio(input, extensionRegistry); } - return com.google.protobuf.ByteString.EMPTY; - } - /** - * - * - *
-         * Raw audio synthesized from the Dialogflow agent's response using
-         * the output config specified in the request.
-         * 
- * - * bytes audio = 1; - * - * @param value The audio to set. - * @return This builder for chaining. - */ - public Builder setAudio(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - contentCase_ = 1; - content_ = value; - onChanged(); - return this; - } - /** - * - * - *
-         * Raw audio synthesized from the Dialogflow agent's response using
-         * the output config specified in the request.
-         * 
- * - * bytes audio = 1; - * - * @return This builder for chaining. - */ - public Builder clearAudio() { - if (contentCase_ == 1) { - contentCase_ = 0; - content_ = null; - onChanged(); - } - return this; - } + }; - /** - * - * - *
-         * Client-specific URI that points to an audio clip accessible to the
-         * client. Dialogflow does not impose any validation on it.
-         * 
- * - * string uri = 2; - * - * @return The uri. - */ - @java.lang.Override - public java.lang.String getUri() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (contentCase_ == 2) { - content_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-         * Client-specific URI that points to an audio clip accessible to the
-         * client. Dialogflow does not impose any validation on it.
-         * 
- * - * string uri = 2; - * - * @return The bytes for uri. - */ - @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (contentCase_ == 2) { - content_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-         * Client-specific URI that points to an audio clip accessible to the
-         * client. Dialogflow does not impose any validation on it.
-         * 
- * - * string uri = 2; - * - * @param value The uri to set. - * @return This builder for chaining. - */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - contentCase_ = 2; - content_ = value; - onChanged(); - return this; - } - /** - * - * - *
-         * Client-specific URI that points to an audio clip accessible to the
-         * client. Dialogflow does not impose any validation on it.
-         * 
- * - * string uri = 2; - * - * @return This builder for chaining. - */ - public Builder clearUri() { - if (contentCase_ == 2) { - contentCase_ = 0; - content_ = null; - onChanged(); - } - return this; - } - /** - * - * - *
-         * Client-specific URI that points to an audio clip accessible to the
-         * client. Dialogflow does not impose any validation on it.
-         * 
- * - * string uri = 2; - * - * @param value The bytes for uri to set. - * @return This builder for chaining. - */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + 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.cx.v3beta1.ResponseMessage.MixedAudio + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface EndInteractionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) + com.google.protobuf.MessageOrBuilder {} + /** + * + * + *
+   * Indicates that interaction with the Dialogflow agent has ended.
+   * This message is generated by Dialogflow only and not supposed to be
+   * defined by the user.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction} + */ + public static final class EndInteraction extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) + EndInteractionOrBuilder { + private static final long serialVersionUID = 0L; + // Use EndInteraction.newBuilder() to construct. + private EndInteraction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private EndInteraction() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EndInteraction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private EndInteraction( + 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; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } - checkByteStringIsUtf8(value); - contentCase_ = 2; - content_ = value; - onChanged(); - return this; } + } 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.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction.Builder.class); + } + + 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 { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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.cx.v3beta1.ResponseMessage.EndInteraction)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction other = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) obj; + + 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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction 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.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction 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.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction 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.cx.v3beta1.ResponseMessage.EndInteraction + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction + 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.cx.v3beta1.ResponseMessage.EndInteraction parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction 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.cx.v3beta1.ResponseMessage.EndInteraction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - private boolean allowPlaybackInterruption_; - /** - * - * - *
-         * Output only. Whether the playback of this segment can be interrupted by the end
-         * user's speech and the client should then start the next Dialogflow
-         * request.
-         * 
- * - * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The allowPlaybackInterruption. - */ - @java.lang.Override - public boolean getAllowPlaybackInterruption() { - return allowPlaybackInterruption_; - } - /** - * - * - *
-         * Output only. Whether the playback of this segment can be interrupted by the end
-         * user's speech and the client should then start the next Dialogflow
-         * request.
-         * 
- * - * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @param value The allowPlaybackInterruption to set. - * @return This builder for chaining. - */ - public Builder setAllowPlaybackInterruption(boolean value) { + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } - allowPlaybackInterruption_ = value; - onChanged(); - return this; - } - /** - * - * - *
-         * Output only. Whether the playback of this segment can be interrupted by the end
-         * user's speech and the client should then start the next Dialogflow
-         * request.
-         * 
- * - * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return This builder for chaining. - */ - public Builder clearAllowPlaybackInterruption() { + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Indicates that interaction with the Dialogflow agent has ended.
+     * This message is generated by Dialogflow only and not supposed to be
+     * defined by the user.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteractionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor; + } - allowPlaybackInterruption_ = false; - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction.Builder + .class); + } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + // Construct using + // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + 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(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction build() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } + return result; + } - // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction result = + new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction(this); + onBuilt(); + return result; } - // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) - private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - DEFAULT_INSTANCE; + @java.lang.Override + public Builder clone() { + return super.clone(); + } - static { - DEFAULT_INSTANCE = - new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment(); + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - getDefaultInstance() { - return DEFAULT_INSTANCE; + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Segment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Segment(input, extensionRegistry); - } - }; + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - public static com.google.protobuf.Parser parser() { - return PARSER; + @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 com.google.protobuf.Parser getParserForType() { - return PARSER; + 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.cx.v3beta1.ResponseMessage.EndInteraction) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction + .getDefaultInstance()) return this; + 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.cx.v3beta1.ResponseMessage.EndInteraction parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) } - public static final int SEGMENTS_FIELD_NUMBER = 1; - private java.util.List< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> - segments_; + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction) + private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EndInteraction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndInteraction(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.cx.v3beta1.ResponseMessage.EndInteraction + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface PlayAudioOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + com.google.protobuf.MessageOrBuilder { + /** * * *
-     * Segments this audio response is composed of.
+     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+     * value. It is specific to the client that reads it.
      * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The audioUri. */ - @java.lang.Override - public java.util.List - getSegmentsList() { - return segments_; - } + java.lang.String getAudioUri(); /** * * *
-     * Segments this audio response is composed of.
+     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+     * value. It is specific to the client that reads it.
      * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for audioUri. + */ + com.google.protobuf.ByteString getAudioUriBytes(); + + /** + * + * + *
+     * Output only. Whether the playback of this message can be interrupted by the end
+     * user's speech and the client can then starts the next Dialogflow
+     * request.
+     * 
+ * + * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The allowPlaybackInterruption. */ + boolean getAllowPlaybackInterruption(); + } + /** + * + * + *
+   * Specifies an audio clip to be played by the client as part of the response.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio} + */ + public static final class PlayAudio extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + PlayAudioOrBuilder { + private static final long serialVersionUID = 0L; + // Use PlayAudio.newBuilder() to construct. + private PlayAudio(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PlayAudio() { + audioUri_ = ""; + } + @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> - getSegmentsOrBuilderList() { - return segments_; + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PlayAudio(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PlayAudio( + 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(); + + audioUri_ = s; + break; + } + case 16: + { + allowPlaybackInterruption_ = input.readBool(); + 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.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class); } + + public static final int AUDIO_URI_FIELD_NUMBER = 1; + private volatile java.lang.Object audioUri_; /** * * *
-     * Segments this audio response is composed of.
+     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+     * value. It is specific to the client that reads it.
      * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The audioUri. */ @java.lang.Override - public int getSegmentsCount() { - return segments_.size(); + public java.lang.String getAudioUri() { + java.lang.Object ref = audioUri_; + 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(); + audioUri_ = s; + return s; + } } /** * * *
-     * Segments this audio response is composed of.
+     * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+     * value. It is specific to the client that reads it.
      * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for audioUri. */ @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( - int index) { - return segments_.get(index); + public com.google.protobuf.ByteString getAudioUriBytes() { + java.lang.Object ref = audioUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + audioUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + + public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 2; + private boolean allowPlaybackInterruption_; /** * * *
-     * Segments this audio response is composed of.
+     * Output only. Whether the playback of this message can be interrupted by the end
+     * user's speech and the client can then starts the next Dialogflow
+     * request.
      * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The allowPlaybackInterruption. */ @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder - getSegmentsOrBuilder(int index) { - return segments_.get(index); + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; } private byte memoizedIsInitialized = -1; @@ -6510,8 +6790,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < segments_.size(); i++) { - output.writeMessage(1, segments_.get(i)); + if (!getAudioUriBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, audioUri_); + } + if (allowPlaybackInterruption_ != false) { + output.writeBool(2, allowPlaybackInterruption_); } unknownFields.writeTo(output); } @@ -6522,8 +6805,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); + if (!getAudioUriBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, audioUri_); + } + if (allowPlaybackInterruption_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowPlaybackInterruption_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6535,13 +6822,14 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)) { + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)) { return super.equals(obj); } - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) obj; + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) obj; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getAudioUri().equals(other.getAudioUri())) return false; + if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6553,68 +6841,68 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getSegmentsCount() > 0) { - hash = (37 * hash) + SEGMENTS_FIELD_NUMBER; - hash = (53 * hash) + getSegmentsList().hashCode(); - } + hash = (37 * hash) + AUDIO_URI_FIELD_NUMBER; + hash = (53 * hash) + getAudioUri().hashCode(); + hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio 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.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio 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.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio 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.cx.v3beta1.ResponseMessage.MixedAudio + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6622,12 +6910,12 @@ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio PARSER, input, extensionRegistry); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom( + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6645,7 +6933,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio prototype) { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -6664,39 +6952,33 @@ protected Builder newBuilderForType( * * *
-     * Represents an audio message that is composed of both segments
-     * synthesized from the Dialogflow agent prompts and ones hosted externally
-     * at the specified URIs.
-     * The external URIs are specified via
-     * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
-     * This message is generated by Dialogflow only and not supposed to be
-     * defined by the user.
+     * Specifies an audio clip to be played by the client as part of the response.
      * 
* - * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio} + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudioOrBuilder { + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudioOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class); + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class, + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class); } // Construct using - // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.newBuilder() + // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -6707,592 +6989,310 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSegmentsFieldBuilder(); - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); - if (segmentsBuilder_ == null) { - segments_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - segmentsBuilder_.clear(); - } + audioUri_ = ""; + + allowPlaybackInterruption_ = false; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto - .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; + .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio getDefaultInstanceForType() { - return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio build() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result = buildPartial(); + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio build() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } - return result; - } - - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio buildPartial() { - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result = - new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio(this); - int from_bitField0_ = bitField0_; - if (segmentsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - segments_ = java.util.Collections.unmodifiableList(segments_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.segments_ = segments_; - } else { - result.segments_ = segmentsBuilder_.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.cx.v3beta1.ResponseMessage.MixedAudio) { - return mergeFrom( - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other) { - if (other - == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - .getDefaultInstance()) return this; - if (segmentsBuilder_ == null) { - if (!other.segments_.isEmpty()) { - if (segments_.isEmpty()) { - segments_ = other.segments_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSegmentsIsMutable(); - segments_.addAll(other.segments_); - } - onChanged(); - } - } else { - if (!other.segments_.isEmpty()) { - if (segmentsBuilder_.isEmpty()) { - segmentsBuilder_.dispose(); - segmentsBuilder_ = null; - segments_ = other.segments_; - bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; - } else { - segmentsBuilder_.addAllMessages(other.segments_); - } - } - } - 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.cx.v3beta1.ResponseMessage.MixedAudio parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> - segments_ = java.util.Collections.emptyList(); - - private void ensureSegmentsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>( - segments_); - bitField0_ |= 0x00000001; - } + return result; } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> - segmentsBuilder_; + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result = + new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio(this); + result.audioUri_ = audioUri_; + result.allowPlaybackInterruption_ = allowPlaybackInterruption_; + onBuilt(); + return result; + } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public java.util.List< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> - getSegmentsList() { - if (segmentsBuilder_ == null) { - return java.util.Collections.unmodifiableList(segments_); - } else { - return segmentsBuilder_.getMessageList(); - } + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public int getSegmentsCount() { - if (segmentsBuilder_ == null) { - return segments_.size(); - } else { - return segmentsBuilder_.getCount(); - } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments( - int index) { - if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { - return segmentsBuilder_.getMessage(index); - } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder setSegments( - int index, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { - if (segmentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSegmentsIsMutable(); - segments_.set(index, value); - onChanged(); - } else { - segmentsBuilder_.setMessage(index, value); - } - return this; + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder setSegments( + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - builderForValue) { - if (segmentsBuilder_ == null) { - ensureSegmentsIsMutable(); - segments_.set(index, builderForValue.build()); - onChanged(); - } else { - segmentsBuilder_.setMessage(index, builderForValue.build()); - } - return this; + java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder addSegments( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { - if (segmentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSegmentsIsMutable(); - segments_.add(value); - onChanged(); - } else { - segmentsBuilder_.addMessage(value); - } - return this; + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder addSegments( - int index, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) { - if (segmentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSegmentsIsMutable(); - segments_.add(index, value); - onChanged(); + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) other); } else { - segmentsBuilder_.addMessage(index, value); + super.mergeFrom(other); + return this; } - return this; } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder addSegments( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - builderForValue) { - if (segmentsBuilder_ == null) { - ensureSegmentsIsMutable(); - segments_.add(builderForValue.build()); + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio + .getDefaultInstance()) return this; + if (!other.getAudioUri().isEmpty()) { + audioUri_ = other.audioUri_; onChanged(); - } else { - segmentsBuilder_.addMessage(builderForValue.build()); } + if (other.getAllowPlaybackInterruption() != false) { + setAllowPlaybackInterruption(other.getAllowPlaybackInterruption()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
- * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public Builder addSegments( - int index, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - builderForValue) { - if (segmentsBuilder_ == null) { - ensureSegmentsIsMutable(); - segments_.add(index, builderForValue.build()); - onChanged(); - } else { - segmentsBuilder_.addMessage(index, builderForValue.build()); + + @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.cx.v3beta1.ResponseMessage.PlayAudio parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } } return this; } + + private java.lang.Object audioUri_ = ""; /** * * *
-       * Segments this audio response is composed of.
+       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+       * value. It is specific to the client that reads it.
        * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The audioUri. */ - public Builder addAllSegments( - java.lang.Iterable< - ? extends - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment> - values) { - if (segmentsBuilder_ == null) { - ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); - onChanged(); + public java.lang.String getAudioUri() { + java.lang.Object ref = audioUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audioUri_ = s; + return s; } else { - segmentsBuilder_.addAllMessages(values); + return (java.lang.String) ref; } - return this; } /** * * *
-       * Segments this audio response is composed of.
+       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+       * value. It is specific to the client that reads it.
        * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for audioUri. */ - public Builder clearSegments() { - if (segmentsBuilder_ == null) { - segments_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); + public com.google.protobuf.ByteString getAudioUriBytes() { + java.lang.Object ref = audioUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + audioUri_ = b; + return b; } else { - segmentsBuilder_.clear(); + return (com.google.protobuf.ByteString) ref; } - return this; } /** * * *
-       * Segments this audio response is composed of.
+       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+       * value. It is specific to the client that reads it.
        * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The audioUri to set. + * @return This builder for chaining. */ - public Builder removeSegments(int index) { - if (segmentsBuilder_ == null) { - ensureSegmentsIsMutable(); - segments_.remove(index); - onChanged(); - } else { - segmentsBuilder_.remove(index); + public Builder setAudioUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } + + audioUri_ = value; + onChanged(); return this; } /** * * *
-       * Segments this audio response is composed of.
+       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+       * value. It is specific to the client that reads it.
        * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * - */ - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - getSegmentsBuilder(int index) { - return getSegmentsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-       * Segments this audio response is composed of.
-       * 
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; * - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * + * @return This builder for chaining. */ - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder - getSegmentsOrBuilder(int index) { - if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { - return segmentsBuilder_.getMessageOrBuilder(index); - } + public Builder clearAudioUri() { + + audioUri_ = getDefaultInstance().getAudioUri(); + onChanged(); + return this; } /** * * *
-       * Segments this audio response is composed of.
+       * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+       * value. It is specific to the client that reads it.
        * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; - * + * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for audioUri to set. + * @return This builder for chaining. */ - public java.util.List< - ? extends - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - .SegmentOrBuilder> - getSegmentsOrBuilderList() { - if (segmentsBuilder_ != null) { - return segmentsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(segments_); + public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } + checkByteStringIsUtf8(value); + + audioUri_ = value; + onChanged(); + return this; } + + private boolean allowPlaybackInterruption_; /** * * *
-       * Segments this audio response is composed of.
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
+       * request.
        * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The allowPlaybackInterruption. */ - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder( - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - .getDefaultInstance()); + @java.lang.Override + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; } /** * * *
-       * Segments this audio response is composed of.
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
+       * request.
        * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The allowPlaybackInterruption to set. + * @return This builder for chaining. */ - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder - addSegmentsBuilder(int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - .getDefaultInstance()); + public Builder setAllowPlaybackInterruption(boolean value) { + + allowPlaybackInterruption_ = value; + onChanged(); + return this; } /** * * *
-       * Segments this audio response is composed of.
+       * Output only. Whether the playback of this message can be interrupted by the end
+       * user's speech and the client can then starts the next Dialogflow
+       * request.
        * 
* - * - * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1; + * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ - public java.util.List< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder> - getSegmentsBuilderList() { - return getSegmentsFieldBuilder().getBuilderList(); - } + public Builder clearAllowPlaybackInterruption() { - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> - getSegmentsFieldBuilder() { - if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder, - com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio - .SegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - segments_ = null; - } - return segmentsBuilder_; + allowPlaybackInterruption_ = false; + onChanged(); + return this; } @java.lang.Override @@ -7307,44 +7307,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) } - // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) - private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) + private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio(); + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio(); } - public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { @java.lang.Override - public MixedAudio parsePartialFrom( + public PlayAudio parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MixedAudio(input, extensionRegistry); + return new PlayAudio(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio + public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java index be28245f2..c7d6ed8c8 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java @@ -47,14 +47,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_OutputAudioText_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_OutputAudioText_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -63,6 +55,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -102,14 +102,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027.google.protobuf.Struct\032e\n\017OutputAudioT" + "ext\022\016\n\004text\030\001 \001(\tH\000\022\016\n\004ssml\030\002 \001(\tH\000\022(\n\033a" + "llow_playback_interruption\030\003 \001(\010B\003\340A\003B\010\n" - + "\006source\032\020\n\016EndInteraction\032M\n\tPlayAudio\022\026" - + "\n\taudio_uri\030\001 \001(\tB\003\340A\002\022(\n\033allow_playback" - + "_interruption\030\002 \001(\010B\003\340A\003\032\306\001\n\nMixedAudio\022" - + "X\n\010segments\030\001 \003(\0132F.google.cloud.dialogf" - + "low.cx.v3beta1.ResponseMessage.MixedAudi" - + "o.Segment\032^\n\007Segment\022\017\n\005audio\030\001 \001(\014H\000\022\r\n" - + "\003uri\030\002 \001(\tH\000\022(\n\033allow_playback_interrupt" - + "ion\030\003 \001(\010B\003\340A\003B\t\n\007contentB\t\n\007messageB\263\001\n" + + "\006source\032\306\001\n\nMixedAudio\022X\n\010segments\030\001 \003(\013" + + "2F.google.cloud.dialogflow.cx.v3beta1.Re" + + "sponseMessage.MixedAudio.Segment\032^\n\007Segm" + + "ent\022\017\n\005audio\030\001 \001(\014H\000\022\r\n\003uri\030\002 \001(\tH\000\022(\n\033a" + + "llow_playback_interruption\030\003 \001(\010B\003\340A\003B\t\n" + + "\007content\032\020\n\016EndInteraction\032M\n\tPlayAudio\022" + + "\026\n\taudio_uri\030\001 \001(\tB\003\340A\002\022(\n\033allow_playbac" + + "k_interruption\030\002 \001(\010B\003\340A\003B\t\n\007messageB\263\001\n" + "&com.google.cloud.dialogflow.cx.v3beta1B" + "\024ResponseMessageProtoP\001ZDgoogle.golang.o" + "rg/genproto/googleapis/cloud/dialogflow/" @@ -180,28 +180,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Text", "Ssml", "AllowPlaybackInterruption", "Source", }); - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor = - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor = - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor, - new java.lang.String[] { - "AudioUri", "AllowPlaybackInterruption", - }); internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor = internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor .getNestedTypes() - .get(6); + .get(4); internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor, @@ -218,6 +200,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Audio", "Uri", "AllowPlaybackInterruption", "Content", }); + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor + .getNestedTypes() + .get(5); + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor + .getNestedTypes() + .get(6); + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor, + new java.lang.String[] { + "AudioUri", "AllowPlaybackInterruption", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java index 4638f3337..653b7ab28 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java @@ -75,6 +75,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_DtmfInput_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_DtmfInput_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -169,115 +173,118 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ype\022(\n\007payload\030\004 \001(\0132\027.google.protobuf.S" + "truct\022+\n\nparameters\030\005 \001(\0132\027.google.proto" + "buf.Struct\022$\n\034analyze_query_text_sentime" - + "nt\030\010 \001(\010\"\265\002\n\nQueryInput\022=\n\004text\030\002 \001(\0132-." + + "nt\030\010 \001(\010\"\364\002\n\nQueryInput\022=\n\004text\030\002 \001(\0132-." + "google.cloud.dialogflow.cx.v3beta1.TextI" + "nputH\000\022A\n\006intent\030\003 \001(\0132/.google.cloud.di" + "alogflow.cx.v3beta1.IntentInputH\000\022?\n\005aud" + "io\030\005 \001(\0132..google.cloud.dialogflow.cx.v3" + "beta1.AudioInputH\000\022?\n\005event\030\006 \001(\0132..goog" + "le.cloud.dialogflow.cx.v3beta1.EventInpu" - + "tH\000\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A\002B\007\n\005input" - + "\"\331\005\n\013QueryResult\022\016\n\004text\030\001 \001(\tH\000\022\030\n\016trig" - + "ger_intent\030\013 \001(\tH\000\022\024\n\ntranscript\030\014 \001(\tH\000" - + "\022\027\n\rtrigger_event\030\016 \001(\tH\000\022\025\n\rlanguage_co" - + "de\030\002 \001(\t\022+\n\nparameters\030\003 \001(\0132\027.google.pr" - + "otobuf.Struct\022N\n\021response_messages\030\004 \003(\013" - + "23.google.cloud.dialogflow.cx.v3beta1.Re" - + "sponseMessage\022,\n\020webhook_statuses\030\r \003(\0132" - + "\022.google.rpc.Status\0221\n\020webhook_payloads\030" - + "\006 \003(\0132\027.google.protobuf.Struct\022>\n\014curren" - + "t_page\030\007 \001(\0132(.google.cloud.dialogflow.c" - + "x.v3beta1.Page\022>\n\006intent\030\010 \001(\0132*.google." - + "cloud.dialogflow.cx.v3beta1.IntentB\002\030\001\022\'" - + "\n\033intent_detection_confidence\030\t \001(\002B\002\030\001\022" - + "8\n\005match\030\017 \001(\0132).google.cloud.dialogflow" - + ".cx.v3beta1.Match\0220\n\017diagnostic_info\030\n \001" - + "(\0132\027.google.protobuf.Struct\022^\n\031sentiment" - + "_analysis_result\030\021 \001(\0132;.google.cloud.di" - + "alogflow.cx.v3beta1.SentimentAnalysisRes" - + "ultB\007\n\005query\"\036\n\tTextInput\022\021\n\004text\030\001 \001(\tB" - + "\003\340A\002\"G\n\013IntentInput\0228\n\006intent\030\001 \001(\tB(\340A\002" - + "\372A\"\n dialogflow.googleapis.com/Intent\"f\n" - + "\nAudioInput\022I\n\006config\030\001 \001(\01324.google.clo" - + "ud.dialogflow.cx.v3beta1.InputAudioConfi" - + "gB\003\340A\002\022\r\n\005audio\030\002 \001(\014\"\033\n\nEventInput\022\r\n\005e" - + "vent\030\001 \001(\t\"\340\002\n\005Match\022:\n\006intent\030\001 \001(\0132*.g" - + "oogle.cloud.dialogflow.cx.v3beta1.Intent" - + "\022+\n\nparameters\030\002 \001(\0132\027.google.protobuf.S" - + "truct\022\026\n\016resolved_input\030\003 \001(\t\022G\n\nmatch_t" - + "ype\030\004 \001(\01623.google.cloud.dialogflow.cx.v" - + "3beta1.Match.MatchType\022\022\n\nconfidence\030\005 \001" - + "(\002\"y\n\tMatchType\022\032\n\026MATCH_TYPE_UNSPECIFIE" - + "D\020\000\022\n\n\006INTENT\020\001\022\021\n\rDIRECT_INTENT\020\002\022\025\n\021PA" - + "RAMETER_FILLING\020\003\022\014\n\010NO_MATCH\020\004\022\014\n\010NO_IN" - + "PUT\020\005\"\345\001\n\022MatchIntentRequest\022:\n\007session\030" - + "\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.com" - + "/Session\022I\n\014query_params\030\002 \001(\01323.google." - + "cloud.dialogflow.cx.v3beta1.QueryParamet" - + "ers\022H\n\013query_input\030\003 \001(\0132..google.cloud." - + "dialogflow.cx.v3beta1.QueryInputB\003\340A\002\"\363\001" - + "\n\023MatchIntentResponse\022\016\n\004text\030\001 \001(\tH\000\022\030\n" - + "\016trigger_intent\030\002 \001(\tH\000\022\024\n\ntranscript\030\003 " - + "\001(\tH\000\022\027\n\rtrigger_event\030\006 \001(\tH\000\022:\n\007matche" - + "s\030\004 \003(\0132).google.cloud.dialogflow.cx.v3b" - + "eta1.Match\022>\n\014current_page\030\005 \001(\0132(.googl" - + "e.cloud.dialogflow.cx.v3beta1.PageB\007\n\005qu" - + "ery\"\372\001\n\024FulfillIntentRequest\022T\n\024match_in" - + "tent_request\030\001 \001(\01326.google.cloud.dialog" - + "flow.cx.v3beta1.MatchIntentRequest\0228\n\005ma" - + "tch\030\002 \001(\0132).google.cloud.dialogflow.cx.v" - + "3beta1.Match\022R\n\023output_audio_config\030\003 \001(" - + "\01325.google.cloud.dialogflow.cx.v3beta1.O" - + "utputAudioConfig\"\335\001\n\025FulfillIntentRespon" - + "se\022\023\n\013response_id\030\001 \001(\t\022E\n\014query_result\030" - + "\002 \001(\0132/.google.cloud.dialogflow.cx.v3bet" - + "a1.QueryResult\022\024\n\014output_audio\030\003 \001(\014\022R\n\023" - + "output_audio_config\030\004 \001(\01325.google.cloud" - + ".dialogflow.cx.v3beta1.OutputAudioConfig" - + "\";\n\027SentimentAnalysisResult\022\r\n\005score\030\001 \001" - + "(\002\022\021\n\tmagnitude\030\002 \001(\0022\212\n\n\010Sessions\022\272\002\n\014D" - + "etectIntent\0227.google.cloud.dialogflow.cx" - + ".v3beta1.DetectIntentRequest\0328.google.cl" - + "oud.dialogflow.cx.v3beta1.DetectIntentRe" - + "sponse\"\266\001\202\323\344\223\002\257\001\"J/v3beta1/{session=proj" - + "ects/*/locations/*/agents/*/sessions/*}:" - + "detectIntent:\001*Z^\"Y/v3beta1/{session=pro" - + "jects/*/locations/*/agents/*/environment" - + "s/*/sessions/*}:detectIntent:\001*\022\242\001\n\025Stre" - + "amingDetectIntent\022@.google.cloud.dialogf" - + "low.cx.v3beta1.StreamingDetectIntentRequ" - + "est\032A.google.cloud.dialogflow.cx.v3beta1" - + ".StreamingDetectIntentResponse\"\000(\0010\001\022\265\002\n" - + "\013MatchIntent\0226.google.cloud.dialogflow.c" - + "x.v3beta1.MatchIntentRequest\0327.google.cl" - + "oud.dialogflow.cx.v3beta1.MatchIntentRes" - + "ponse\"\264\001\202\323\344\223\002\255\001\"I/v3beta1/{session=proje" - + "cts/*/locations/*/agents/*/sessions/*}:m" - + "atchIntent:\001*Z]\"X/v3beta1/{session=proje" - + "cts/*/locations/*/agents/*/environments/" - + "*/sessions/*}:matchIntent:\001*\022\351\002\n\rFulfill" - + "Intent\0228.google.cloud.dialogflow.cx.v3be" - + "ta1.FulfillIntentRequest\0329.google.cloud." - + "dialogflow.cx.v3beta1.FulfillIntentRespo" - + "nse\"\342\001\202\323\344\223\002\333\001\"`/v3beta1/{match_intent_re" - + "quest.session=projects/*/locations/*/age" - + "nts/*/sessions/*}:fulfillIntent:\001*Zt\"o/v" - + "3beta1/{match_intent_request.session=pro" - + "jects/*/locations/*/agents/*/environment" - + "s/*/sessions/*}:fulfillIntent:\001*\032x\312A\031dia" - + "logflow.googleapis.com\322AYhttps://www.goo" - + "gleapis.com/auth/cloud-platform,https://" - + "www.googleapis.com/auth/dialogflowB\203\003\n&c" - + "om.google.cloud.dialogflow.cx.v3beta1B\014S" - + "essionProtoP\001ZDgoogle.golang.org/genprot" - + "o/googleapis/cloud/dialogflow/cx/v3beta1" - + ";cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx" - + ".V3Beta1\352A\324\001\n!dialogflow.googleapis.com/" - + "Session\022Iprojects/{project}/locations/{l" - + "ocation}/agents/{agent}/sessions/{sessio" - + "n}\022dprojects/{project}/locations/{locati" - + "on}/agents/{agent}/environments/{environ" - + "ment}/sessions/{session}b\006proto3" + + "tH\000\022=\n\004dtmf\030\007 \001(\0132-.google.cloud.dialogf" + + "low.cx.v3beta1.DtmfInputH\000\022\032\n\rlanguage_c" + + "ode\030\004 \001(\tB\003\340A\002B\007\n\005input\"\331\005\n\013QueryResult\022" + + "\016\n\004text\030\001 \001(\tH\000\022\030\n\016trigger_intent\030\013 \001(\tH" + + "\000\022\024\n\ntranscript\030\014 \001(\tH\000\022\027\n\rtrigger_event" + + "\030\016 \001(\tH\000\022\025\n\rlanguage_code\030\002 \001(\t\022+\n\nparam" + + "eters\030\003 \001(\0132\027.google.protobuf.Struct\022N\n\021" + + "response_messages\030\004 \003(\01323.google.cloud.d" + + "ialogflow.cx.v3beta1.ResponseMessage\022,\n\020" + + "webhook_statuses\030\r \003(\0132\022.google.rpc.Stat" + + "us\0221\n\020webhook_payloads\030\006 \003(\0132\027.google.pr" + + "otobuf.Struct\022>\n\014current_page\030\007 \001(\0132(.go" + + "ogle.cloud.dialogflow.cx.v3beta1.Page\022>\n" + + "\006intent\030\010 \001(\0132*.google.cloud.dialogflow." + + "cx.v3beta1.IntentB\002\030\001\022\'\n\033intent_detectio" + + "n_confidence\030\t \001(\002B\002\030\001\0228\n\005match\030\017 \001(\0132)." + + "google.cloud.dialogflow.cx.v3beta1.Match" + + "\0220\n\017diagnostic_info\030\n \001(\0132\027.google.proto" + + "buf.Struct\022^\n\031sentiment_analysis_result\030" + + "\021 \001(\0132;.google.cloud.dialogflow.cx.v3bet" + + "a1.SentimentAnalysisResultB\007\n\005query\"\036\n\tT" + + "extInput\022\021\n\004text\030\001 \001(\tB\003\340A\002\"G\n\013IntentInp" + + "ut\0228\n\006intent\030\001 \001(\tB(\340A\002\372A\"\n dialogflow.g" + + "oogleapis.com/Intent\"f\n\nAudioInput\022I\n\006co" + + "nfig\030\001 \001(\01324.google.cloud.dialogflow.cx." + + "v3beta1.InputAudioConfigB\003\340A\002\022\r\n\005audio\030\002" + + " \001(\014\"\033\n\nEventInput\022\r\n\005event\030\001 \001(\t\"1\n\tDtm" + + "fInput\022\016\n\006digits\030\001 \001(\t\022\024\n\014finish_digit\030\002" + + " \001(\t\"\340\002\n\005Match\022:\n\006intent\030\001 \001(\0132*.google." + + "cloud.dialogflow.cx.v3beta1.Intent\022+\n\npa" + + "rameters\030\002 \001(\0132\027.google.protobuf.Struct\022" + + "\026\n\016resolved_input\030\003 \001(\t\022G\n\nmatch_type\030\004 " + + "\001(\01623.google.cloud.dialogflow.cx.v3beta1" + + ".Match.MatchType\022\022\n\nconfidence\030\005 \001(\002\"y\n\t" + + "MatchType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\n\n" + + "\006INTENT\020\001\022\021\n\rDIRECT_INTENT\020\002\022\025\n\021PARAMETE" + + "R_FILLING\020\003\022\014\n\010NO_MATCH\020\004\022\014\n\010NO_INPUT\020\005\"" + + "\345\001\n\022MatchIntentRequest\022:\n\007session\030\001 \001(\tB" + + ")\340A\002\372A#\n!dialogflow.googleapis.com/Sessi" + + "on\022I\n\014query_params\030\002 \001(\01323.google.cloud." + + "dialogflow.cx.v3beta1.QueryParameters\022H\n" + + "\013query_input\030\003 \001(\0132..google.cloud.dialog" + + "flow.cx.v3beta1.QueryInputB\003\340A\002\"\363\001\n\023Matc" + + "hIntentResponse\022\016\n\004text\030\001 \001(\tH\000\022\030\n\016trigg" + + "er_intent\030\002 \001(\tH\000\022\024\n\ntranscript\030\003 \001(\tH\000\022" + + "\027\n\rtrigger_event\030\006 \001(\tH\000\022:\n\007matches\030\004 \003(" + + "\0132).google.cloud.dialogflow.cx.v3beta1.M" + + "atch\022>\n\014current_page\030\005 \001(\0132(.google.clou" + + "d.dialogflow.cx.v3beta1.PageB\007\n\005query\"\372\001" + + "\n\024FulfillIntentRequest\022T\n\024match_intent_r" + + "equest\030\001 \001(\01326.google.cloud.dialogflow.c" + + "x.v3beta1.MatchIntentRequest\0228\n\005match\030\002 " + + "\001(\0132).google.cloud.dialogflow.cx.v3beta1" + + ".Match\022R\n\023output_audio_config\030\003 \001(\01325.go" + + "ogle.cloud.dialogflow.cx.v3beta1.OutputA" + + "udioConfig\"\335\001\n\025FulfillIntentResponse\022\023\n\013" + + "response_id\030\001 \001(\t\022E\n\014query_result\030\002 \001(\0132" + + "/.google.cloud.dialogflow.cx.v3beta1.Que" + + "ryResult\022\024\n\014output_audio\030\003 \001(\014\022R\n\023output" + + "_audio_config\030\004 \001(\01325.google.cloud.dialo" + + "gflow.cx.v3beta1.OutputAudioConfig\";\n\027Se" + + "ntimentAnalysisResult\022\r\n\005score\030\001 \001(\002\022\021\n\t" + + "magnitude\030\002 \001(\0022\212\n\n\010Sessions\022\272\002\n\014DetectI" + + "ntent\0227.google.cloud.dialogflow.cx.v3bet" + + "a1.DetectIntentRequest\0328.google.cloud.di" + + "alogflow.cx.v3beta1.DetectIntentResponse" + + "\"\266\001\202\323\344\223\002\257\001\"J/v3beta1/{session=projects/*" + + "/locations/*/agents/*/sessions/*}:detect" + + "Intent:\001*Z^\"Y/v3beta1/{session=projects/" + + "*/locations/*/agents/*/environments/*/se" + + "ssions/*}:detectIntent:\001*\022\242\001\n\025StreamingD" + + "etectIntent\022@.google.cloud.dialogflow.cx" + + ".v3beta1.StreamingDetectIntentRequest\032A." + + "google.cloud.dialogflow.cx.v3beta1.Strea" + + "mingDetectIntentResponse\"\000(\0010\001\022\265\002\n\013Match" + + "Intent\0226.google.cloud.dialogflow.cx.v3be" + + "ta1.MatchIntentRequest\0327.google.cloud.di" + + "alogflow.cx.v3beta1.MatchIntentResponse\"" + + "\264\001\202\323\344\223\002\255\001\"I/v3beta1/{session=projects/*/" + + "locations/*/agents/*/sessions/*}:matchIn" + + "tent:\001*Z]\"X/v3beta1/{session=projects/*/" + + "locations/*/agents/*/environments/*/sess" + + "ions/*}:matchIntent:\001*\022\351\002\n\rFulfillIntent" + + "\0228.google.cloud.dialogflow.cx.v3beta1.Fu" + + "lfillIntentRequest\0329.google.cloud.dialog" + + "flow.cx.v3beta1.FulfillIntentResponse\"\342\001" + + "\202\323\344\223\002\333\001\"`/v3beta1/{match_intent_request." + + "session=projects/*/locations/*/agents/*/" + + "sessions/*}:fulfillIntent:\001*Zt\"o/v3beta1" + + "/{match_intent_request.session=projects/" + + "*/locations/*/agents/*/environments/*/se" + + "ssions/*}:fulfillIntent:\001*\032x\312A\031dialogflo" + + "w.googleapis.com\322AYhttps://www.googleapi" + + "s.com/auth/cloud-platform,https://www.go" + + "ogleapis.com/auth/dialogflowB\203\003\n&com.goo" + + "gle.cloud.dialogflow.cx.v3beta1B\014Session" + + "ProtoP\001ZDgoogle.golang.org/genproto/goog" + + "leapis/cloud/dialogflow/cx/v3beta1;cx\370\001\001" + + "\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Bet" + + "a1\352A\324\001\n!dialogflow.googleapis.com/Sessio" + + "n\022Iprojects/{project}/locations/{locatio" + + "n}/agents/{agent}/sessions/{session}\022dpr" + + "ojects/{project}/locations/{location}/ag" + + "ents/{agent}/environments/{environment}/" + + "sessions/{session}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -363,7 +370,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_QueryInput_descriptor, new java.lang.String[] { - "Text", "Intent", "Audio", "Event", "LanguageCode", "Input", + "Text", "Intent", "Audio", "Event", "Dtmf", "LanguageCode", "Input", }); internal_static_google_cloud_dialogflow_cx_v3beta1_QueryResult_descriptor = getDescriptor().getMessageTypes().get(7); @@ -420,8 +427,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Event", }); - internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_DtmfInput_descriptor = getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dialogflow_cx_v3beta1_DtmfInput_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_DtmfInput_descriptor, + new java.lang.String[] { + "Digits", "FinishDigit", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor = + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_dialogflow_cx_v3beta1_Match_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor, @@ -429,7 +444,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Intent", "Parameters", "ResolvedInput", "MatchType", "Confidence", }); internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentRequest_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentRequest_descriptor, @@ -437,7 +452,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Session", "QueryParams", "QueryInput", }); internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentResponse_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentResponse_descriptor, @@ -451,7 +466,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Query", }); internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentRequest_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentRequest_descriptor, @@ -459,7 +474,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MatchIntentRequest", "Match", "OutputAudioConfig", }); internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_descriptor, @@ -467,7 +482,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResponseId", "QueryResult", "OutputAudio", "OutputAudioConfig", }); internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(18); internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor, diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto index c6ffbca71..473475d6b 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto @@ -316,12 +316,3 @@ message RestoreAgentRequest { bytes agent_content = 3; } } - -// The response message for [Agents.ImportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ImportAgent]. -message ImportAgentResponse { - // The unique identifier of the new agent. - // Format: `projects//locations//agents/`. - string agent = 1 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Agent" - }]; -} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto index b60577205..53b74fae2 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto @@ -195,6 +195,24 @@ message Intent { // requests that are mistakenly matched, since training phrases assigned to // fallback intents act as negative examples that triggers no-match event. bool is_fallback = 6; + + // Optional. The key/value metadata to label an intent. Labels can contain + // lowercase letters, digits and the symbols '-' and '_'. International + // characters are allowed, including letters from unicase alphabets. Keys must + // start with a letter. Keys and values can be no longer than 63 characters + // and no more than 128 bytes. + // + // Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed + // Dialogflow defined labels include: + // * sys-head + // * sys-contextual + // The above labels do not require value. "sys-head" means the intent is a + // head intent. "sys-contextual" means the intent is a contextual intent. + map labels = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Human readable description for better understanding an intent like its + // scope, content, result etc. Maximum character limit: 140 characters. + string description = 8 [(google.api.field_behavior) = OPTIONAL]; } // The request message for [Intents.ListIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents]. diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto index 1627520eb..7a9f96500 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto @@ -113,25 +113,6 @@ message ResponseMessage { bool allow_playback_interruption = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Indicates that interaction with the Dialogflow agent has ended. - // This message is generated by Dialogflow only and not supposed to be - // defined by the user. - message EndInteraction { - - } - - // Specifies an audio clip to be played by the client as part of the response. - message PlayAudio { - // Required. URI of the audio clip. Dialogflow does not impose any validation on this - // value. It is specific to the client that reads it. - string audio_uri = 1 [(google.api.field_behavior) = REQUIRED]; - - // Output only. Whether the playback of this message can be interrupted by the end - // user's speech and the client can then starts the next Dialogflow - // request. - bool allow_playback_interruption = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - // Represents an audio message that is composed of both segments // synthesized from the Dialogflow agent prompts and ones hosted externally // at the specified URIs. @@ -163,6 +144,25 @@ message ResponseMessage { repeated Segment segments = 1; } + // Indicates that interaction with the Dialogflow agent has ended. + // This message is generated by Dialogflow only and not supposed to be + // defined by the user. + message EndInteraction { + + } + + // Specifies an audio clip to be played by the client as part of the response. + message PlayAudio { + // Required. URI of the audio clip. Dialogflow does not impose any validation on this + // value. It is specific to the client that reads it. + string audio_uri = 1 [(google.api.field_behavior) = REQUIRED]; + + // Output only. Whether the playback of this message can be interrupted by the end + // user's speech and the client can then starts the next Dialogflow + // request. + bool allow_playback_interruption = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Required. The rich response message. oneof message { // Returns a text response. diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto index 27fdeb15a..397c20787 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto @@ -400,6 +400,9 @@ message QueryInput { // The event to be triggered. EventInput event = 6; + + // The DTMF event to be handled. + DtmfInput dtmf = 7; } // Required. The language of the input. See [Language @@ -543,6 +546,15 @@ message EventInput { string event = 1; } +// Represents the input for dtmf event. +message DtmfInput { + // The dtmf digits. + string digits = 1; + + // The finish digit (if any). + string finish_digit = 2; +} + // Represents one match result of [MatchIntent][]. message Match { // Type of a Match. diff --git a/synth.metadata b/synth.metadata index 4c3b4383b..3064b28c1 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow-cx.git", - "sha": "d411e5cabe149965b64785658d1d27b526e37a58" + "sha": "f4726fa24215aaa0d62d2ab4599f7a196634ccdd" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "6ae1443d1eb0c17bcdbeaa1890960cbcd3b70010", - "internalRef": "336725904" + "sha": "52eaab535740117d17b81a43749cf2a16110c301", + "internalRef": "339485389" } }, { @@ -266,6 +266,8 @@ "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequestOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java", + "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DtmfInput.java", + "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DtmfInputOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityType.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypeName.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypeOrBuilder.java", @@ -316,8 +318,6 @@ "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetVersionRequestOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequest.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequestOrBuilder.java", - "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java", - "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfig.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfigOrBuilder.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java", From 1b34bddfd9b95e969071faff2d52fe62a300e386 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 30 Oct 2020 16:36:35 -0700 Subject: [PATCH 19/21] chore(java): enable generated-files-bot (#63) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/2dd0fca0-df43-46b1-aa25-4c588cd16a2a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b19b401571e77192f8dd38eab5fb2300a0de9324 --- .github/generated-files-bot.yml | 7 +++++++ synth.metadata | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .github/generated-files-bot.yml diff --git a/.github/generated-files-bot.yml b/.github/generated-files-bot.yml new file mode 100644 index 000000000..20f3acc28 --- /dev/null +++ b/.github/generated-files-bot.yml @@ -0,0 +1,7 @@ +externalManifests: +- type: json + file: 'synth.metadata' + jsonpath: '$.generatedFiles[*]' +- type: json + file: '.github/readme/synth.metadata/synth.metadata' + jsonpath: '$.generatedFiles[*]' diff --git a/synth.metadata b/synth.metadata index 3064b28c1..c60b49a20 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow-cx.git", - "sha": "f4726fa24215aaa0d62d2ab4599f7a196634ccdd" + "sha": "3220b26bba46fd83486df2bfd1603f0c770cdae6" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f68649c5f26bcff6817c6d21e90dac0fc71fef8e" + "sha": "b19b401571e77192f8dd38eab5fb2300a0de9324" } } ], @@ -40,6 +40,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/release-please.yml", ".github/snippet-bot.yml", From e45660d4acf0147979c1058cfc25a91bc9725653 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 31 Oct 2020 17:08:11 +0100 Subject: [PATCH 20/21] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 (#64) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.13.0` -> `0.14.1` | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v0.14.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0141-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0140v0141-2020-10-31) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.14.0...v0.14.1) ### [`v0.14.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0140-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0130v0140-2020-10-31) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.13.0...v0.14.0) ##### Dependencies - update dependency io.grpc:grpc-bom to v1.33.1 ([#​192](https://www.github.com/googleapis/java-shared-dependencies/issues/192)) ([b29384d](https://www.github.com/googleapis/java-shared-dependencies/commit/b29384dc40c812f1848f00695228d5437556f029)) - update dependency org.threeten:threetenbp to v1.5.0 ([#​196](https://www.github.com/googleapis/java-shared-dependencies/issues/196)) ([825a6fa](https://www.github.com/googleapis/java-shared-dependencies/commit/825a6fa375d12f1caa0a515b784ffde182bac98d)) - update iam.version to v1.0.2 ([#​194](https://www.github.com/googleapis/java-shared-dependencies/issues/194)) ([5c57239](https://www.github.com/googleapis/java-shared-dependencies/commit/5c572399a1b453f4dc5f6ef8d8850a35be2aef75))
--- ### 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#github/googleapis/java-dialogflow-cx). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 69d243a3f..9eb3a225c 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.13.0 + 0.14.1 pom import From bb40ff8871f3f93272a692c962f9691ed10ec07a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2020 22:28:05 +0000 Subject: [PATCH 21/21] chore: release 0.2.0 (#47) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :robot: I have created a release \*beep\* \*boop\* --- ## [0.2.0](https://www.github.com/googleapis/java-dialogflow-cx/compare/v0.1.2...v0.2.0) (2020-10-31) ### ⚠ BREAKING CHANGES * removed enable_spell_correction from `NluSettings` ### Features * added labels field and description field into Intent and Dtmf input to QueryInput ([#62](https://www.github.com/googleapis/java-dialogflow-cx/issues/62)) ([3220b26](https://www.github.com/googleapis/java-dialogflow-cx/commit/3220b26bba46fd83486df2bfd1603f0c770cdae6)) * Remove flow level spell correction setting. feat: Change LRO response for ImportAgent from Empty to ImportAgentResponse, to include the created agent name. feat: Add parameter flag into page and intent parameters. feat: Add `allow_playback_interruption` to OutputAudioText to make it have feature parity with Text message type. feat: Enable sentiment analysis feature. feat: Enable EventInput. feat: Enable `trigger_event` in MatchIntentResponse. docs: Add documentation for sessions. ([#42](https://www.github.com/googleapis/java-dialogflow-cx/issues/42)) ([77f6650](https://www.github.com/googleapis/java-dialogflow-cx/commit/77f66504b74069e65eca3e2afddd495565c064af)) ### Documentation * clarified wording for restore APIs and query input ([#48](https://www.github.com/googleapis/java-dialogflow-cx/issues/48)) ([aac888c](https://www.github.com/googleapis/java-dialogflow-cx/commit/aac888cc0f977dad6b4dfb18111736020669a44d)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.12.1 ([#54](https://www.github.com/googleapis/java-dialogflow-cx/issues/54)) ([dbb09fc](https://www.github.com/googleapis/java-dialogflow-cx/commit/dbb09fc10f93be932f8408afb294c0fd9fa1579e)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 ([#57](https://www.github.com/googleapis/java-dialogflow-cx/issues/57)) ([bd56a97](https://www.github.com/googleapis/java-dialogflow-cx/commit/bd56a97904f6d7f9f64684060b808a74306f4d2f)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 ([#64](https://www.github.com/googleapis/java-dialogflow-cx/issues/64)) ([e45660d](https://www.github.com/googleapis/java-dialogflow-cx/commit/e45660d4acf0147979c1058cfc25a91bc9725653)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- CHANGELOG.md | 24 +++++++++++++++++++ google-cloud-dialogflow-cx-bom/pom.xml | 8 +++---- google-cloud-dialogflow-cx/pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 8 +++---- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 ++--- 8 files changed, 42 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 389632496..6a7f735d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## [0.2.0](https://www.github.com/googleapis/java-dialogflow-cx/compare/v0.1.2...v0.2.0) (2020-10-31) + + +### ⚠ BREAKING CHANGES + +* removed enable_spell_correction from `NluSettings` + +### Features + +* added labels field and description field into Intent and Dtmf input to QueryInput ([#62](https://www.github.com/googleapis/java-dialogflow-cx/issues/62)) ([3220b26](https://www.github.com/googleapis/java-dialogflow-cx/commit/3220b26bba46fd83486df2bfd1603f0c770cdae6)) +* Remove flow level spell correction setting. feat: Change LRO response for ImportAgent from Empty to ImportAgentResponse, to include the created agent name. feat: Add parameter flag into page and intent parameters. feat: Add `allow_playback_interruption` to OutputAudioText to make it have feature parity with Text message type. feat: Enable sentiment analysis feature. feat: Enable EventInput. feat: Enable `trigger_event` in MatchIntentResponse. docs: Add documentation for sessions. ([#42](https://www.github.com/googleapis/java-dialogflow-cx/issues/42)) ([77f6650](https://www.github.com/googleapis/java-dialogflow-cx/commit/77f66504b74069e65eca3e2afddd495565c064af)) + + +### Documentation + +* clarified wording for restore APIs and query input ([#48](https://www.github.com/googleapis/java-dialogflow-cx/issues/48)) ([aac888c](https://www.github.com/googleapis/java-dialogflow-cx/commit/aac888cc0f977dad6b4dfb18111736020669a44d)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.12.1 ([#54](https://www.github.com/googleapis/java-dialogflow-cx/issues/54)) ([dbb09fc](https://www.github.com/googleapis/java-dialogflow-cx/commit/dbb09fc10f93be932f8408afb294c0fd9fa1579e)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 ([#57](https://www.github.com/googleapis/java-dialogflow-cx/issues/57)) ([bd56a97](https://www.github.com/googleapis/java-dialogflow-cx/commit/bd56a97904f6d7f9f64684060b808a74306f4d2f)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 ([#64](https://www.github.com/googleapis/java-dialogflow-cx/issues/64)) ([e45660d](https://www.github.com/googleapis/java-dialogflow-cx/commit/e45660d4acf0147979c1058cfc25a91bc9725653)) + ### [0.1.2](https://www.github.com/googleapis/java-dialogflow-cx/compare/v0.1.1...v0.1.2) (2020-10-08) diff --git a/google-cloud-dialogflow-cx-bom/pom.xml b/google-cloud-dialogflow-cx-bom/pom.xml index 1ae892d31..aa414ef66 100644 --- a/google-cloud-dialogflow-cx-bom/pom.xml +++ b/google-cloud-dialogflow-cx-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-dialogflow-cx-bom - 0.1.3-SNAPSHOT + 0.2.0 pom com.google.cloud @@ -68,17 +68,17 @@ com.google.cloud google-cloud-dialogflow-cx - 0.1.3-SNAPSHOT + 0.2.0 com.google.api.grpc proto-google-cloud-dialogflow-cx-v3beta1 - 0.1.3-SNAPSHOT + 0.2.0 com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3beta1 - 0.1.3-SNAPSHOT + 0.2.0 diff --git a/google-cloud-dialogflow-cx/pom.xml b/google-cloud-dialogflow-cx/pom.xml index c33106cd5..fdce1ee47 100644 --- a/google-cloud-dialogflow-cx/pom.xml +++ b/google-cloud-dialogflow-cx/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-dialogflow-cx - 0.1.3-SNAPSHOT + 0.2.0 jar Google Dialogflow CX https://github.com/googleapis/java-dialogflow-cx @@ -11,7 +11,7 @@ com.google.cloud google-cloud-dialogflow-cx-parent - 0.1.3-SNAPSHOT + 0.2.0 google-cloud-dialogflow-cx diff --git a/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml b/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml index 507c5dc28..c6e1c3317 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3beta1 - 0.1.3-SNAPSHOT + 0.2.0 grpc-google-cloud-dialogflow-cx-v3beta1 GRPC library for grpc-google-cloud-dialogflow-cx-v3beta1 com.google.cloud google-cloud-dialogflow-cx-parent - 0.1.3-SNAPSHOT + 0.2.0 diff --git a/pom.xml b/pom.xml index 9eb3a225c..d29620d75 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dialogflow-cx-parent pom - 0.1.3-SNAPSHOT + 0.2.0 Google Dialogflow CX Parent https://github.com/googleapis/java-dialogflow-cx @@ -70,17 +70,17 @@ com.google.cloud google-cloud-dialogflow-cx - 0.1.3-SNAPSHOT + 0.2.0 com.google.api.grpc proto-google-cloud-dialogflow-cx-v3beta1 - 0.1.3-SNAPSHOT + 0.2.0 com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3beta1 - 0.1.3-SNAPSHOT + 0.2.0 diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml b/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml index a0a5cc64f..57c1049fe 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml +++ b/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dialogflow-cx-v3beta1 - 0.1.3-SNAPSHOT + 0.2.0 proto-google-cloud-dialogflow-cx-v3beta1 PROTO library for proto-google-cloud-dialogflow-cx-v3beta1 com.google.cloud google-cloud-dialogflow-cx-parent - 0.1.3-SNAPSHOT + 0.2.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 944e74b36..d4d516ef1 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-dialogflow-cx - 0.1.3-SNAPSHOT + 0.2.0 diff --git a/versions.txt b/versions.txt index 0dfbd22fb..d3e93e4f7 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-dialogflow-cx:0.1.2:0.1.3-SNAPSHOT -proto-google-cloud-dialogflow-cx-v3beta1:0.1.2:0.1.3-SNAPSHOT -grpc-google-cloud-dialogflow-cx-v3beta1:0.1.2:0.1.3-SNAPSHOT \ No newline at end of file +google-cloud-dialogflow-cx:0.2.0:0.2.0 +proto-google-cloud-dialogflow-cx-v3beta1:0.2.0:0.2.0 +grpc-google-cloud-dialogflow-cx-v3beta1:0.2.0:0.2.0 \ No newline at end of file