From b29dfea9e09d6852caf78eacdc45a7feb0c79370 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 5 May 2021 08:54:03 -0700 Subject: [PATCH] feat: Expose supported languages of the agent (#205) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d32ae83f-85b1-4566-9db8-fbb972c5f42b/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) PiperOrigin-RevId: 370928139 Source-Link: https://github.com/googleapis/googleapis/commit/0fa726c5d8e4b8442f49974abc875db1af432316 PiperOrigin-RevId: 370860251 Source-Link: https://github.com/googleapis/googleapis/commit/ef119e7aa2eee147ecf854e5154c93351ed7de25 feat: add export / import flow API docs: Update docs on Pages, Session, Version, etc. --- .../cloud/dialogflow/cx/v3/AgentsClient.java | 9 + .../cloud/dialogflow/cx/v3/FlowsClient.java | 155 ++ .../cloud/dialogflow/cx/v3/FlowsSettings.java | 44 + .../dialogflow/cx/v3/VersionsClient.java | 14 +- .../dialogflow/cx/v3/gapic_metadata.json | 6 + .../dialogflow/cx/v3/stub/FlowsStub.java | 22 + .../cx/v3/stub/FlowsStubSettings.java | 140 +- .../dialogflow/cx/v3/stub/GrpcFlowsStub.java | 92 ++ .../dialogflow/cx/v3beta1/AgentsClient.java | 9 + .../dialogflow/cx/v3beta1/FlowsClient.java | 155 ++ .../dialogflow/cx/v3beta1/FlowsSettings.java | 44 + .../dialogflow/cx/v3beta1/VersionsClient.java | 14 +- .../dialogflow/cx/v3beta1/gapic_metadata.json | 6 + .../dialogflow/cx/v3beta1/stub/FlowsStub.java | 22 + .../cx/v3beta1/stub/FlowsStubSettings.java | 140 +- .../cx/v3beta1/stub/GrpcFlowsStub.java | 92 ++ .../dialogflow/cx/v3/AgentsClientTest.java | 12 + .../dialogflow/cx/v3/FlowsClientTest.java | 111 ++ .../cloud/dialogflow/cx/v3/MockFlowsImpl.java | 40 + .../cx/v3beta1/AgentsClientTest.java | 12 + .../cx/v3beta1/FlowsClientTest.java | 111 ++ .../dialogflow/cx/v3beta1/MockFlowsImpl.java | 40 + .../cloud/dialogflow/cx/v3/FlowsGrpc.java | 224 +++ .../cloud/dialogflow/cx/v3/SessionsGrpc.java | 65 +- .../cloud/dialogflow/cx/v3/VersionsGrpc.java | 8 +- .../dialogflow/cx/v3beta1/FlowsGrpc.java | 230 +++ .../dialogflow/cx/v3beta1/SessionsGrpc.java | 65 +- .../dialogflow/cx/v3beta1/VersionsGrpc.java | 8 +- .../google/cloud/dialogflow/cx/v3/Agent.java | 296 ++++ .../dialogflow/cx/v3/AgentOrBuilder.java | 55 + .../cloud/dialogflow/cx/v3/AgentProto.java | 223 +-- .../cloud/dialogflow/cx/v3/AudioInput.java | 20 +- .../dialogflow/cx/v3/AudioInputOrBuilder.java | 5 +- .../dialogflow/cx/v3/CreateFlowRequest.java | 14 + .../cx/v3/CreateFlowRequestOrBuilder.java | 4 + .../dialogflow/cx/v3/CreatePageRequest.java | 70 +- .../cx/v3/CreatePageRequestOrBuilder.java | 20 +- .../v3/CreateTransitionRouteGroupRequest.java | 49 +- ...eTransitionRouteGroupRequestOrBuilder.java | 14 +- .../cx/v3/DetectIntentResponse.java | 24 +- .../cx/v3/DetectIntentResponseOrBuilder.java | 6 +- .../cloud/dialogflow/cx/v3/Experiment.java | 18 +- .../dialogflow/cx/v3/ExportAgentRequest.java | 207 +++ .../cx/v3/ExportAgentRequestOrBuilder.java | 33 + .../dialogflow/cx/v3/ExportFlowRequest.java | 954 +++++++++++ .../cx/v3/ExportFlowRequestOrBuilder.java | 102 ++ .../dialogflow/cx/v3/ExportFlowResponse.java | 914 +++++++++++ .../cx/v3/ExportFlowResponseOrBuilder.java | 92 ++ .../cloud/dialogflow/cx/v3/FlowProto.java | 165 +- .../cx/v3/FulfillIntentResponse.java | 24 +- .../cx/v3/FulfillIntentResponseOrBuilder.java | 6 +- .../dialogflow/cx/v3/GetFlowRequest.java | 14 + .../cx/v3/GetFlowRequestOrBuilder.java | 4 + .../dialogflow/cx/v3/GetPageRequest.java | 70 +- .../cx/v3/GetPageRequestOrBuilder.java | 20 +- .../cx/v3/GetTransitionRouteGroupRequest.java | 56 +- ...tTransitionRouteGroupRequestOrBuilder.java | 16 +- .../dialogflow/cx/v3/ImportFlowRequest.java | 1452 ++++++++++++++++ .../cx/v3/ImportFlowRequestOrBuilder.java | 151 ++ .../dialogflow/cx/v3/ImportFlowResponse.java | 650 ++++++++ .../cx/v3/ImportFlowResponseOrBuilder.java | 54 + .../dialogflow/cx/v3/ListFlowsRequest.java | 14 + .../cx/v3/ListFlowsRequestOrBuilder.java | 4 + .../dialogflow/cx/v3/ListPagesRequest.java | 70 +- .../cx/v3/ListPagesRequestOrBuilder.java | 20 +- .../v3/ListTransitionRouteGroupsRequest.java | 56 +- ...TransitionRouteGroupsRequestOrBuilder.java | 16 +- .../dialogflow/cx/v3/LoadVersionRequest.java | 46 +- .../cx/v3/LoadVersionRequestOrBuilder.java | 12 +- .../google/cloud/dialogflow/cx/v3/Match.java | 84 +- .../dialogflow/cx/v3/MatchIntentResponse.java | 213 +-- .../cx/v3/MatchIntentResponseOrBuilder.java | 66 +- .../dialogflow/cx/v3/MatchOrBuilder.java | 21 +- .../dialogflow/cx/v3/QueryParameters.java | 230 ++- .../cx/v3/QueryParametersOrBuilder.java | 61 +- .../cloud/dialogflow/cx/v3/QueryResult.java | 536 +++--- .../cx/v3/QueryResultOrBuilder.java | 143 +- .../cloud/dialogflow/cx/v3/SessionProto.java | 30 +- .../cx/v3/StreamingDetectIntentRequest.java | 54 +- .../cx/v3/StreamingDetectIntentResponse.java | 14 +- .../cx/v3/StreamingRecognitionResult.java | 77 +- .../StreamingRecognitionResultOrBuilder.java | 15 +- .../cloud/dialogflow/cx/v3/TextInput.java | 28 +- .../dialogflow/cx/v3/TextInputOrBuilder.java | 8 +- .../dialogflow/cx/v3/UpdateFlowRequest.java | 14 + .../cx/v3/UpdateFlowRequestOrBuilder.java | 4 + .../dialogflow/cx/v3/UpdatePageRequest.java | 70 +- .../cx/v3/UpdatePageRequestOrBuilder.java | 20 +- .../v3/UpdateTransitionRouteGroupRequest.java | 49 +- ...eTransitionRouteGroupRequestOrBuilder.java | 14 +- .../google/cloud/dialogflow/cx/v3/agent.proto | 15 + .../cloud/dialogflow/cx/v3/experiment.proto | 2 +- .../google/cloud/dialogflow/cx/v3/flow.proto | 122 ++ .../google/cloud/dialogflow/cx/v3/page.proto | 40 +- .../cloud/dialogflow/cx/v3/session.proto | 202 ++- .../cx/v3/transition_route_group.proto | 35 +- .../cloud/dialogflow/cx/v3/version.proto | 12 +- .../cloud/dialogflow/cx/v3beta1/Agent.java | 296 ++++ .../dialogflow/cx/v3beta1/AgentOrBuilder.java | 55 + .../dialogflow/cx/v3beta1/AgentProto.java | 218 +-- .../dialogflow/cx/v3beta1/AudioInput.java | 20 +- .../cx/v3beta1/AudioInputOrBuilder.java | 5 +- .../cx/v3beta1/CreateFlowRequest.java | 14 + .../v3beta1/CreateFlowRequestOrBuilder.java | 4 + .../cx/v3beta1/CreatePageRequest.java | 70 +- .../v3beta1/CreatePageRequestOrBuilder.java | 20 +- .../CreateTransitionRouteGroupRequest.java | 49 +- ...eTransitionRouteGroupRequestOrBuilder.java | 14 +- .../cx/v3beta1/DetectIntentResponse.java | 24 +- .../DetectIntentResponseOrBuilder.java | 6 +- .../dialogflow/cx/v3beta1/Experiment.java | 18 +- .../cx/v3beta1/ExportAgentRequest.java | 207 +++ .../v3beta1/ExportAgentRequestOrBuilder.java | 33 + .../cx/v3beta1/ExportFlowRequest.java | 955 +++++++++++ .../v3beta1/ExportFlowRequestOrBuilder.java | 102 ++ .../cx/v3beta1/ExportFlowResponse.java | 915 +++++++++++ .../v3beta1/ExportFlowResponseOrBuilder.java | 92 ++ .../dialogflow/cx/v3beta1/FlowProto.java | 170 +- .../cx/v3beta1/FulfillIntentResponse.java | 24 +- .../FulfillIntentResponseOrBuilder.java | 6 +- .../dialogflow/cx/v3beta1/GetFlowRequest.java | 14 + .../cx/v3beta1/GetFlowRequestOrBuilder.java | 4 + .../dialogflow/cx/v3beta1/GetPageRequest.java | 70 +- .../cx/v3beta1/GetPageRequestOrBuilder.java | 20 +- .../GetTransitionRouteGroupRequest.java | 56 +- ...tTransitionRouteGroupRequestOrBuilder.java | 16 +- .../cx/v3beta1/ImportFlowRequest.java | 1462 +++++++++++++++++ .../v3beta1/ImportFlowRequestOrBuilder.java | 153 ++ .../cx/v3beta1/ImportFlowResponse.java | 651 ++++++++ .../v3beta1/ImportFlowResponseOrBuilder.java | 54 + .../cx/v3beta1/ListFlowsRequest.java | 14 + .../cx/v3beta1/ListFlowsRequestOrBuilder.java | 4 + .../cx/v3beta1/ListPagesRequest.java | 70 +- .../cx/v3beta1/ListPagesRequestOrBuilder.java | 20 +- .../ListTransitionRouteGroupsRequest.java | 56 +- ...TransitionRouteGroupsRequestOrBuilder.java | 16 +- .../cx/v3beta1/LoadVersionRequest.java | 46 +- .../v3beta1/LoadVersionRequestOrBuilder.java | 12 +- .../cloud/dialogflow/cx/v3beta1/Match.java | 84 +- .../cx/v3beta1/MatchIntentResponse.java | 249 +-- .../v3beta1/MatchIntentResponseOrBuilder.java | 78 +- .../dialogflow/cx/v3beta1/MatchOrBuilder.java | 21 +- .../cx/v3beta1/QueryParameters.java | 209 ++- .../cx/v3beta1/QueryParametersOrBuilder.java | 55 +- .../dialogflow/cx/v3beta1/QueryResult.java | 572 ++++--- .../cx/v3beta1/QueryResultOrBuilder.java | 155 +- .../dialogflow/cx/v3beta1/SessionProto.java | 32 +- .../v3beta1/StreamingDetectIntentRequest.java | 54 +- .../StreamingDetectIntentResponse.java | 14 +- .../v3beta1/StreamingRecognitionResult.java | 77 +- .../StreamingRecognitionResultOrBuilder.java | 15 +- .../dialogflow/cx/v3beta1/TextInput.java | 28 +- .../cx/v3beta1/TextInputOrBuilder.java | 8 +- .../cx/v3beta1/UpdateFlowRequest.java | 14 + .../v3beta1/UpdateFlowRequestOrBuilder.java | 4 + .../cx/v3beta1/UpdatePageRequest.java | 70 +- .../v3beta1/UpdatePageRequestOrBuilder.java | 20 +- .../UpdateTransitionRouteGroupRequest.java | 49 +- ...eTransitionRouteGroupRequestOrBuilder.java | 14 +- .../cloud/dialogflow/cx/v3beta1/agent.proto | 14 + .../dialogflow/cx/v3beta1/experiment.proto | 2 +- .../cloud/dialogflow/cx/v3beta1/flow.proto | 122 ++ .../cloud/dialogflow/cx/v3beta1/page.proto | 40 +- .../cloud/dialogflow/cx/v3beta1/session.proto | 207 ++- .../cx/v3beta1/transition_route_group.proto | 34 +- .../cloud/dialogflow/cx/v3beta1/version.proto | 12 +- synth.metadata | 24 +- 167 files changed, 16113 insertions(+), 2328 deletions(-) create mode 100644 proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowRequest.java create mode 100644 proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowRequestOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowResponse.java create mode 100644 proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowResponseOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowRequest.java create mode 100644 proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowRequestOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowResponse.java create mode 100644 proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowResponseOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowRequest.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowRequestOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowResponse.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowResponseOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowRequest.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowRequestOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowResponse.java create mode 100644 proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowResponseOrBuilder.java diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentsClient.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentsClient.java index 00e1ebacf..9ea9ad2b2 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentsClient.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentsClient.java @@ -661,6 +661,9 @@ public final UnaryCallable deleteAgentCallable() { * ExportAgentRequest.newBuilder() * .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) * .setAgentUri("agentUri1469149223") + * .setEnvironment( + * EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + * .toString()) * .build(); * ExportAgentResponse response = agentsClient.exportAgentAsync(request).get(); * } @@ -686,6 +689,9 @@ public final OperationFuture exportAgentAsync( * ExportAgentRequest.newBuilder() * .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) * .setAgentUri("agentUri1469149223") + * .setEnvironment( + * EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + * .toString()) * .build(); * OperationFuture future = * agentsClient.exportAgentOperationCallable().futureCall(request); @@ -711,6 +717,9 @@ public final OperationFuture exportAgentAsync( * ExportAgentRequest.newBuilder() * .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) * .setAgentUri("agentUri1469149223") + * .setEnvironment( + * EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + * .toString()) * .build(); * ApiFuture future = agentsClient.exportAgentCallable().futureCall(request); * // Do something. diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsClient.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsClient.java index b9f3cac61..fb56c65c4 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsClient.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsClient.java @@ -934,6 +934,161 @@ public final FlowValidationResult getFlowValidationResult( return stub.getFlowValidationResultCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports the specified flow to the specified agent from a binary file. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ImportFlowRequest request =
+   *       ImportFlowRequest.newBuilder()
+   *           .setParent(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .build();
+   *   ImportFlowResponse response = flowsClient.importFlowAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture importFlowAsync( + ImportFlowRequest request) { + return importFlowOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports the specified flow to the specified agent from a binary file. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ImportFlowRequest request =
+   *       ImportFlowRequest.newBuilder()
+   *           .setParent(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .build();
+   *   OperationFuture future =
+   *       flowsClient.importFlowOperationCallable().futureCall(request);
+   *   // Do something.
+   *   ImportFlowResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + importFlowOperationCallable() { + return stub.importFlowOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports the specified flow to the specified agent from a binary file. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ImportFlowRequest request =
+   *       ImportFlowRequest.newBuilder()
+   *           .setParent(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .build();
+   *   ApiFuture future = flowsClient.importFlowCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable importFlowCallable() { + return stub.importFlowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports the specified flow to a binary file. + * + *

Note that resources (e.g. intents, entities, webhooks) that the flow references will also be + * exported. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ExportFlowRequest request =
+   *       ExportFlowRequest.newBuilder()
+   *           .setName(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .setFlowUri("flowUri-765815458")
+   *           .setIncludeReferencedFlows(true)
+   *           .build();
+   *   ExportFlowResponse response = flowsClient.exportFlowAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture exportFlowAsync( + ExportFlowRequest request) { + return exportFlowOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports the specified flow to a binary file. + * + *

Note that resources (e.g. intents, entities, webhooks) that the flow references will also be + * exported. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ExportFlowRequest request =
+   *       ExportFlowRequest.newBuilder()
+   *           .setName(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .setFlowUri("flowUri-765815458")
+   *           .setIncludeReferencedFlows(true)
+   *           .build();
+   *   OperationFuture future =
+   *       flowsClient.exportFlowOperationCallable().futureCall(request);
+   *   // Do something.
+   *   ExportFlowResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + exportFlowOperationCallable() { + return stub.exportFlowOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports the specified flow to a binary file. + * + *

Note that resources (e.g. intents, entities, webhooks) that the flow references will also be + * exported. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ExportFlowRequest request =
+   *       ExportFlowRequest.newBuilder()
+   *           .setName(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .setFlowUri("flowUri-765815458")
+   *           .setIncludeReferencedFlows(true)
+   *           .build();
+   *   ApiFuture future = flowsClient.exportFlowCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable exportFlowCallable() { + return stub.exportFlowCallable(); + } + @Override public final void close() { stub.close(); diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsSettings.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsSettings.java index bb3eceaa4..58ed6f0ef 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsSettings.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsSettings.java @@ -119,6 +119,28 @@ public UnaryCallSettings validateFlow return ((FlowsStubSettings) getStubSettings()).getFlowValidationResultSettings(); } + /** Returns the object with the settings used for calls to importFlow. */ + public UnaryCallSettings importFlowSettings() { + return ((FlowsStubSettings) getStubSettings()).importFlowSettings(); + } + + /** Returns the object with the settings used for calls to importFlow. */ + public OperationCallSettings + importFlowOperationSettings() { + return ((FlowsStubSettings) getStubSettings()).importFlowOperationSettings(); + } + + /** Returns the object with the settings used for calls to exportFlow. */ + public UnaryCallSettings exportFlowSettings() { + return ((FlowsStubSettings) getStubSettings()).exportFlowSettings(); + } + + /** Returns the object with the settings used for calls to exportFlow. */ + public OperationCallSettings + exportFlowOperationSettings() { + return ((FlowsStubSettings) getStubSettings()).exportFlowOperationSettings(); + } + public static final FlowsSettings create(FlowsStubSettings stub) throws IOException { return new FlowsSettings.Builder(stub.toBuilder()).build(); } @@ -265,6 +287,28 @@ public UnaryCallSettings.Builder trainFlowSettings( return getStubSettingsBuilder().getFlowValidationResultSettings(); } + /** Returns the builder for the settings used for calls to importFlow. */ + public UnaryCallSettings.Builder importFlowSettings() { + return getStubSettingsBuilder().importFlowSettings(); + } + + /** Returns the builder for the settings used for calls to importFlow. */ + public OperationCallSettings.Builder + importFlowOperationSettings() { + return getStubSettingsBuilder().importFlowOperationSettings(); + } + + /** Returns the builder for the settings used for calls to exportFlow. */ + public UnaryCallSettings.Builder exportFlowSettings() { + return getStubSettingsBuilder().exportFlowSettings(); + } + + /** Returns the builder for the settings used for calls to exportFlow. */ + public OperationCallSettings.Builder + exportFlowOperationSettings() { + return getStubSettingsBuilder().exportFlowOperationSettings(); + } + @Override public FlowsSettings build() throws IOException { return new FlowsSettings(this); diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsClient.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsClient.java index e0d558a6f..6f5a60d26 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsClient.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsClient.java @@ -723,7 +723,7 @@ public final UnaryCallable deleteVersionCallable() // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Loads a specified version to draft version. + * Loads resources in the specified version to the draft flow. * *

Sample code: * @@ -736,7 +736,7 @@ public final UnaryCallable deleteVersionCallable() * } * * @param name Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to - * draft version. Format: `projects/<Project ID>/locations/<Location + * draft flow. Format: `projects/<Project ID>/locations/<Location * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -748,7 +748,7 @@ public final OperationFuture loadVersionAsync(VersionName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Loads a specified version to draft version. + * Loads resources in the specified version to the draft flow. * *

Sample code: * @@ -761,7 +761,7 @@ public final OperationFuture loadVersionAsync(VersionName name) { * } * * @param name Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to - * draft version. Format: `projects/<Project ID>/locations/<Location + * draft flow. Format: `projects/<Project ID>/locations/<Location * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -772,7 +772,7 @@ public final OperationFuture loadVersionAsync(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Loads a specified version to draft version. + * Loads resources in the specified version to the draft flow. * *

Sample code: * @@ -798,7 +798,7 @@ public final OperationFuture loadVersionAsync(LoadVersionRequest // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Loads a specified version to draft version. + * Loads resources in the specified version to the draft flow. * *

Sample code: * @@ -824,7 +824,7 @@ public final OperationCallable loadVersionOpe // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Loads a specified version to draft version. + * Loads resources in the specified version to the draft flow. * *

Sample code: * diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/gapic_metadata.json b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/gapic_metadata.json index 0f9015bdc..0f02c3f2c 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/gapic_metadata.json +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/gapic_metadata.json @@ -133,12 +133,18 @@ "DeleteFlow": { "methods": ["deleteFlow", "deleteFlow", "deleteFlow", "deleteFlowCallable"] }, + "ExportFlow": { + "methods": ["exportFlowAsync", "exportFlowOperationCallable", "exportFlowCallable"] + }, "GetFlow": { "methods": ["getFlow", "getFlow", "getFlow", "getFlowCallable"] }, "GetFlowValidationResult": { "methods": ["getFlowValidationResult", "getFlowValidationResult", "getFlowValidationResult", "getFlowValidationResultCallable"] }, + "ImportFlow": { + "methods": ["importFlowAsync", "importFlowOperationCallable", "importFlowCallable"] + }, "ListFlows": { "methods": ["listFlows", "listFlows", "listFlows", "listFlowsPagedCallable", "listFlowsCallable"] }, diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/FlowsStub.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/FlowsStub.java index c9101ff7c..df49aab9b 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/FlowsStub.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/FlowsStub.java @@ -23,10 +23,14 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.dialogflow.cx.v3.CreateFlowRequest; import com.google.cloud.dialogflow.cx.v3.DeleteFlowRequest; +import com.google.cloud.dialogflow.cx.v3.ExportFlowRequest; +import com.google.cloud.dialogflow.cx.v3.ExportFlowResponse; import com.google.cloud.dialogflow.cx.v3.Flow; import com.google.cloud.dialogflow.cx.v3.FlowValidationResult; import com.google.cloud.dialogflow.cx.v3.GetFlowRequest; import com.google.cloud.dialogflow.cx.v3.GetFlowValidationResultRequest; +import com.google.cloud.dialogflow.cx.v3.ImportFlowRequest; +import com.google.cloud.dialogflow.cx.v3.ImportFlowResponse; import com.google.cloud.dialogflow.cx.v3.ListFlowsRequest; import com.google.cloud.dialogflow.cx.v3.ListFlowsResponse; import com.google.cloud.dialogflow.cx.v3.TrainFlowRequest; @@ -92,6 +96,24 @@ public UnaryCallable validateFlowCall throw new UnsupportedOperationException("Not implemented: getFlowValidationResultCallable()"); } + public OperationCallable + importFlowOperationCallable() { + throw new UnsupportedOperationException("Not implemented: importFlowOperationCallable()"); + } + + public UnaryCallable importFlowCallable() { + throw new UnsupportedOperationException("Not implemented: importFlowCallable()"); + } + + public OperationCallable + exportFlowOperationCallable() { + throw new UnsupportedOperationException("Not implemented: exportFlowOperationCallable()"); + } + + public UnaryCallable exportFlowCallable() { + throw new UnsupportedOperationException("Not implemented: exportFlowCallable()"); + } + @Override public abstract void close(); } diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/FlowsStubSettings.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/FlowsStubSettings.java index 666c70776..ec88ab327 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/FlowsStubSettings.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/FlowsStubSettings.java @@ -46,10 +46,14 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.dialogflow.cx.v3.CreateFlowRequest; import com.google.cloud.dialogflow.cx.v3.DeleteFlowRequest; +import com.google.cloud.dialogflow.cx.v3.ExportFlowRequest; +import com.google.cloud.dialogflow.cx.v3.ExportFlowResponse; import com.google.cloud.dialogflow.cx.v3.Flow; import com.google.cloud.dialogflow.cx.v3.FlowValidationResult; import com.google.cloud.dialogflow.cx.v3.GetFlowRequest; import com.google.cloud.dialogflow.cx.v3.GetFlowValidationResultRequest; +import com.google.cloud.dialogflow.cx.v3.ImportFlowRequest; +import com.google.cloud.dialogflow.cx.v3.ImportFlowResponse; import com.google.cloud.dialogflow.cx.v3.ListFlowsRequest; import com.google.cloud.dialogflow.cx.v3.ListFlowsResponse; import com.google.cloud.dialogflow.cx.v3.TrainFlowRequest; @@ -118,6 +122,12 @@ public class FlowsStubSettings extends StubSettings { private final UnaryCallSettings validateFlowSettings; private final UnaryCallSettings getFlowValidationResultSettings; + private final UnaryCallSettings importFlowSettings; + private final OperationCallSettings + importFlowOperationSettings; + private final UnaryCallSettings exportFlowSettings; + private final OperationCallSettings + exportFlowOperationSettings; private static final PagedListDescriptor LIST_FLOWS_PAGE_STR_DESC = @@ -219,6 +229,28 @@ public UnaryCallSettings validateFlow return getFlowValidationResultSettings; } + /** Returns the object with the settings used for calls to importFlow. */ + public UnaryCallSettings importFlowSettings() { + return importFlowSettings; + } + + /** Returns the object with the settings used for calls to importFlow. */ + public OperationCallSettings + importFlowOperationSettings() { + return importFlowOperationSettings; + } + + /** Returns the object with the settings used for calls to exportFlow. */ + public UnaryCallSettings exportFlowSettings() { + return exportFlowSettings; + } + + /** Returns the object with the settings used for calls to exportFlow. */ + public OperationCallSettings + exportFlowOperationSettings() { + return exportFlowOperationSettings; + } + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public FlowsStub createStub() throws IOException { if (getTransportChannelProvider() @@ -296,6 +328,10 @@ protected FlowsStubSettings(Builder settingsBuilder) throws IOException { trainFlowOperationSettings = settingsBuilder.trainFlowOperationSettings().build(); validateFlowSettings = settingsBuilder.validateFlowSettings().build(); getFlowValidationResultSettings = settingsBuilder.getFlowValidationResultSettings().build(); + importFlowSettings = settingsBuilder.importFlowSettings().build(); + importFlowOperationSettings = settingsBuilder.importFlowOperationSettings().build(); + exportFlowSettings = settingsBuilder.exportFlowSettings().build(); + exportFlowOperationSettings = settingsBuilder.exportFlowOperationSettings().build(); } /** Builder for FlowsStubSettings. */ @@ -315,6 +351,12 @@ public static class Builder extends StubSettings.Builder getFlowValidationResultSettings; + private final UnaryCallSettings.Builder importFlowSettings; + private final OperationCallSettings.Builder + importFlowOperationSettings; + private final UnaryCallSettings.Builder exportFlowSettings; + private final OperationCallSettings.Builder + exportFlowOperationSettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; @@ -362,6 +404,10 @@ protected Builder(ClientContext clientContext) { trainFlowOperationSettings = OperationCallSettings.newBuilder(); validateFlowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getFlowValidationResultSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + importFlowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + importFlowOperationSettings = OperationCallSettings.newBuilder(); + exportFlowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + exportFlowOperationSettings = OperationCallSettings.newBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -372,7 +418,9 @@ protected Builder(ClientContext clientContext) { updateFlowSettings, trainFlowSettings, validateFlowSettings, - getFlowValidationResultSettings); + getFlowValidationResultSettings, + importFlowSettings, + exportFlowSettings); initDefaults(this); } @@ -388,6 +436,10 @@ protected Builder(FlowsStubSettings settings) { trainFlowOperationSettings = settings.trainFlowOperationSettings.toBuilder(); validateFlowSettings = settings.validateFlowSettings.toBuilder(); getFlowValidationResultSettings = settings.getFlowValidationResultSettings.toBuilder(); + importFlowSettings = settings.importFlowSettings.toBuilder(); + importFlowOperationSettings = settings.importFlowOperationSettings.toBuilder(); + exportFlowSettings = settings.exportFlowSettings.toBuilder(); + exportFlowOperationSettings = settings.exportFlowOperationSettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -398,7 +450,9 @@ protected Builder(FlowsStubSettings settings) { updateFlowSettings, trainFlowSettings, validateFlowSettings, - getFlowValidationResultSettings); + getFlowValidationResultSettings, + importFlowSettings, + exportFlowSettings); } private static Builder createDefault() { @@ -453,6 +507,16 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .importFlowSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .exportFlowSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .trainFlowOperationSettings() .setInitialCallSettings( @@ -476,6 +540,52 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(300000L)) .build())); + builder + .importFlowOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(ImportFlowResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Struct.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .exportFlowOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(ExportFlowResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Struct.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + return builder; } @@ -546,6 +656,32 @@ public UnaryCallSettings.Builder trainFlowSettings( return getFlowValidationResultSettings; } + /** Returns the builder for the settings used for calls to importFlow. */ + public UnaryCallSettings.Builder importFlowSettings() { + return importFlowSettings; + } + + /** Returns the builder for the settings used for calls to importFlow. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + importFlowOperationSettings() { + return importFlowOperationSettings; + } + + /** Returns the builder for the settings used for calls to exportFlow. */ + public UnaryCallSettings.Builder exportFlowSettings() { + return exportFlowSettings; + } + + /** Returns the builder for the settings used for calls to exportFlow. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + exportFlowOperationSettings() { + return exportFlowOperationSettings; + } + @Override public FlowsStubSettings build() throws IOException { return new FlowsStubSettings(this); diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/GrpcFlowsStub.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/GrpcFlowsStub.java index 5bba73ea7..2d1b4919e 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/GrpcFlowsStub.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/GrpcFlowsStub.java @@ -28,10 +28,14 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.dialogflow.cx.v3.CreateFlowRequest; import com.google.cloud.dialogflow.cx.v3.DeleteFlowRequest; +import com.google.cloud.dialogflow.cx.v3.ExportFlowRequest; +import com.google.cloud.dialogflow.cx.v3.ExportFlowResponse; import com.google.cloud.dialogflow.cx.v3.Flow; import com.google.cloud.dialogflow.cx.v3.FlowValidationResult; import com.google.cloud.dialogflow.cx.v3.GetFlowRequest; import com.google.cloud.dialogflow.cx.v3.GetFlowValidationResultRequest; +import com.google.cloud.dialogflow.cx.v3.ImportFlowRequest; +import com.google.cloud.dialogflow.cx.v3.ImportFlowResponse; import com.google.cloud.dialogflow.cx.v3.ListFlowsRequest; import com.google.cloud.dialogflow.cx.v3.ListFlowsResponse; import com.google.cloud.dialogflow.cx.v3.TrainFlowRequest; @@ -127,6 +131,22 @@ public class GrpcFlowsStub extends FlowsStub { ProtoUtils.marshaller(FlowValidationResult.getDefaultInstance())) .build(); + private static final MethodDescriptor importFlowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.cx.v3.Flows/ImportFlow") + .setRequestMarshaller(ProtoUtils.marshaller(ImportFlowRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor exportFlowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.cx.v3.Flows/ExportFlow") + .setRequestMarshaller(ProtoUtils.marshaller(ExportFlowRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private final UnaryCallable createFlowCallable; private final UnaryCallable deleteFlowCallable; private final UnaryCallable listFlowsCallable; @@ -138,6 +158,12 @@ public class GrpcFlowsStub extends FlowsStub { private final UnaryCallable validateFlowCallable; private final UnaryCallable getFlowValidationResultCallable; + private final UnaryCallable importFlowCallable; + private final OperationCallable + importFlowOperationCallable; + private final UnaryCallable exportFlowCallable; + private final OperationCallable + exportFlowOperationCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -283,6 +309,32 @@ public Map extract(GetFlowValidationResultRequest request) { } }) .build(); + GrpcCallSettings importFlowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(importFlowMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(ImportFlowRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + } + }) + .build(); + GrpcCallSettings exportFlowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(exportFlowMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(ExportFlowRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + } + }) + .build(); this.createFlowCallable = callableFactory.createUnaryCallable( @@ -319,6 +371,24 @@ public Map extract(GetFlowValidationResultRequest request) { getFlowValidationResultTransportSettings, settings.getFlowValidationResultSettings(), clientContext); + this.importFlowCallable = + callableFactory.createUnaryCallable( + importFlowTransportSettings, settings.importFlowSettings(), clientContext); + this.importFlowOperationCallable = + callableFactory.createOperationCallable( + importFlowTransportSettings, + settings.importFlowOperationSettings(), + clientContext, + operationsStub); + this.exportFlowCallable = + callableFactory.createUnaryCallable( + exportFlowTransportSettings, settings.exportFlowSettings(), clientContext); + this.exportFlowOperationCallable = + callableFactory.createOperationCallable( + exportFlowTransportSettings, + settings.exportFlowOperationSettings(), + clientContext, + operationsStub); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -379,6 +449,28 @@ public UnaryCallable validateFlowCall return getFlowValidationResultCallable; } + @Override + public UnaryCallable importFlowCallable() { + return importFlowCallable; + } + + @Override + public OperationCallable + importFlowOperationCallable() { + return importFlowOperationCallable; + } + + @Override + public UnaryCallable exportFlowCallable() { + return exportFlowCallable; + } + + @Override + public OperationCallable + exportFlowOperationCallable() { + return exportFlowOperationCallable; + } + @Override public final void close() { shutdown(); 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 e8a78d4e4..a5b0ffe1b 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 @@ -662,6 +662,9 @@ public final UnaryCallable deleteAgentCallable() { * ExportAgentRequest.newBuilder() * .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) * .setAgentUri("agentUri1469149223") + * .setEnvironment( + * EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + * .toString()) * .build(); * ExportAgentResponse response = agentsClient.exportAgentAsync(request).get(); * } @@ -687,6 +690,9 @@ public final OperationFuture exportAgentAsync( * ExportAgentRequest.newBuilder() * .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) * .setAgentUri("agentUri1469149223") + * .setEnvironment( + * EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + * .toString()) * .build(); * OperationFuture future = * agentsClient.exportAgentOperationCallable().futureCall(request); @@ -712,6 +718,9 @@ public final OperationFuture exportAgentAsync( * ExportAgentRequest.newBuilder() * .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) * .setAgentUri("agentUri1469149223") + * .setEnvironment( + * EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + * .toString()) * .build(); * ApiFuture future = agentsClient.exportAgentCallable().futureCall(request); * // Do something. diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java index 0b7d3a44f..4f408a91e 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java @@ -935,6 +935,161 @@ public final FlowValidationResult getFlowValidationResult( return stub.getFlowValidationResultCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports the specified flow to the specified agent from a binary file. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ImportFlowRequest request =
+   *       ImportFlowRequest.newBuilder()
+   *           .setParent(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .build();
+   *   ImportFlowResponse response = flowsClient.importFlowAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture importFlowAsync( + ImportFlowRequest request) { + return importFlowOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports the specified flow to the specified agent from a binary file. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ImportFlowRequest request =
+   *       ImportFlowRequest.newBuilder()
+   *           .setParent(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .build();
+   *   OperationFuture future =
+   *       flowsClient.importFlowOperationCallable().futureCall(request);
+   *   // Do something.
+   *   ImportFlowResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + importFlowOperationCallable() { + return stub.importFlowOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports the specified flow to the specified agent from a binary file. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ImportFlowRequest request =
+   *       ImportFlowRequest.newBuilder()
+   *           .setParent(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .build();
+   *   ApiFuture future = flowsClient.importFlowCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable importFlowCallable() { + return stub.importFlowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports the specified flow to a binary file. + * + *

Note that resources (e.g. intents, entities, webhooks) that the flow references will also be + * exported. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ExportFlowRequest request =
+   *       ExportFlowRequest.newBuilder()
+   *           .setName(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .setFlowUri("flowUri-765815458")
+   *           .setIncludeReferencedFlows(true)
+   *           .build();
+   *   ExportFlowResponse response = flowsClient.exportFlowAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture exportFlowAsync( + ExportFlowRequest request) { + return exportFlowOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports the specified flow to a binary file. + * + *

Note that resources (e.g. intents, entities, webhooks) that the flow references will also be + * exported. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ExportFlowRequest request =
+   *       ExportFlowRequest.newBuilder()
+   *           .setName(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .setFlowUri("flowUri-765815458")
+   *           .setIncludeReferencedFlows(true)
+   *           .build();
+   *   OperationFuture future =
+   *       flowsClient.exportFlowOperationCallable().futureCall(request);
+   *   // Do something.
+   *   ExportFlowResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + exportFlowOperationCallable() { + return stub.exportFlowOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports the specified flow to a binary file. + * + *

Note that resources (e.g. intents, entities, webhooks) that the flow references will also be + * exported. + * + *

Sample code: + * + *

{@code
+   * try (FlowsClient flowsClient = FlowsClient.create()) {
+   *   ExportFlowRequest request =
+   *       ExportFlowRequest.newBuilder()
+   *           .setName(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString())
+   *           .setFlowUri("flowUri-765815458")
+   *           .setIncludeReferencedFlows(true)
+   *           .build();
+   *   ApiFuture future = flowsClient.exportFlowCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable exportFlowCallable() { + return stub.exportFlowCallable(); + } + @Override public final void close() { stub.close(); diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsSettings.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsSettings.java index c56da625f..af9330d13 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsSettings.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsSettings.java @@ -120,6 +120,28 @@ public UnaryCallSettings validateFlow return ((FlowsStubSettings) getStubSettings()).getFlowValidationResultSettings(); } + /** Returns the object with the settings used for calls to importFlow. */ + public UnaryCallSettings importFlowSettings() { + return ((FlowsStubSettings) getStubSettings()).importFlowSettings(); + } + + /** Returns the object with the settings used for calls to importFlow. */ + public OperationCallSettings + importFlowOperationSettings() { + return ((FlowsStubSettings) getStubSettings()).importFlowOperationSettings(); + } + + /** Returns the object with the settings used for calls to exportFlow. */ + public UnaryCallSettings exportFlowSettings() { + return ((FlowsStubSettings) getStubSettings()).exportFlowSettings(); + } + + /** Returns the object with the settings used for calls to exportFlow. */ + public OperationCallSettings + exportFlowOperationSettings() { + return ((FlowsStubSettings) getStubSettings()).exportFlowOperationSettings(); + } + public static final FlowsSettings create(FlowsStubSettings stub) throws IOException { return new FlowsSettings.Builder(stub.toBuilder()).build(); } @@ -266,6 +288,28 @@ public UnaryCallSettings.Builder trainFlowSettings( return getStubSettingsBuilder().getFlowValidationResultSettings(); } + /** Returns the builder for the settings used for calls to importFlow. */ + public UnaryCallSettings.Builder importFlowSettings() { + return getStubSettingsBuilder().importFlowSettings(); + } + + /** Returns the builder for the settings used for calls to importFlow. */ + public OperationCallSettings.Builder + importFlowOperationSettings() { + return getStubSettingsBuilder().importFlowOperationSettings(); + } + + /** Returns the builder for the settings used for calls to exportFlow. */ + public UnaryCallSettings.Builder exportFlowSettings() { + return getStubSettingsBuilder().exportFlowSettings(); + } + + /** Returns the builder for the settings used for calls to exportFlow. */ + public OperationCallSettings.Builder + exportFlowOperationSettings() { + return getStubSettingsBuilder().exportFlowOperationSettings(); + } + @Override public FlowsSettings build() throws IOException { return new FlowsSettings(this); diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java index 816f76b1b..b86b61190 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java @@ -729,7 +729,7 @@ public final UnaryCallable deleteVersionCallable() // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Loads a specified version to draft version. + * Loads resources in the specified version to the draft flow. * *

Sample code: * @@ -742,7 +742,7 @@ public final UnaryCallable deleteVersionCallable() * } * * @param name Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to - * draft version. Format: `projects/<Project ID>/locations/<Location + * draft flow. Format: `projects/<Project ID>/locations/<Location * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -754,7 +754,7 @@ public final OperationFuture loadVersionAsync(VersionName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Loads a specified version to draft version. + * Loads resources in the specified version to the draft flow. * *

Sample code: * @@ -767,7 +767,7 @@ public final OperationFuture loadVersionAsync(VersionName name) { * } * * @param name Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to - * draft version. Format: `projects/<Project ID>/locations/<Location + * draft flow. Format: `projects/<Project ID>/locations/<Location * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -778,7 +778,7 @@ public final OperationFuture loadVersionAsync(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Loads a specified version to draft version. + * Loads resources in the specified version to the draft flow. * *

Sample code: * @@ -804,7 +804,7 @@ public final OperationFuture loadVersionAsync(LoadVersionRequest // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Loads a specified version to draft version. + * Loads resources in the specified version to the draft flow. * *

Sample code: * @@ -830,7 +830,7 @@ public final OperationCallable loadVersionOpe // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Loads a specified version to draft version. + * Loads resources in the specified version to the draft flow. * *

Sample code: * diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/gapic_metadata.json b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/gapic_metadata.json index 59da76066..e402154c2 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/gapic_metadata.json +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/gapic_metadata.json @@ -133,12 +133,18 @@ "DeleteFlow": { "methods": ["deleteFlow", "deleteFlow", "deleteFlow", "deleteFlowCallable"] }, + "ExportFlow": { + "methods": ["exportFlowAsync", "exportFlowOperationCallable", "exportFlowCallable"] + }, "GetFlow": { "methods": ["getFlow", "getFlow", "getFlow", "getFlowCallable"] }, "GetFlowValidationResult": { "methods": ["getFlowValidationResult", "getFlowValidationResult", "getFlowValidationResult", "getFlowValidationResultCallable"] }, + "ImportFlow": { + "methods": ["importFlowAsync", "importFlowOperationCallable", "importFlowCallable"] + }, "ListFlows": { "methods": ["listFlows", "listFlows", "listFlows", "listFlowsPagedCallable", "listFlowsCallable"] }, diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/FlowsStub.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/FlowsStub.java index acc1ca2a3..8b9a70eb3 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/FlowsStub.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/FlowsStub.java @@ -24,10 +24,14 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.dialogflow.cx.v3beta1.CreateFlowRequest; import com.google.cloud.dialogflow.cx.v3beta1.DeleteFlowRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse; import com.google.cloud.dialogflow.cx.v3beta1.Flow; import com.google.cloud.dialogflow.cx.v3beta1.FlowValidationResult; import com.google.cloud.dialogflow.cx.v3beta1.GetFlowRequest; import com.google.cloud.dialogflow.cx.v3beta1.GetFlowValidationResultRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse; import com.google.cloud.dialogflow.cx.v3beta1.ListFlowsRequest; import com.google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse; import com.google.cloud.dialogflow.cx.v3beta1.TrainFlowRequest; @@ -94,6 +98,24 @@ public UnaryCallable validateFlowCall throw new UnsupportedOperationException("Not implemented: getFlowValidationResultCallable()"); } + public OperationCallable + importFlowOperationCallable() { + throw new UnsupportedOperationException("Not implemented: importFlowOperationCallable()"); + } + + public UnaryCallable importFlowCallable() { + throw new UnsupportedOperationException("Not implemented: importFlowCallable()"); + } + + public OperationCallable + exportFlowOperationCallable() { + throw new UnsupportedOperationException("Not implemented: exportFlowOperationCallable()"); + } + + public UnaryCallable exportFlowCallable() { + throw new UnsupportedOperationException("Not implemented: exportFlowCallable()"); + } + @Override public abstract void close(); } diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/FlowsStubSettings.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/FlowsStubSettings.java index c01342e0e..ef63bdb25 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/FlowsStubSettings.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/FlowsStubSettings.java @@ -46,10 +46,14 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.dialogflow.cx.v3beta1.CreateFlowRequest; import com.google.cloud.dialogflow.cx.v3beta1.DeleteFlowRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse; import com.google.cloud.dialogflow.cx.v3beta1.Flow; import com.google.cloud.dialogflow.cx.v3beta1.FlowValidationResult; import com.google.cloud.dialogflow.cx.v3beta1.GetFlowRequest; import com.google.cloud.dialogflow.cx.v3beta1.GetFlowValidationResultRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse; import com.google.cloud.dialogflow.cx.v3beta1.ListFlowsRequest; import com.google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse; import com.google.cloud.dialogflow.cx.v3beta1.TrainFlowRequest; @@ -119,6 +123,12 @@ public class FlowsStubSettings extends StubSettings { private final UnaryCallSettings validateFlowSettings; private final UnaryCallSettings getFlowValidationResultSettings; + private final UnaryCallSettings importFlowSettings; + private final OperationCallSettings + importFlowOperationSettings; + private final UnaryCallSettings exportFlowSettings; + private final OperationCallSettings + exportFlowOperationSettings; private static final PagedListDescriptor LIST_FLOWS_PAGE_STR_DESC = @@ -220,6 +230,28 @@ public UnaryCallSettings validateFlow return getFlowValidationResultSettings; } + /** Returns the object with the settings used for calls to importFlow. */ + public UnaryCallSettings importFlowSettings() { + return importFlowSettings; + } + + /** Returns the object with the settings used for calls to importFlow. */ + public OperationCallSettings + importFlowOperationSettings() { + return importFlowOperationSettings; + } + + /** Returns the object with the settings used for calls to exportFlow. */ + public UnaryCallSettings exportFlowSettings() { + return exportFlowSettings; + } + + /** Returns the object with the settings used for calls to exportFlow. */ + public OperationCallSettings + exportFlowOperationSettings() { + return exportFlowOperationSettings; + } + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public FlowsStub createStub() throws IOException { if (getTransportChannelProvider() @@ -297,6 +329,10 @@ protected FlowsStubSettings(Builder settingsBuilder) throws IOException { trainFlowOperationSettings = settingsBuilder.trainFlowOperationSettings().build(); validateFlowSettings = settingsBuilder.validateFlowSettings().build(); getFlowValidationResultSettings = settingsBuilder.getFlowValidationResultSettings().build(); + importFlowSettings = settingsBuilder.importFlowSettings().build(); + importFlowOperationSettings = settingsBuilder.importFlowOperationSettings().build(); + exportFlowSettings = settingsBuilder.exportFlowSettings().build(); + exportFlowOperationSettings = settingsBuilder.exportFlowOperationSettings().build(); } /** Builder for FlowsStubSettings. */ @@ -316,6 +352,12 @@ public static class Builder extends StubSettings.Builder getFlowValidationResultSettings; + private final UnaryCallSettings.Builder importFlowSettings; + private final OperationCallSettings.Builder + importFlowOperationSettings; + private final UnaryCallSettings.Builder exportFlowSettings; + private final OperationCallSettings.Builder + exportFlowOperationSettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; @@ -363,6 +405,10 @@ protected Builder(ClientContext clientContext) { trainFlowOperationSettings = OperationCallSettings.newBuilder(); validateFlowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getFlowValidationResultSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + importFlowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + importFlowOperationSettings = OperationCallSettings.newBuilder(); + exportFlowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + exportFlowOperationSettings = OperationCallSettings.newBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -373,7 +419,9 @@ protected Builder(ClientContext clientContext) { updateFlowSettings, trainFlowSettings, validateFlowSettings, - getFlowValidationResultSettings); + getFlowValidationResultSettings, + importFlowSettings, + exportFlowSettings); initDefaults(this); } @@ -389,6 +437,10 @@ protected Builder(FlowsStubSettings settings) { trainFlowOperationSettings = settings.trainFlowOperationSettings.toBuilder(); validateFlowSettings = settings.validateFlowSettings.toBuilder(); getFlowValidationResultSettings = settings.getFlowValidationResultSettings.toBuilder(); + importFlowSettings = settings.importFlowSettings.toBuilder(); + importFlowOperationSettings = settings.importFlowOperationSettings.toBuilder(); + exportFlowSettings = settings.exportFlowSettings.toBuilder(); + exportFlowOperationSettings = settings.exportFlowOperationSettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -399,7 +451,9 @@ protected Builder(FlowsStubSettings settings) { updateFlowSettings, trainFlowSettings, validateFlowSettings, - getFlowValidationResultSettings); + getFlowValidationResultSettings, + importFlowSettings, + exportFlowSettings); } private static Builder createDefault() { @@ -454,6 +508,16 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .importFlowSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .exportFlowSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .trainFlowOperationSettings() .setInitialCallSettings( @@ -477,6 +541,52 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(300000L)) .build())); + builder + .importFlowOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(ImportFlowResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Struct.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .exportFlowOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(ExportFlowResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Struct.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + return builder; } @@ -547,6 +657,32 @@ public UnaryCallSettings.Builder trainFlowSettings( return getFlowValidationResultSettings; } + /** Returns the builder for the settings used for calls to importFlow. */ + public UnaryCallSettings.Builder importFlowSettings() { + return importFlowSettings; + } + + /** Returns the builder for the settings used for calls to importFlow. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + importFlowOperationSettings() { + return importFlowOperationSettings; + } + + /** Returns the builder for the settings used for calls to exportFlow. */ + public UnaryCallSettings.Builder exportFlowSettings() { + return exportFlowSettings; + } + + /** Returns the builder for the settings used for calls to exportFlow. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + exportFlowOperationSettings() { + return exportFlowOperationSettings; + } + @Override public FlowsStubSettings build() throws IOException { return new FlowsStubSettings(this); diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/GrpcFlowsStub.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/GrpcFlowsStub.java index d584e4762..bfe3e1a73 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/GrpcFlowsStub.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/GrpcFlowsStub.java @@ -29,10 +29,14 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.dialogflow.cx.v3beta1.CreateFlowRequest; import com.google.cloud.dialogflow.cx.v3beta1.DeleteFlowRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse; import com.google.cloud.dialogflow.cx.v3beta1.Flow; import com.google.cloud.dialogflow.cx.v3beta1.FlowValidationResult; import com.google.cloud.dialogflow.cx.v3beta1.GetFlowRequest; import com.google.cloud.dialogflow.cx.v3beta1.GetFlowValidationResultRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse; import com.google.cloud.dialogflow.cx.v3beta1.ListFlowsRequest; import com.google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse; import com.google.cloud.dialogflow.cx.v3beta1.TrainFlowRequest; @@ -129,6 +133,22 @@ public class GrpcFlowsStub extends FlowsStub { ProtoUtils.marshaller(FlowValidationResult.getDefaultInstance())) .build(); + private static final MethodDescriptor importFlowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.cx.v3beta1.Flows/ImportFlow") + .setRequestMarshaller(ProtoUtils.marshaller(ImportFlowRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor exportFlowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.cx.v3beta1.Flows/ExportFlow") + .setRequestMarshaller(ProtoUtils.marshaller(ExportFlowRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private final UnaryCallable createFlowCallable; private final UnaryCallable deleteFlowCallable; private final UnaryCallable listFlowsCallable; @@ -140,6 +160,12 @@ public class GrpcFlowsStub extends FlowsStub { private final UnaryCallable validateFlowCallable; private final UnaryCallable getFlowValidationResultCallable; + private final UnaryCallable importFlowCallable; + private final OperationCallable + importFlowOperationCallable; + private final UnaryCallable exportFlowCallable; + private final OperationCallable + exportFlowOperationCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -285,6 +311,32 @@ public Map extract(GetFlowValidationResultRequest request) { } }) .build(); + GrpcCallSettings importFlowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(importFlowMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(ImportFlowRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + } + }) + .build(); + GrpcCallSettings exportFlowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(exportFlowMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(ExportFlowRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + } + }) + .build(); this.createFlowCallable = callableFactory.createUnaryCallable( @@ -321,6 +373,24 @@ public Map extract(GetFlowValidationResultRequest request) { getFlowValidationResultTransportSettings, settings.getFlowValidationResultSettings(), clientContext); + this.importFlowCallable = + callableFactory.createUnaryCallable( + importFlowTransportSettings, settings.importFlowSettings(), clientContext); + this.importFlowOperationCallable = + callableFactory.createOperationCallable( + importFlowTransportSettings, + settings.importFlowOperationSettings(), + clientContext, + operationsStub); + this.exportFlowCallable = + callableFactory.createUnaryCallable( + exportFlowTransportSettings, settings.exportFlowSettings(), clientContext); + this.exportFlowOperationCallable = + callableFactory.createOperationCallable( + exportFlowTransportSettings, + settings.exportFlowOperationSettings(), + clientContext, + operationsStub); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -381,6 +451,28 @@ public UnaryCallable validateFlowCall return getFlowValidationResultCallable; } + @Override + public UnaryCallable importFlowCallable() { + return importFlowCallable; + } + + @Override + public OperationCallable + importFlowOperationCallable() { + return importFlowOperationCallable; + } + + @Override + public UnaryCallable exportFlowCallable() { + return exportFlowCallable; + } + + @Override + public OperationCallable + exportFlowOperationCallable() { + return exportFlowOperationCallable; + } + @Override public final void close() { shutdown(); diff --git a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/AgentsClientTest.java b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/AgentsClientTest.java index a946402b6..41f363942 100644 --- a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/AgentsClientTest.java +++ b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/AgentsClientTest.java @@ -180,6 +180,7 @@ public void getAgentTest() throws Exception { .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setDisplayName("displayName1714148973") .setDefaultLanguageCode("defaultLanguageCode2069633606") + .addAllSupportedLanguageCodes(new ArrayList()) .setTimeZone("timeZone-2077180903") .setDescription("description-1724546052") .setAvatarUri("avatarUri-428646061") @@ -230,6 +231,7 @@ public void getAgentTest2() throws Exception { .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setDisplayName("displayName1714148973") .setDefaultLanguageCode("defaultLanguageCode2069633606") + .addAllSupportedLanguageCodes(new ArrayList()) .setTimeZone("timeZone-2077180903") .setDescription("description-1724546052") .setAvatarUri("avatarUri-428646061") @@ -280,6 +282,7 @@ public void createAgentTest() throws Exception { .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setDisplayName("displayName1714148973") .setDefaultLanguageCode("defaultLanguageCode2069633606") + .addAllSupportedLanguageCodes(new ArrayList()) .setTimeZone("timeZone-2077180903") .setDescription("description-1724546052") .setAvatarUri("avatarUri-428646061") @@ -333,6 +336,7 @@ public void createAgentTest2() throws Exception { .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setDisplayName("displayName1714148973") .setDefaultLanguageCode("defaultLanguageCode2069633606") + .addAllSupportedLanguageCodes(new ArrayList()) .setTimeZone("timeZone-2077180903") .setDescription("description-1724546052") .setAvatarUri("avatarUri-428646061") @@ -386,6 +390,7 @@ public void updateAgentTest() throws Exception { .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setDisplayName("displayName1714148973") .setDefaultLanguageCode("defaultLanguageCode2069633606") + .addAllSupportedLanguageCodes(new ArrayList()) .setTimeZone("timeZone-2077180903") .setDescription("description-1724546052") .setAvatarUri("avatarUri-428646061") @@ -515,6 +520,9 @@ public void exportAgentTest() throws Exception { ExportAgentRequest.newBuilder() .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setAgentUri("agentUri1469149223") + .setEnvironment( + EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + .toString()) .build(); ExportAgentResponse actualResponse = client.exportAgentAsync(request).get(); @@ -526,6 +534,7 @@ public void exportAgentTest() throws Exception { Assert.assertEquals(request.getName(), actualRequest.getName()); Assert.assertEquals(request.getAgentUri(), actualRequest.getAgentUri()); + Assert.assertEquals(request.getEnvironment(), actualRequest.getEnvironment()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -542,6 +551,9 @@ public void exportAgentExceptionTest() throws Exception { ExportAgentRequest.newBuilder() .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setAgentUri("agentUri1469149223") + .setEnvironment( + EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + .toString()) .build(); client.exportAgentAsync(request).get(); Assert.fail("No exception raised"); diff --git a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/FlowsClientTest.java b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/FlowsClientTest.java index 1d53b0877..3e055ab5a 100644 --- a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/FlowsClientTest.java +++ b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/FlowsClientTest.java @@ -693,4 +693,115 @@ public void getFlowValidationResultExceptionTest2() throws Exception { // Expected exception. } } + + @Test + public void importFlowTest() throws Exception { + ImportFlowResponse expectedResponse = + ImportFlowResponse.newBuilder() + .setFlow(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("importFlowTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockFlows.addResponse(resultOperation); + + ImportFlowRequest request = + ImportFlowRequest.newBuilder() + .setParent(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString()) + .build(); + + ImportFlowResponse actualResponse = client.importFlowAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFlows.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ImportFlowRequest actualRequest = ((ImportFlowRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getParent(), actualRequest.getParent()); + Assert.assertEquals(request.getFlowUri(), actualRequest.getFlowUri()); + Assert.assertEquals(request.getFlowContent(), actualRequest.getFlowContent()); + Assert.assertEquals(request.getImportOption(), actualRequest.getImportOption()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void importFlowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFlows.addException(exception); + + try { + ImportFlowRequest request = + ImportFlowRequest.newBuilder() + .setParent(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString()) + .build(); + client.importFlowAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void exportFlowTest() throws Exception { + ExportFlowResponse expectedResponse = ExportFlowResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportFlowTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockFlows.addResponse(resultOperation); + + ExportFlowRequest request = + ExportFlowRequest.newBuilder() + .setName(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString()) + .setFlowUri("flowUri-765815458") + .setIncludeReferencedFlows(true) + .build(); + + ExportFlowResponse actualResponse = client.exportFlowAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFlows.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ExportFlowRequest actualRequest = ((ExportFlowRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getFlowUri(), actualRequest.getFlowUri()); + Assert.assertEquals( + request.getIncludeReferencedFlows(), actualRequest.getIncludeReferencedFlows()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void exportFlowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFlows.addException(exception); + + try { + ExportFlowRequest request = + ExportFlowRequest.newBuilder() + .setName(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString()) + .setFlowUri("flowUri-765815458") + .setIncludeReferencedFlows(true) + .build(); + client.exportFlowAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } } diff --git a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/MockFlowsImpl.java b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/MockFlowsImpl.java index 710e94736..33585ec4c 100644 --- a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/MockFlowsImpl.java +++ b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/MockFlowsImpl.java @@ -223,4 +223,44 @@ public void getFlowValidationResult( Exception.class.getName()))); } } + + @Override + public void importFlow(ImportFlowRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ImportFlow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void exportFlow(ExportFlowRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExportFlow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsClientTest.java b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsClientTest.java index a5aaf6ecc..6337c665c 100644 --- a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsClientTest.java +++ b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsClientTest.java @@ -180,6 +180,7 @@ public void getAgentTest() throws Exception { .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setDisplayName("displayName1714148973") .setDefaultLanguageCode("defaultLanguageCode2069633606") + .addAllSupportedLanguageCodes(new ArrayList()) .setTimeZone("timeZone-2077180903") .setDescription("description-1724546052") .setAvatarUri("avatarUri-428646061") @@ -230,6 +231,7 @@ public void getAgentTest2() throws Exception { .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setDisplayName("displayName1714148973") .setDefaultLanguageCode("defaultLanguageCode2069633606") + .addAllSupportedLanguageCodes(new ArrayList()) .setTimeZone("timeZone-2077180903") .setDescription("description-1724546052") .setAvatarUri("avatarUri-428646061") @@ -280,6 +282,7 @@ public void createAgentTest() throws Exception { .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setDisplayName("displayName1714148973") .setDefaultLanguageCode("defaultLanguageCode2069633606") + .addAllSupportedLanguageCodes(new ArrayList()) .setTimeZone("timeZone-2077180903") .setDescription("description-1724546052") .setAvatarUri("avatarUri-428646061") @@ -333,6 +336,7 @@ public void createAgentTest2() throws Exception { .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setDisplayName("displayName1714148973") .setDefaultLanguageCode("defaultLanguageCode2069633606") + .addAllSupportedLanguageCodes(new ArrayList()) .setTimeZone("timeZone-2077180903") .setDescription("description-1724546052") .setAvatarUri("avatarUri-428646061") @@ -386,6 +390,7 @@ public void updateAgentTest() throws Exception { .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setDisplayName("displayName1714148973") .setDefaultLanguageCode("defaultLanguageCode2069633606") + .addAllSupportedLanguageCodes(new ArrayList()) .setTimeZone("timeZone-2077180903") .setDescription("description-1724546052") .setAvatarUri("avatarUri-428646061") @@ -515,6 +520,9 @@ public void exportAgentTest() throws Exception { ExportAgentRequest.newBuilder() .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setAgentUri("agentUri1469149223") + .setEnvironment( + EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + .toString()) .build(); ExportAgentResponse actualResponse = client.exportAgentAsync(request).get(); @@ -526,6 +534,7 @@ public void exportAgentTest() throws Exception { Assert.assertEquals(request.getName(), actualRequest.getName()); Assert.assertEquals(request.getAgentUri(), actualRequest.getAgentUri()); + Assert.assertEquals(request.getEnvironment(), actualRequest.getEnvironment()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -542,6 +551,9 @@ public void exportAgentExceptionTest() throws Exception { ExportAgentRequest.newBuilder() .setName(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) .setAgentUri("agentUri1469149223") + .setEnvironment( + EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + .toString()) .build(); client.exportAgentAsync(request).get(); Assert.fail("No exception raised"); diff --git a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClientTest.java b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClientTest.java index 9e9b209f7..55bb66974 100644 --- a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClientTest.java +++ b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClientTest.java @@ -693,4 +693,115 @@ public void getFlowValidationResultExceptionTest2() throws Exception { // Expected exception. } } + + @Test + public void importFlowTest() throws Exception { + ImportFlowResponse expectedResponse = + ImportFlowResponse.newBuilder() + .setFlow(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("importFlowTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockFlows.addResponse(resultOperation); + + ImportFlowRequest request = + ImportFlowRequest.newBuilder() + .setParent(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString()) + .build(); + + ImportFlowResponse actualResponse = client.importFlowAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFlows.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ImportFlowRequest actualRequest = ((ImportFlowRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getParent(), actualRequest.getParent()); + Assert.assertEquals(request.getFlowUri(), actualRequest.getFlowUri()); + Assert.assertEquals(request.getFlowContent(), actualRequest.getFlowContent()); + Assert.assertEquals(request.getImportOption(), actualRequest.getImportOption()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void importFlowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFlows.addException(exception); + + try { + ImportFlowRequest request = + ImportFlowRequest.newBuilder() + .setParent(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString()) + .build(); + client.importFlowAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void exportFlowTest() throws Exception { + ExportFlowResponse expectedResponse = ExportFlowResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportFlowTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockFlows.addResponse(resultOperation); + + ExportFlowRequest request = + ExportFlowRequest.newBuilder() + .setName(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString()) + .setFlowUri("flowUri-765815458") + .setIncludeReferencedFlows(true) + .build(); + + ExportFlowResponse actualResponse = client.exportFlowAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFlows.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ExportFlowRequest actualRequest = ((ExportFlowRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getFlowUri(), actualRequest.getFlowUri()); + Assert.assertEquals( + request.getIncludeReferencedFlows(), actualRequest.getIncludeReferencedFlows()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void exportFlowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFlows.addException(exception); + + try { + ExportFlowRequest request = + ExportFlowRequest.newBuilder() + .setName(FlowName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]").toString()) + .setFlowUri("flowUri-765815458") + .setIncludeReferencedFlows(true) + .build(); + client.exportFlowAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } } diff --git a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/MockFlowsImpl.java b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/MockFlowsImpl.java index b948468a7..bcfb35e22 100644 --- a/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/MockFlowsImpl.java +++ b/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/MockFlowsImpl.java @@ -223,4 +223,44 @@ public void getFlowValidationResult( Exception.class.getName()))); } } + + @Override + public void importFlow(ImportFlowRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ImportFlow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void exportFlow(ExportFlowRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExportFlow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsGrpc.java b/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsGrpc.java index fdb90593d..da7c2069f 100644 --- a/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsGrpc.java @@ -392,6 +392,90 @@ private FlowsGrpc() {} return getGetFlowValidationResultMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest, com.google.longrunning.Operation> + getImportFlowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportFlow", + requestType = com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest, com.google.longrunning.Operation> + getImportFlowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest, com.google.longrunning.Operation> + getImportFlowMethod; + if ((getImportFlowMethod = FlowsGrpc.getImportFlowMethod) == null) { + synchronized (FlowsGrpc.class) { + if ((getImportFlowMethod = FlowsGrpc.getImportFlowMethod) == null) { + FlowsGrpc.getImportFlowMethod = + getImportFlowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportFlow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new FlowsMethodDescriptorSupplier("ImportFlow")) + .build(); + } + } + } + return getImportFlowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest, com.google.longrunning.Operation> + getExportFlowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportFlow", + requestType = com.google.cloud.dialogflow.cx.v3.ExportFlowRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest, com.google.longrunning.Operation> + getExportFlowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest, com.google.longrunning.Operation> + getExportFlowMethod; + if ((getExportFlowMethod = FlowsGrpc.getExportFlowMethod) == null) { + synchronized (FlowsGrpc.class) { + if ((getExportFlowMethod = FlowsGrpc.getExportFlowMethod) == null) { + FlowsGrpc.getExportFlowMethod = + getExportFlowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportFlow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new FlowsMethodDescriptorSupplier("ExportFlow")) + .build(); + } + } + } + return getExportFlowMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static FlowsStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -553,6 +637,34 @@ public void getFlowValidationResult( getGetFlowValidationResultMethod(), responseObserver); } + /** + * + * + *

+     * Imports the specified flow to the specified agent from a binary file.
+     * 
+ */ + public void importFlow( + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportFlowMethod(), responseObserver); + } + + /** + * + * + *
+     * Exports the specified flow to a binary file.
+     * Note that resources (e.g. intents, entities, webhooks) that the flow
+     * references will also be exported.
+     * 
+ */ + public void exportFlow( + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportFlowMethod(), responseObserver); + } + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) @@ -607,6 +719,18 @@ public final io.grpc.ServerServiceDefinition bindService() { com.google.cloud.dialogflow.cx.v3.GetFlowValidationResultRequest, com.google.cloud.dialogflow.cx.v3.FlowValidationResult>( this, METHODID_GET_FLOW_VALIDATION_RESULT))) + .addMethod( + getImportFlowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_FLOW))) + .addMethod( + getExportFlowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest, + com.google.longrunning.Operation>(this, METHODID_EXPORT_FLOW))) .build(); } } @@ -750,6 +874,36 @@ public void getFlowValidationResult( request, responseObserver); } + + /** + * + * + *
+     * Imports the specified flow to the specified agent from a binary file.
+     * 
+ */ + public void importFlow( + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportFlowMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Exports the specified flow to a binary file.
+     * Note that resources (e.g. intents, entities, webhooks) that the flow
+     * references will also be exported.
+     * 
+ */ + public void exportFlow( + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportFlowMethod(), getCallOptions()), request, responseObserver); + } } /** @@ -877,6 +1031,34 @@ public com.google.cloud.dialogflow.cx.v3.FlowValidationResult getFlowValidationR return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFlowValidationResultMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Imports the specified flow to the specified agent from a binary file.
+     * 
+ */ + public com.google.longrunning.Operation importFlow( + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportFlowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Exports the specified flow to a binary file.
+     * Note that resources (e.g. intents, entities, webhooks) that the flow
+     * references will also be exported.
+     * 
+ */ + public com.google.longrunning.Operation exportFlow( + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportFlowMethod(), getCallOptions(), request); + } } /** @@ -1011,6 +1193,34 @@ public com.google.common.util.concurrent.ListenableFuture + * Imports the specified flow to the specified agent from a binary file. + * + */ + public com.google.common.util.concurrent.ListenableFuture + importFlow(com.google.cloud.dialogflow.cx.v3.ImportFlowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportFlowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Exports the specified flow to a binary file.
+     * Note that resources (e.g. intents, entities, webhooks) that the flow
+     * references will also be exported.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportFlow(com.google.cloud.dialogflow.cx.v3.ExportFlowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportFlowMethod(), getCallOptions()), request); + } } private static final int METHODID_CREATE_FLOW = 0; @@ -1021,6 +1231,8 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -1085,6 +1297,16 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_IMPORT_FLOW: + serviceImpl.importFlow( + (com.google.cloud.dialogflow.cx.v3.ImportFlowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_FLOW: + serviceImpl.exportFlow( + (com.google.cloud.dialogflow.cx.v3.ExportFlowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -1155,6 +1377,8 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getTrainFlowMethod()) .addMethod(getValidateFlowMethod()) .addMethod(getGetFlowValidationResultMethod()) + .addMethod(getImportFlowMethod()) + .addMethod(getExportFlowMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsGrpc.java b/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsGrpc.java index 1719e59fc..78a32273f 100644 --- a/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsGrpc.java @@ -22,8 +22,9 @@ * *
  * A session represents an interaction with a user. You retrieve user input
- * and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to determine
- * user intent and respond.
+ * and pass it to the
+ * [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
+ * determine user intent and respond.
  * 
*/ @javax.annotation.Generated( @@ -268,8 +269,9 @@ 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.v3.Sessions.DetectIntent] method to determine
-   * user intent and respond.
+   * and pass it to the
+   * [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
+   * determine user intent and respond.
    * 
*/ public abstract static class SessionsImplBase implements io.grpc.BindableService { @@ -337,9 +339,13 @@ public void matchIntent( * * *
-     * Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
-     * Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
-     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
+     * Fulfills a matched intent returned by
+     * [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
+     * called after
+     * [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
+     * input from
+     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
+     * Otherwise, the behavior is undefined.
      * 
*/ public void fulfillIntent( @@ -390,8 +396,9 @@ 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.v3.Sessions.DetectIntent] method to determine
-   * user intent and respond.
+   * and pass it to the
+   * [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
+   * determine user intent and respond.
    * 
*/ public static final class SessionsStub extends io.grpc.stub.AbstractAsyncStub { @@ -472,9 +479,13 @@ public void matchIntent( * * *
-     * Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
-     * Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
-     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
+     * Fulfills a matched intent returned by
+     * [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
+     * called after
+     * [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
+     * input from
+     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
+     * Otherwise, the behavior is undefined.
      * 
*/ public void fulfillIntent( @@ -493,8 +504,9 @@ 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.v3.Sessions.DetectIntent] method to determine
-   * user intent and respond.
+   * and pass it to the
+   * [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
+   * determine user intent and respond.
    * 
*/ public static final class SessionsBlockingStub @@ -545,9 +557,13 @@ public com.google.cloud.dialogflow.cx.v3.MatchIntentResponse matchIntent( * * *
-     * Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
-     * Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
-     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
+     * Fulfills a matched intent returned by
+     * [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
+     * called after
+     * [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
+     * input from
+     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
+     * Otherwise, the behavior is undefined.
      * 
*/ public com.google.cloud.dialogflow.cx.v3.FulfillIntentResponse fulfillIntent( @@ -562,8 +578,9 @@ public com.google.cloud.dialogflow.cx.v3.FulfillIntentResponse fulfillIntent( * *
    * A session represents an interaction with a user. You retrieve user input
-   * and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to determine
-   * user intent and respond.
+   * and pass it to the
+   * [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
+   * determine user intent and respond.
    * 
*/ public static final class SessionsFutureStub @@ -616,9 +633,13 @@ protected SessionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * * *
-     * Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
-     * Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
-     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
+     * Fulfills a matched intent returned by
+     * [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
+     * called after
+     * [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
+     * input from
+     * [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
+     * Otherwise, the behavior is undefined.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsGrpc.java b/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsGrpc.java index 84865a439..f032bff54 100644 --- a/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsGrpc.java @@ -420,7 +420,7 @@ public void deleteVersion( * * *
-     * Loads a specified version to draft version.
+     * Loads resources in the specified version to the draft flow.
      * 
*/ public void loadVersion( @@ -574,7 +574,7 @@ public void deleteVersion( * * *
-     * Loads a specified version to draft version.
+     * Loads resources in the specified version to the draft flow.
      * 
*/ public void loadVersion( @@ -674,7 +674,7 @@ public com.google.protobuf.Empty deleteVersion( * * *
-     * Loads a specified version to draft version.
+     * Loads resources in the specified version to the draft flow.
      * 
*/ public com.google.longrunning.Operation loadVersion( @@ -774,7 +774,7 @@ protected VersionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * * *
-     * Loads a specified version to draft version.
+     * Loads resources in the specified version to the draft flow.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsGrpc.java b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsGrpc.java index 8da6f4187..f075b62dc 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsGrpc.java @@ -395,6 +395,96 @@ private FlowsGrpc() {} return getGetFlowValidationResultMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest, + com.google.longrunning.Operation> + getImportFlowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportFlow", + requestType = com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest, + com.google.longrunning.Operation> + getImportFlowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest, + com.google.longrunning.Operation> + getImportFlowMethod; + if ((getImportFlowMethod = FlowsGrpc.getImportFlowMethod) == null) { + synchronized (FlowsGrpc.class) { + if ((getImportFlowMethod = FlowsGrpc.getImportFlowMethod) == null) { + FlowsGrpc.getImportFlowMethod = + getImportFlowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportFlow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new FlowsMethodDescriptorSupplier("ImportFlow")) + .build(); + } + } + } + return getImportFlowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest, + com.google.longrunning.Operation> + getExportFlowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportFlow", + requestType = com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest, + com.google.longrunning.Operation> + getExportFlowMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest, + com.google.longrunning.Operation> + getExportFlowMethod; + if ((getExportFlowMethod = FlowsGrpc.getExportFlowMethod) == null) { + synchronized (FlowsGrpc.class) { + if ((getExportFlowMethod = FlowsGrpc.getExportFlowMethod) == null) { + FlowsGrpc.getExportFlowMethod = + getExportFlowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportFlow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new FlowsMethodDescriptorSupplier("ExportFlow")) + .build(); + } + } + } + return getExportFlowMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static FlowsStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -556,6 +646,34 @@ public void getFlowValidationResult( getGetFlowValidationResultMethod(), responseObserver); } + /** + * + * + *
+     * Imports the specified flow to the specified agent from a binary file.
+     * 
+ */ + public void importFlow( + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportFlowMethod(), responseObserver); + } + + /** + * + * + *
+     * Exports the specified flow to a binary file.
+     * Note that resources (e.g. intents, entities, webhooks) that the flow
+     * references will also be exported.
+     * 
+ */ + public void exportFlow( + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportFlowMethod(), responseObserver); + } + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) @@ -610,6 +728,18 @@ public final io.grpc.ServerServiceDefinition bindService() { com.google.cloud.dialogflow.cx.v3beta1.GetFlowValidationResultRequest, com.google.cloud.dialogflow.cx.v3beta1.FlowValidationResult>( this, METHODID_GET_FLOW_VALIDATION_RESULT))) + .addMethod( + getImportFlowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_FLOW))) + .addMethod( + getExportFlowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest, + com.google.longrunning.Operation>(this, METHODID_EXPORT_FLOW))) .build(); } } @@ -753,6 +883,36 @@ public void getFlowValidationResult( request, responseObserver); } + + /** + * + * + *
+     * Imports the specified flow to the specified agent from a binary file.
+     * 
+ */ + public void importFlow( + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportFlowMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Exports the specified flow to a binary file.
+     * Note that resources (e.g. intents, entities, webhooks) that the flow
+     * references will also be exported.
+     * 
+ */ + public void exportFlow( + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportFlowMethod(), getCallOptions()), request, responseObserver); + } } /** @@ -880,6 +1040,34 @@ public com.google.cloud.dialogflow.cx.v3beta1.FlowValidationResult getFlowValida return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFlowValidationResultMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Imports the specified flow to the specified agent from a binary file.
+     * 
+ */ + public com.google.longrunning.Operation importFlow( + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportFlowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Exports the specified flow to a binary file.
+     * Note that resources (e.g. intents, entities, webhooks) that the flow
+     * references will also be exported.
+     * 
+ */ + public com.google.longrunning.Operation exportFlow( + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportFlowMethod(), getCallOptions(), request); + } } /** @@ -1014,6 +1202,34 @@ public com.google.common.util.concurrent.ListenableFuture + * Imports the specified flow to the specified agent from a binary file. + * + */ + public com.google.common.util.concurrent.ListenableFuture + importFlow(com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportFlowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Exports the specified flow to a binary file.
+     * Note that resources (e.g. intents, entities, webhooks) that the flow
+     * references will also be exported.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportFlow(com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportFlowMethod(), getCallOptions()), request); + } } private static final int METHODID_CREATE_FLOW = 0; @@ -1024,6 +1240,8 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -1091,6 +1309,16 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv com.google.cloud.dialogflow.cx.v3beta1.FlowValidationResult>) responseObserver); break; + case METHODID_IMPORT_FLOW: + serviceImpl.importFlow( + (com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_FLOW: + serviceImpl.exportFlow( + (com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -1161,6 +1389,8 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getTrainFlowMethod()) .addMethod(getValidateFlowMethod()) .addMethod(getGetFlowValidationResultMethod()) + .addMethod(getImportFlowMethod()) + .addMethod(getExportFlowMethod()) .build(); } } 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 e3903c569..7c9dbaf0d 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 @@ -22,8 +22,9 @@ * *
  * 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( @@ -268,8 +269,9 @@ 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 { @@ -337,9 +339,13 @@ 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( @@ -390,8 +396,9 @@ 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 { @@ -472,9 +479,13 @@ 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( @@ -493,8 +504,9 @@ 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 @@ -545,9 +557,13 @@ 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( @@ -562,8 +578,9 @@ 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,9 +633,13 @@ 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/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsGrpc.java b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsGrpc.java index f375e291a..f9ebf75da 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsGrpc.java @@ -427,7 +427,7 @@ public void deleteVersion( * * *
-     * Loads a specified version to draft version.
+     * Loads resources in the specified version to the draft flow.
      * 
*/ public void loadVersion( @@ -584,7 +584,7 @@ public void deleteVersion( * * *
-     * Loads a specified version to draft version.
+     * Loads resources in the specified version to the draft flow.
      * 
*/ public void loadVersion( @@ -684,7 +684,7 @@ public com.google.protobuf.Empty deleteVersion( * * *
-     * Loads a specified version to draft version.
+     * Loads resources in the specified version to the draft flow.
      * 
*/ public com.google.longrunning.Operation loadVersion( @@ -784,7 +784,7 @@ protected VersionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * * *
-     * Loads a specified version to draft version.
+     * Loads resources in the specified version to the draft flow.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Agent.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Agent.java index a3bf74da1..d3e2f4657 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Agent.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Agent.java @@ -47,6 +47,7 @@ private Agent() { name_ = ""; displayName_ = ""; defaultLanguageCode_ = ""; + supportedLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; timeZone_ = ""; description_ = ""; avatarUri_ = ""; @@ -73,6 +74,7 @@ private Agent( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -104,6 +106,16 @@ private Agent( defaultLanguageCode_ = s; break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedLanguageCodes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + supportedLanguageCodes_.add(s); + break; + } case 42: { java.lang.String s = input.readStringRequireUtf8(); @@ -180,6 +192,9 @@ private Agent( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + supportedLanguageCodes_ = supportedLanguageCodes_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -361,6 +376,71 @@ public com.google.protobuf.ByteString getDefaultLanguageCodeBytes() { } } + public static final int SUPPORTED_LANGUAGE_CODES_FIELD_NUMBER = 4; + private com.google.protobuf.LazyStringList supportedLanguageCodes_; + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @return A list containing the supportedLanguageCodes. + */ + public com.google.protobuf.ProtocolStringList getSupportedLanguageCodesList() { + return supportedLanguageCodes_; + } + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @return The count of supportedLanguageCodes. + */ + public int getSupportedLanguageCodesCount() { + return supportedLanguageCodes_.size(); + } + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the element to return. + * @return The supportedLanguageCodes at the given index. + */ + public java.lang.String getSupportedLanguageCodes(int index) { + return supportedLanguageCodes_.get(index); + } + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the value to return. + * @return The bytes of the supportedLanguageCodes at the given index. + */ + public com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index) { + return supportedLanguageCodes_.getByteString(index); + } + public static final int TIME_ZONE_FIELD_NUMBER = 5; private volatile java.lang.Object timeZone_; /** @@ -743,6 +823,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getDefaultLanguageCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultLanguageCode_); } + for (int i = 0; i < supportedLanguageCodes_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, supportedLanguageCodes_.getRaw(i)); + } if (!getTimeZoneBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, timeZone_); } @@ -785,6 +869,14 @@ public int getSerializedSize() { if (!getDefaultLanguageCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultLanguageCode_); } + { + int dataSize = 0; + for (int i = 0; i < supportedLanguageCodes_.size(); i++) { + dataSize += computeStringSizeNoTag(supportedLanguageCodes_.getRaw(i)); + } + size += dataSize; + size += 1 * getSupportedLanguageCodesList().size(); + } if (!getTimeZoneBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, timeZone_); } @@ -828,6 +920,8 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getDefaultLanguageCode().equals(other.getDefaultLanguageCode())) return false; + if (!getSupportedLanguageCodesList().equals(other.getSupportedLanguageCodesList())) + return false; if (!getTimeZone().equals(other.getTimeZone())) return false; if (!getDescription().equals(other.getDescription())) return false; if (!getAvatarUri().equals(other.getAvatarUri())) return false; @@ -856,6 +950,10 @@ public int hashCode() { hash = (53 * hash) + getDisplayName().hashCode(); hash = (37 * hash) + DEFAULT_LANGUAGE_CODE_FIELD_NUMBER; hash = (53 * hash) + getDefaultLanguageCode().hashCode(); + if (getSupportedLanguageCodesCount() > 0) { + hash = (37 * hash) + SUPPORTED_LANGUAGE_CODES_FIELD_NUMBER; + hash = (53 * hash) + getSupportedLanguageCodesList().hashCode(); + } hash = (37 * hash) + TIME_ZONE_FIELD_NUMBER; hash = (53 * hash) + getTimeZone().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; @@ -1031,6 +1129,8 @@ public Builder clear() { defaultLanguageCode_ = ""; + supportedLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); timeZone_ = ""; description_ = ""; @@ -1078,9 +1178,15 @@ public com.google.cloud.dialogflow.cx.v3.Agent build() { public com.google.cloud.dialogflow.cx.v3.Agent buildPartial() { com.google.cloud.dialogflow.cx.v3.Agent result = new com.google.cloud.dialogflow.cx.v3.Agent(this); + int from_bitField0_ = bitField0_; result.name_ = name_; result.displayName_ = displayName_; result.defaultLanguageCode_ = defaultLanguageCode_; + if (((bitField0_ & 0x00000001) != 0)) { + supportedLanguageCodes_ = supportedLanguageCodes_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.supportedLanguageCodes_ = supportedLanguageCodes_; result.timeZone_ = timeZone_; result.description_ = description_; result.avatarUri_ = avatarUri_; @@ -1154,6 +1260,16 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.Agent other) { defaultLanguageCode_ = other.defaultLanguageCode_; onChanged(); } + if (!other.supportedLanguageCodes_.isEmpty()) { + if (supportedLanguageCodes_.isEmpty()) { + supportedLanguageCodes_ = other.supportedLanguageCodes_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSupportedLanguageCodesIsMutable(); + supportedLanguageCodes_.addAll(other.supportedLanguageCodes_); + } + onChanged(); + } if (!other.getTimeZone().isEmpty()) { timeZone_ = other.timeZone_; onChanged(); @@ -1212,6 +1328,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private java.lang.Object name_ = ""; /** * @@ -1565,6 +1683,184 @@ public Builder setDefaultLanguageCodeBytes(com.google.protobuf.ByteString value) return this; } + private com.google.protobuf.LazyStringList supportedLanguageCodes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureSupportedLanguageCodesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + supportedLanguageCodes_ = + new com.google.protobuf.LazyStringArrayList(supportedLanguageCodes_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @return A list containing the supportedLanguageCodes. + */ + public com.google.protobuf.ProtocolStringList getSupportedLanguageCodesList() { + return supportedLanguageCodes_.getUnmodifiableView(); + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @return The count of supportedLanguageCodes. + */ + public int getSupportedLanguageCodesCount() { + return supportedLanguageCodes_.size(); + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the element to return. + * @return The supportedLanguageCodes at the given index. + */ + public java.lang.String getSupportedLanguageCodes(int index) { + return supportedLanguageCodes_.get(index); + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the value to return. + * @return The bytes of the supportedLanguageCodes at the given index. + */ + public com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index) { + return supportedLanguageCodes_.getByteString(index); + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index to set the value at. + * @param value The supportedLanguageCodes to set. + * @return This builder for chaining. + */ + public Builder setSupportedLanguageCodes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSupportedLanguageCodesIsMutable(); + supportedLanguageCodes_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param value The supportedLanguageCodes to add. + * @return This builder for chaining. + */ + public Builder addSupportedLanguageCodes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSupportedLanguageCodesIsMutable(); + supportedLanguageCodes_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param values The supportedLanguageCodes to add. + * @return This builder for chaining. + */ + public Builder addAllSupportedLanguageCodes(java.lang.Iterable values) { + ensureSupportedLanguageCodesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedLanguageCodes_); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @return This builder for chaining. + */ + public Builder clearSupportedLanguageCodes() { + supportedLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param value The bytes of the supportedLanguageCodes to add. + * @return This builder for chaining. + */ + public Builder addSupportedLanguageCodesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureSupportedLanguageCodesIsMutable(); + supportedLanguageCodes_.add(value); + onChanged(); + return this; + } + private java.lang.Object timeZone_ = ""; /** * diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentOrBuilder.java index 14ace9bbd..64690791f 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentOrBuilder.java @@ -112,6 +112,61 @@ public interface AgentOrBuilder */ com.google.protobuf.ByteString getDefaultLanguageCodeBytes(); + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @return A list containing the supportedLanguageCodes. + */ + java.util.List getSupportedLanguageCodesList(); + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @return The count of supportedLanguageCodes. + */ + int getSupportedLanguageCodesCount(); + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the element to return. + * @return The supportedLanguageCodes at the given index. + */ + java.lang.String getSupportedLanguageCodes(int index); + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the value to return. + * @return The bytes of the supportedLanguageCodes at the given index. + */ + com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index); + /** * * diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentProto.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentProto.java index 845e860a5..9642edd68 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentProto.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentProto.java @@ -97,114 +97,118 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le/api/annotations.proto\032\027google/api/cli" + "ent.proto\032\037google/api/field_behavior.pro" + "to\032\031google/api/resource.proto\032(google/cl" - + "oud/dialogflow/cx/v3/flow.proto\032#google/" - + "longrunning/operations.proto\032\033google/pro" - + "tobuf/empty.proto\032 google/protobuf/field" - + "_mask.proto\"8\n\024SpeechToTextSettings\022 \n\030e" - + "nable_speech_adaptation\030\001 \001(\010\"\226\004\n\005Agent\022" - + "\014\n\004name\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002" - + "\022\"\n\025default_language_code\030\003 \001(\tB\003\340A\005\022\026\n\t" - + "time_zone\030\005 \001(\tB\003\340A\002\022\023\n\013description\030\006 \001(" - + "\t\022\022\n\navatar_uri\030\007 \001(\t\022T\n\027speech_to_text_" - + "settings\030\r \001(\01323.google.cloud.dialogflow" - + ".cx.v3.SpeechToTextSettings\022:\n\nstart_flo" - + "w\030\020 \001(\tB&\340A\005\372A \n\036dialogflow.googleapis.c" - + "om/Flow\022J\n\021security_settings\030\021 \001(\tB/\372A,\n" - + "*dialogflow.googleapis.com/SecuritySetti" - + "ngs\022\"\n\032enable_stackdriver_logging\030\022 \001(\010\022" - + "\037\n\027enable_spell_correction\030\024 \001(\010:\\\352AY\n\037d" - + "ialogflow.googleapis.com/Agent\0226projects" - + "/{project}/locations/{location}/agents/{" - + "agent}\"s\n\021ListAgentsRequest\0227\n\006parent\030\001 " - + "\001(\tB\'\340A\002\372A!\022\037dialogflow.googleapis.com/A" - + "gent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\"c\n\022ListAgentsResponse\0224\n\006agents\030\001 \003(" - + "\0132$.google.cloud.dialogflow.cx.v3.Agent\022" - + "\027\n\017next_page_token\030\002 \001(\t\"H\n\017GetAgentRequ" + + "oud/dialogflow/cx/v3/flow.proto\0325google/" + + "cloud/dialogflow/cx/v3/security_settings" + + ".proto\032#google/longrunning/operations.pr" + + "oto\032\033google/protobuf/empty.proto\032 google" + + "/protobuf/field_mask.proto\"8\n\024SpeechToTe" + + "xtSettings\022 \n\030enable_speech_adaptation\030\001" + + " \001(\010\"\270\004\n\005Agent\022\014\n\004name\030\001 \001(\t\022\031\n\014display_" + + "name\030\002 \001(\tB\003\340A\002\022\"\n\025default_language_code" + + "\030\003 \001(\tB\003\340A\005\022 \n\030supported_language_codes\030" + + "\004 \003(\t\022\026\n\ttime_zone\030\005 \001(\tB\003\340A\002\022\023\n\013descrip" + + "tion\030\006 \001(\t\022\022\n\navatar_uri\030\007 \001(\t\022T\n\027speech" + + "_to_text_settings\030\r \001(\01323.google.cloud.d" + + "ialogflow.cx.v3.SpeechToTextSettings\022:\n\n" + + "start_flow\030\020 \001(\tB&\340A\005\372A \n\036dialogflow.goo" + + "gleapis.com/Flow\022J\n\021security_settings\030\021 " + + "\001(\tB/\372A,\n*dialogflow.googleapis.com/Secu" + + "ritySettings\022\"\n\032enable_stackdriver_loggi" + + "ng\030\022 \001(\010\022\037\n\027enable_spell_correction\030\024 \001(" + + "\010:\\\352AY\n\037dialogflow.googleapis.com/Agent\022" + + "6projects/{project}/locations/{location}" + + "/agents/{agent}\"s\n\021ListAgentsRequest\0227\n\006" + + "parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflow.googlea" + + "pis.com/Agent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\"c\n\022ListAgentsResponse\0224\n\006ag" + + "ents\030\001 \003(\0132$.google.cloud.dialogflow.cx." + + "v3.Agent\022\027\n\017next_page_token\030\002 \001(\t\"H\n\017Get" + + "AgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dial" + + "ogflow.googleapis.com/Agent\"\207\001\n\022CreateAg" + + "entRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dial" + + "ogflow.googleapis.com/Agent\0228\n\005agent\030\002 \001" + + "(\0132$.google.cloud.dialogflow.cx.v3.Agent" + + "B\003\340A\002\"\177\n\022UpdateAgentRequest\0228\n\005agent\030\001 \001" + + "(\0132$.google.cloud.dialogflow.cx.v3.Agent" + + "B\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.prot" + + "obuf.FieldMask\"K\n\022DeleteAgentRequest\0225\n\004" + + "name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapi" + + "s.com/Agent\"\247\001\n\022ExportAgentRequest\0225\n\004na" + + "me\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis." + + "com/Agent\022\026\n\tagent_uri\030\002 \001(\tB\003\340A\001\022B\n\013env" + + "ironment\030\005 \001(\tB-\340A\001\372A\'\n%dialogflow.googl" + + "eapis.com/Environment\"L\n\023ExportAgentResp" + + "onse\022\023\n\tagent_uri\030\001 \001(\tH\000\022\027\n\ragent_conte" + + "nt\030\002 \001(\014H\000B\007\n\005agent\"\246\002\n\023RestoreAgentRequ" + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.go" - + "ogleapis.com/Agent\"\207\001\n\022CreateAgentReques" - + "t\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflow.go" - + "ogleapis.com/Agent\0228\n\005agent\030\002 \001(\0132$.goog" - + "le.cloud.dialogflow.cx.v3.AgentB\003\340A\002\"\177\n\022" - + "UpdateAgentRequest\0228\n\005agent\030\001 \001(\0132$.goog" - + "le.cloud.dialogflow.cx.v3.AgentB\003\340A\002\022/\n\013" - + "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" - + "dMask\"K\n\022DeleteAgentRequest\0225\n\004name\030\001 \001(" - + "\tB\'\340A\002\372A!\n\037dialogflow.googleapis.com/Age" - + "nt\"c\n\022ExportAgentRequest\0225\n\004name\030\001 \001(\tB\'" - + "\340A\002\372A!\n\037dialogflow.googleapis.com/Agent\022" - + "\026\n\tagent_uri\030\002 \001(\tB\003\340A\001\"L\n\023ExportAgentRe" - + "sponse\022\023\n\tagent_uri\030\001 \001(\tH\000\022\027\n\ragent_con" - + "tent\030\002 \001(\014H\000B\007\n\005agent\"\246\002\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\000\022X\n\016restore_op" - + "tion\030\005 \001(\0162@.google.cloud.dialogflow.cx." - + "v3.RestoreAgentRequest.RestoreOption\"G\n\r" - + "RestoreOption\022\036\n\032RESTORE_OPTION_UNSPECIF" - + "IED\020\000\022\010\n\004KEEP\020\001\022\014\n\010FALLBACK\020\002B\007\n\005agent\"d" - + "\n\024ValidateAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A" - + "\002\372A!\n\037dialogflow.googleapis.com/Agent\022\025\n" - + "\rlanguage_code\030\002 \001(\t\"\177\n\037GetAgentValidati" - + "onResultRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/d" - + "ialogflow.googleapis.com/AgentValidation" - + "Result\022\025\n\rlanguage_code\030\002 \001(\t\"\372\001\n\025AgentV" - + "alidationResult\022\014\n\004name\030\001 \001(\t\022T\n\027flow_va" - + "lidation_results\030\002 \003(\01323.google.cloud.di" - + "alogflow.cx.v3.FlowValidationResult:}\352Az" - + "\n/dialogflow.googleapis.com/AgentValidat" - + "ionResult\022Gprojects/{project}/locations/" - + "{location}/agents/{agent}/validationResu" - + "lt2\231\016\n\006Agents\022\256\001\n\nListAgents\0220.google.cl" - + "oud.dialogflow.cx.v3.ListAgentsRequest\0321" - + ".google.cloud.dialogflow.cx.v3.ListAgent" - + "sResponse\";\202\323\344\223\002,\022*/v3/{parent=projects/" - + "*/locations/*}/agents\332A\006parent\022\233\001\n\010GetAg" - + "ent\022..google.cloud.dialogflow.cx.v3.GetA" - + "gentRequest\032$.google.cloud.dialogflow.cx" - + ".v3.Agent\"9\202\323\344\223\002,\022*/v3/{name=projects/*/" - + "locations/*/agents/*}\332A\004name\022\260\001\n\013CreateA" - + "gent\0221.google.cloud.dialogflow.cx.v3.Cre" - + "ateAgentRequest\032$.google.cloud.dialogflo" - + "w.cx.v3.Agent\"H\202\323\344\223\0023\"*/v3/{parent=proje" - + "cts/*/locations/*}/agents:\005agent\332A\014paren" - + "t,agent\022\273\001\n\013UpdateAgent\0221.google.cloud.d" - + "ialogflow.cx.v3.UpdateAgentRequest\032$.goo" - + "gle.cloud.dialogflow.cx.v3.Agent\"S\202\323\344\223\0029" - + "20/v3/{agent.name=projects/*/locations/*" - + "/agents/*}:\005agent\332A\021agent,update_mask\022\223\001" - + "\n\013DeleteAgent\0221.google.cloud.dialogflow." - + "cx.v3.DeleteAgentRequest\032\026.google.protob" - + "uf.Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/l" - + "ocations/*/agents/*}\332A\004name\022\315\001\n\013ExportAg" - + "ent\0221.google.cloud.dialogflow.cx.v3.Expo" - + "rtAgentRequest\032\035.google.longrunning.Oper" - + "ation\"l\202\323\344\223\0026\"1/v3/{name=projects/*/loca" - + "tions/*/agents/*}:export:\001*\312A-\n\023ExportAg" - + "entResponse\022\026google.protobuf.Struct\022\322\001\n\014" - + "RestoreAgent\0222.google.cloud.dialogflow.c" - + "x.v3.RestoreAgentRequest\032\035.google.longru" - + "nning.Operation\"o\202\323\344\223\0027\"2/v3/{name=proje" - + "cts/*/locations/*/agents/*}:restore:\001*\312A" - + "/\n\025google.protobuf.Empty\022\026google.protobu" - + "f.Struct\022\272\001\n\rValidateAgent\0223.google.clou" - + "d.dialogflow.cx.v3.ValidateAgentRequest\032" - + "4.google.cloud.dialogflow.cx.v3.AgentVal" - + "idationResult\">\202\323\344\223\0028\"3/v3/{name=project" - + "s/*/locations/*/agents/*}:validate:\001*\022\334\001" - + "\n\030GetAgentValidationResult\022>.google.clou" - + "d.dialogflow.cx.v3.GetAgentValidationRes" - + "ultRequest\0324.google.cloud.dialogflow.cx." - + "v3.AgentValidationResult\"J\202\323\344\223\002=\022;/v3/{n" - + "ame=projects/*/locations/*/agents/*/vali" - + "dationResult}\332A\004name\032x\312A\031dialogflow.goog" - + "leapis.com\322AYhttps://www.googleapis.com/" - + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/dialogflowB\232\001\n!com.google.cl" - + "oud.dialogflow.cx.v3B\nAgentProtoP\001Z?goog" - + "le.golang.org/genproto/googleapis/cloud/" - + "dialogflow/cx/v3;cx\370\001\001\242\002\002DF\252\002\035Google.Clo" - + "ud.Dialogflow.Cx.V3b\006proto3" + + "ogleapis.com/Agent\022\023\n\tagent_uri\030\002 \001(\tH\000\022" + + "\027\n\ragent_content\030\003 \001(\014H\000\022X\n\016restore_opti" + + "on\030\005 \001(\0162@.google.cloud.dialogflow.cx.v3" + + ".RestoreAgentRequest.RestoreOption\"G\n\rRe" + + "storeOption\022\036\n\032RESTORE_OPTION_UNSPECIFIE" + + "D\020\000\022\010\n\004KEEP\020\001\022\014\n\010FALLBACK\020\002B\007\n\005agent\"d\n\024" + + "ValidateAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + + "A!\n\037dialogflow.googleapis.com/Agent\022\025\n\rl" + + "anguage_code\030\002 \001(\t\"\177\n\037GetAgentValidation" + + "ResultRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/dia" + + "logflow.googleapis.com/AgentValidationRe" + + "sult\022\025\n\rlanguage_code\030\002 \001(\t\"\372\001\n\025AgentVal" + + "idationResult\022\014\n\004name\030\001 \001(\t\022T\n\027flow_vali" + + "dation_results\030\002 \003(\01323.google.cloud.dial" + + "ogflow.cx.v3.FlowValidationResult:}\352Az\n/" + + "dialogflow.googleapis.com/AgentValidatio" + + "nResult\022Gprojects/{project}/locations/{l" + + "ocation}/agents/{agent}/validationResult" + + "2\231\016\n\006Agents\022\256\001\n\nListAgents\0220.google.clou" + + "d.dialogflow.cx.v3.ListAgentsRequest\0321.g" + + "oogle.cloud.dialogflow.cx.v3.ListAgentsR" + + "esponse\";\202\323\344\223\002,\022*/v3/{parent=projects/*/" + + "locations/*}/agents\332A\006parent\022\233\001\n\010GetAgen" + + "t\022..google.cloud.dialogflow.cx.v3.GetAge" + + "ntRequest\032$.google.cloud.dialogflow.cx.v" + + "3.Agent\"9\202\323\344\223\002,\022*/v3/{name=projects/*/lo" + + "cations/*/agents/*}\332A\004name\022\260\001\n\013CreateAge" + + "nt\0221.google.cloud.dialogflow.cx.v3.Creat" + + "eAgentRequest\032$.google.cloud.dialogflow." + + "cx.v3.Agent\"H\202\323\344\223\0023\"*/v3/{parent=project" + + "s/*/locations/*}/agents:\005agent\332A\014parent," + + "agent\022\273\001\n\013UpdateAgent\0221.google.cloud.dia" + + "logflow.cx.v3.UpdateAgentRequest\032$.googl" + + "e.cloud.dialogflow.cx.v3.Agent\"S\202\323\344\223\002920" + + "/v3/{agent.name=projects/*/locations/*/a" + + "gents/*}:\005agent\332A\021agent,update_mask\022\223\001\n\013" + + "DeleteAgent\0221.google.cloud.dialogflow.cx" + + ".v3.DeleteAgentRequest\032\026.google.protobuf" + + ".Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/loc" + + "ations/*/agents/*}\332A\004name\022\315\001\n\013ExportAgen" + + "t\0221.google.cloud.dialogflow.cx.v3.Export" + + "AgentRequest\032\035.google.longrunning.Operat" + + "ion\"l\202\323\344\223\0026\"1/v3/{name=projects/*/locati" + + "ons/*/agents/*}:export:\001*\312A-\n\023ExportAgen" + + "tResponse\022\026google.protobuf.Struct\022\322\001\n\014Re" + + "storeAgent\0222.google.cloud.dialogflow.cx." + + "v3.RestoreAgentRequest\032\035.google.longrunn" + + "ing.Operation\"o\202\323\344\223\0027\"2/v3/{name=project" + + "s/*/locations/*/agents/*}:restore:\001*\312A/\n" + + "\025google.protobuf.Empty\022\026google.protobuf." + + "Struct\022\272\001\n\rValidateAgent\0223.google.cloud." + + "dialogflow.cx.v3.ValidateAgentRequest\0324." + + "google.cloud.dialogflow.cx.v3.AgentValid" + + "ationResult\">\202\323\344\223\0028\"3/v3/{name=projects/" + + "*/locations/*/agents/*}:validate:\001*\022\334\001\n\030" + + "GetAgentValidationResult\022>.google.cloud." + + "dialogflow.cx.v3.GetAgentValidationResul" + + "tRequest\0324.google.cloud.dialogflow.cx.v3" + + ".AgentValidationResult\"J\202\323\344\223\002=\022;/v3/{nam" + + "e=projects/*/locations/*/agents/*/valida" + + "tionResult}\332A\004name\032x\312A\031dialogflow.google" + + "apis.com\322AYhttps://www.googleapis.com/au" + + "th/cloud-platform,https://www.googleapis" + + ".com/auth/dialogflowB\232\001\n!com.google.clou" + + "d.dialogflow.cx.v3B\nAgentProtoP\001Z?google" + + ".golang.org/genproto/googleapis/cloud/di" + + "alogflow/cx/v3;cx\370\001\001\242\002\002DF\252\002\035Google.Cloud" + + ".Dialogflow.Cx.V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -215,6 +219,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.dialogflow.cx.v3.FlowProto.getDescriptor(), + com.google.cloud.dialogflow.cx.v3.SecuritySettingsProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), @@ -236,6 +241,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DisplayName", "DefaultLanguageCode", + "SupportedLanguageCodes", "TimeZone", "Description", "AvatarUri", @@ -299,7 +305,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3_ExportAgentRequest_descriptor, new java.lang.String[] { - "Name", "AgentUri", + "Name", "AgentUri", "Environment", }); internal_static_google_cloud_dialogflow_cx_v3_ExportAgentResponse_descriptor = getDescriptor().getMessageTypes().get(9); @@ -358,6 +364,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.dialogflow.cx.v3.FlowProto.getDescriptor(); + com.google.cloud.dialogflow.cx.v3.SecuritySettingsProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInput.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInput.java index 80ffebdfe..03f1370f4 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInput.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInput.java @@ -188,8 +188,9 @@ public com.google.cloud.dialogflow.cx.v3.InputAudioConfigOrBuilder getConfigOrBu *
    * 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.v3.QueryResult.transcript] cannot contain more than 256
-   * bytes.
+   * The [transcribed
+   * text][google.cloud.dialogflow.cx.v3.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
@@ -759,8 +760,9 @@ public com.google.cloud.dialogflow.cx.v3.InputAudioConfigOrBuilder getConfigOrBu
      * 
      * 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.v3.QueryResult.transcript] cannot contain more than 256
-     * bytes.
+     * The [transcribed
+     * text][google.cloud.dialogflow.cx.v3.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
@@ -781,8 +783,9 @@ 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.v3.QueryResult.transcript] cannot contain more than 256
-     * bytes.
+     * The [transcribed
+     * text][google.cloud.dialogflow.cx.v3.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
@@ -809,8 +812,9 @@ 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.v3.QueryResult.transcript] cannot contain more than 256
-     * bytes.
+     * The [transcribed
+     * text][google.cloud.dialogflow.cx.v3.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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInputOrBuilder.java
index a8e337ffc..6700e8ef0 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInputOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInputOrBuilder.java
@@ -70,8 +70,9 @@ 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.v3.QueryResult.transcript] cannot contain more than 256
-   * bytes.
+   * The [transcribed
+   * text][google.cloud.dialogflow.cx.v3.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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateFlowRequest.java
index 33be9d04e..32c8c8f4f 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateFlowRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateFlowRequest.java
@@ -247,7 +247,9 @@ public com.google.cloud.dialogflow.cx.v3.FlowOrBuilder getFlowOrBuilder() {
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -277,7 +279,9 @@ public java.lang.String getLanguageCode() {
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -982,7 +986,9 @@ public com.google.cloud.dialogflow.cx.v3.FlowOrBuilder getFlowOrBuilder() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1011,7 +1017,9 @@ public java.lang.String getLanguageCode() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1040,7 +1048,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1068,7 +1078,9 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1092,7 +1104,9 @@ public Builder clearLanguageCode() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateFlowRequestOrBuilder.java
index 7810f2f68..0076e82a4 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateFlowRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateFlowRequestOrBuilder.java
@@ -98,7 +98,9 @@ public interface CreateFlowRequestOrBuilder
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -117,7 +119,9 @@ public interface CreateFlowRequestOrBuilder
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreatePageRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreatePageRequest.java
index 9432f43ea..99645ef86 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreatePageRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreatePageRequest.java
@@ -249,11 +249,17 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getPageOrBuilder() {
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -283,11 +289,17 @@ public java.lang.String getLanguageCode() {
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -997,11 +1009,17 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getPageOrBuilder() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1030,11 +1048,17 @@ public java.lang.String getLanguageCode() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1063,11 +1087,17 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1095,11 +1125,17 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1123,11 +1159,17 @@ public Builder clearLanguageCode() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreatePageRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreatePageRequestOrBuilder.java
index 7c87b3872..5ab6b0b47 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreatePageRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreatePageRequestOrBuilder.java
@@ -100,11 +100,17 @@ public interface CreatePageRequestOrBuilder
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -123,11 +129,17 @@ public interface CreatePageRequestOrBuilder
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateTransitionRouteGroupRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateTransitionRouteGroupRequest.java
index 7c25dec42..7cb4622d1 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateTransitionRouteGroupRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateTransitionRouteGroupRequest.java
@@ -255,9 +255,10 @@ public com.google.cloud.dialogflow.cx.v3.TransitionRouteGroup getTransitionRoute
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -285,9 +286,10 @@ public java.lang.String getLanguageCode() {
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1024,9 +1026,10 @@ public Builder clearTransitionRouteGroup() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1053,9 +1056,10 @@ public java.lang.String getLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1082,9 +1086,10 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1110,9 +1115,10 @@ public Builder setLanguageCode(java.lang.String value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1134,9 +1140,10 @@ public Builder clearLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateTransitionRouteGroupRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateTransitionRouteGroupRequestOrBuilder.java
index d072fb6ba..a49fcdf01 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateTransitionRouteGroupRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CreateTransitionRouteGroupRequestOrBuilder.java
@@ -102,9 +102,10 @@ public interface CreateTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -121,9 +122,10 @@ public interface CreateTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponse.java
index 4762cd36d..cf48f0d03 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponse.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponse.java
@@ -258,9 +258,9 @@ public com.google.cloud.dialogflow.cx.v3.QueryResultOrBuilder getQueryResultOrBu
    * 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.v3.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.v3.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
@@ -1020,9 +1020,9 @@ public com.google.cloud.dialogflow.cx.v3.QueryResultOrBuilder getQueryResultOrBu
      * 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.v3.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.v3.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
@@ -1044,9 +1044,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.v3.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.v3.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
@@ -1074,9 +1074,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.v3.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.v3.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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponseOrBuilder.java
index d1665648c..70e5dc9b2 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponseOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/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.v3.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.v3.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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Experiment.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Experiment.java
index 66d40742d..2709a7e78 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Experiment.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Experiment.java
@@ -4730,7 +4730,7 @@ public interface VersionMetricsOrBuilder
        *
        * 
        * The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
-       * Format: `projects/<Project Number>/locations/<Location
+       * Format: `projects/<Project ID>/locations/<Location
        * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
        * 
* @@ -4744,7 +4744,7 @@ public interface VersionMetricsOrBuilder * *
        * The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
-       * Format: `projects/<Project Number>/locations/<Location
+       * Format: `projects/<Project ID>/locations/<Location
        * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
        * 
* @@ -4950,7 +4950,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
        * The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
-       * Format: `projects/<Project Number>/locations/<Location
+       * Format: `projects/<Project ID>/locations/<Location
        * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
        * 
* @@ -4975,7 +4975,7 @@ public java.lang.String getVersion() { * *
        * The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
-       * Format: `projects/<Project Number>/locations/<Location
+       * Format: `projects/<Project ID>/locations/<Location
        * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
        * 
* @@ -5503,7 +5503,7 @@ public Builder mergeFrom( * *
          * The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
-         * Format: `projects/<Project Number>/locations/<Location
+         * Format: `projects/<Project ID>/locations/<Location
          * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
          * 
* @@ -5527,7 +5527,7 @@ public java.lang.String getVersion() { * *
          * The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
-         * Format: `projects/<Project Number>/locations/<Location
+         * Format: `projects/<Project ID>/locations/<Location
          * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
          * 
* @@ -5551,7 +5551,7 @@ public com.google.protobuf.ByteString getVersionBytes() { * *
          * The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
-         * Format: `projects/<Project Number>/locations/<Location
+         * Format: `projects/<Project ID>/locations/<Location
          * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
          * 
* @@ -5574,7 +5574,7 @@ public Builder setVersion(java.lang.String value) { * *
          * The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
-         * Format: `projects/<Project Number>/locations/<Location
+         * Format: `projects/<Project ID>/locations/<Location
          * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
          * 
* @@ -5593,7 +5593,7 @@ public Builder clearVersion() { * *
          * The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
-         * Format: `projects/<Project Number>/locations/<Location
+         * Format: `projects/<Project ID>/locations/<Location
          * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
          * 
* diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequest.java index 51aac1cc6..718e69bc0 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequest.java @@ -40,6 +40,7 @@ private ExportAgentRequest(com.google.protobuf.GeneratedMessageV3.Builder bui private ExportAgentRequest() { name_ = ""; agentUri_ = ""; + environment_ = ""; } @java.lang.Override @@ -85,6 +86,13 @@ private ExportAgentRequest( agentUri_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + environment_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -229,6 +237,63 @@ public com.google.protobuf.ByteString getAgentUriBytes() { } } + public static final int ENVIRONMENT_FIELD_NUMBER = 5; + private volatile java.lang.Object environment_; + /** + * + * + *
+   * Optional. Environment name. If not set, draft environment is assumed.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/environments/<Environment ID>`.
+   * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The environment. + */ + @java.lang.Override + public java.lang.String getEnvironment() { + java.lang.Object ref = environment_; + 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(); + environment_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. Environment name. If not set, draft environment is assumed.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/environments/<Environment ID>`.
+   * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for environment. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEnvironmentBytes() { + java.lang.Object ref = environment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + environment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -249,6 +314,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getAgentUriBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, agentUri_); } + if (!getEnvironmentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, environment_); + } unknownFields.writeTo(output); } @@ -264,6 +332,9 @@ public int getSerializedSize() { if (!getAgentUriBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, agentUri_); } + if (!getEnvironmentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, environment_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -282,6 +353,7 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getAgentUri().equals(other.getAgentUri())) return false; + if (!getEnvironment().equals(other.getEnvironment())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,6 +369,8 @@ public int hashCode() { hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + AGENT_URI_FIELD_NUMBER; hash = (53 * hash) + getAgentUri().hashCode(); + hash = (37 * hash) + ENVIRONMENT_FIELD_NUMBER; + hash = (53 * hash) + getEnvironment().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -446,6 +520,8 @@ public Builder clear() { agentUri_ = ""; + environment_ = ""; + return this; } @@ -475,6 +551,7 @@ public com.google.cloud.dialogflow.cx.v3.ExportAgentRequest buildPartial() { new com.google.cloud.dialogflow.cx.v3.ExportAgentRequest(this); result.name_ = name_; result.agentUri_ = agentUri_; + result.environment_ = environment_; onBuilt(); return result; } @@ -533,6 +610,10 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.ExportAgentRequest ot agentUri_ = other.agentUri_; onChanged(); } + if (!other.getEnvironment().isEmpty()) { + environment_ = other.environment_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -805,6 +886,132 @@ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object environment_ = ""; + /** + * + * + *
+     * Optional. Environment name. If not set, draft environment is assumed.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/environments/<Environment ID>`.
+     * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The environment. + */ + public java.lang.String getEnvironment() { + java.lang.Object ref = environment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + environment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Environment name. If not set, draft environment is assumed.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/environments/<Environment ID>`.
+     * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for environment. + */ + public com.google.protobuf.ByteString getEnvironmentBytes() { + java.lang.Object ref = environment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + environment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Environment name. If not set, draft environment is assumed.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/environments/<Environment ID>`.
+     * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The environment to set. + * @return This builder for chaining. + */ + public Builder setEnvironment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + environment_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Environment name. If not set, draft environment is assumed.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/environments/<Environment ID>`.
+     * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearEnvironment() { + + environment_ = getDefaultInstance().getEnvironment(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Environment name. If not set, draft environment is assumed.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/environments/<Environment ID>`.
+     * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for environment to set. + * @return This builder for chaining. + */ + public Builder setEnvironmentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + environment_ = 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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequestOrBuilder.java index 9f01b9c5a..0d7326999 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequestOrBuilder.java @@ -84,4 +84,37 @@ public interface ExportAgentRequestOrBuilder * @return The bytes for agentUri. */ com.google.protobuf.ByteString getAgentUriBytes(); + + /** + * + * + *
+   * Optional. Environment name. If not set, draft environment is assumed.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/environments/<Environment ID>`.
+   * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The environment. + */ + java.lang.String getEnvironment(); + /** + * + * + *
+   * Optional. Environment name. If not set, draft environment is assumed.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/environments/<Environment ID>`.
+   * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for environment. + */ + com.google.protobuf.ByteString getEnvironmentBytes(); } diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowRequest.java new file mode 100644 index 000000000..cc60dfb9f --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowRequest.java @@ -0,0 +1,954 @@ +/* + * 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/v3/flow.proto + +package com.google.cloud.dialogflow.cx.v3; + +/** + * + * + *
+ * The request message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ExportFlowRequest} + */ +public final class ExportFlowRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.ExportFlowRequest) + ExportFlowRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExportFlowRequest.newBuilder() to construct. + private ExportFlowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExportFlowRequest() { + name_ = ""; + flowUri_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExportFlowRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ExportFlowRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + flowUri_ = s; + break; + } + case 32: + { + includeReferencedFlows_ = 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.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ExportFlowRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ExportFlowRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest.class, + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Required. The name of the flow to export.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the flow to export.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FLOW_URI_FIELD_NUMBER = 2; + private volatile java.lang.Object flowUri_; + /** + * + * + *
+   * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+   * export the flow to. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * If left unspecified, the serialized flow is returned inline.
+   * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The flowUri. + */ + @java.lang.Override + public java.lang.String getFlowUri() { + java.lang.Object ref = flowUri_; + 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(); + flowUri_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+   * export the flow to. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * If left unspecified, the serialized flow is returned inline.
+   * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for flowUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = flowUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flowUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INCLUDE_REFERENCED_FLOWS_FIELD_NUMBER = 4; + private boolean includeReferencedFlows_; + /** + * + * + *
+   * Optional. Whether to export flows referenced by the specified flow.
+   * 
+ * + * bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeReferencedFlows. + */ + @java.lang.Override + public boolean getIncludeReferencedFlows() { + return includeReferencedFlows_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!getFlowUriBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flowUri_); + } + if (includeReferencedFlows_ != false) { + output.writeBool(4, includeReferencedFlows_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!getFlowUriBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flowUri_); + } + if (includeReferencedFlows_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includeReferencedFlows_); + } + 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.v3.ExportFlowRequest)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest other = + (com.google.cloud.dialogflow.cx.v3.ExportFlowRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getFlowUri().equals(other.getFlowUri())) return false; + if (getIncludeReferencedFlows() != other.getIncludeReferencedFlows()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + FLOW_URI_FIELD_NUMBER; + hash = (53 * hash) + getFlowUri().hashCode(); + hash = (37 * hash) + INCLUDE_REFERENCED_FLOWS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeReferencedFlows()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowRequest 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.v3.ExportFlowRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowRequest 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.v3.ExportFlowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowRequest 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.v3.ExportFlowRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowRequest 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.v3.ExportFlowRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowRequest 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.v3.ExportFlowRequest 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.v3.ExportFlowRequest 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.v3.ExportFlowRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The request message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ExportFlowRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3.ExportFlowRequest) + com.google.cloud.dialogflow.cx.v3.ExportFlowRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ExportFlowRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ExportFlowRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest.class, + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3.ExportFlowRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + flowUri_ = ""; + + includeReferencedFlows_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ExportFlowRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ExportFlowRequest getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3.ExportFlowRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ExportFlowRequest build() { + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ExportFlowRequest buildPartial() { + com.google.cloud.dialogflow.cx.v3.ExportFlowRequest result = + new com.google.cloud.dialogflow.cx.v3.ExportFlowRequest(this); + result.name_ = name_; + result.flowUri_ = flowUri_; + result.includeReferencedFlows_ = includeReferencedFlows_; + 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.v3.ExportFlowRequest) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3.ExportFlowRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.ExportFlowRequest other) { + if (other == com.google.cloud.dialogflow.cx.v3.ExportFlowRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getFlowUri().isEmpty()) { + flowUri_ = other.flowUri_; + onChanged(); + } + if (other.getIncludeReferencedFlows() != false) { + setIncludeReferencedFlows(other.getIncludeReferencedFlows()); + } + 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.v3.ExportFlowRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3.ExportFlowRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The name of the flow to export.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the flow to export.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the flow to export.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the flow to export.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the flow to export.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object flowUri_ = ""; + /** + * + * + *
+     * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+     * export the flow to. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * If left unspecified, the serialized flow is returned inline.
+     * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The flowUri. + */ + public java.lang.String getFlowUri() { + java.lang.Object ref = flowUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + flowUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+     * export the flow to. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * If left unspecified, the serialized flow is returned inline.
+     * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for flowUri. + */ + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = flowUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flowUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+     * export the flow to. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * If left unspecified, the serialized flow is returned inline.
+     * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + flowUri_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+     * export the flow to. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * If left unspecified, the serialized flow is returned inline.
+     * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearFlowUri() { + + flowUri_ = getDefaultInstance().getFlowUri(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+     * export the flow to. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * If left unspecified, the serialized flow is returned inline.
+     * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + flowUri_ = value; + onChanged(); + return this; + } + + private boolean includeReferencedFlows_; + /** + * + * + *
+     * Optional. Whether to export flows referenced by the specified flow.
+     * 
+ * + * bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeReferencedFlows. + */ + @java.lang.Override + public boolean getIncludeReferencedFlows() { + return includeReferencedFlows_; + } + /** + * + * + *
+     * Optional. Whether to export flows referenced by the specified flow.
+     * 
+ * + * bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The includeReferencedFlows to set. + * @return This builder for chaining. + */ + public Builder setIncludeReferencedFlows(boolean value) { + + includeReferencedFlows_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Whether to export flows referenced by the specified flow.
+     * 
+ * + * bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearIncludeReferencedFlows() { + + includeReferencedFlows_ = 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.v3.ExportFlowRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.ExportFlowRequest) + private static final com.google.cloud.dialogflow.cx.v3.ExportFlowRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.ExportFlowRequest(); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportFlowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportFlowRequest(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.v3.ExportFlowRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowRequestOrBuilder.java new file mode 100644 index 000000000..9c6f09184 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowRequestOrBuilder.java @@ -0,0 +1,102 @@ +/* + * 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/v3/flow.proto + +package com.google.cloud.dialogflow.cx.v3; + +public interface ExportFlowRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.ExportFlowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the flow to export.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the flow to export.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+   * export the flow to. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * If left unspecified, the serialized flow is returned inline.
+   * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The flowUri. + */ + java.lang.String getFlowUri(); + /** + * + * + *
+   * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+   * export the flow to. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * If left unspecified, the serialized flow is returned inline.
+   * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for flowUri. + */ + com.google.protobuf.ByteString getFlowUriBytes(); + + /** + * + * + *
+   * Optional. Whether to export flows referenced by the specified flow.
+   * 
+ * + * bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeReferencedFlows. + */ + boolean getIncludeReferencedFlows(); +} diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowResponse.java new file mode 100644 index 000000000..31b38358f --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowResponse.java @@ -0,0 +1,914 @@ +/* + * 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/v3/flow.proto + +package com.google.cloud.dialogflow.cx.v3; + +/** + * + * + *
+ * The response message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ExportFlowResponse} + */ +public final class ExportFlowResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.ExportFlowResponse) + ExportFlowResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExportFlowResponse.newBuilder() to construct. + private ExportFlowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExportFlowResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExportFlowResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ExportFlowResponse( + 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(); + flowCase_ = 1; + flow_ = s; + break; + } + case 18: + { + flowCase_ = 2; + flow_ = input.readBytes(); + 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.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ExportFlowResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ExportFlowResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ExportFlowResponse.class, + com.google.cloud.dialogflow.cx.v3.ExportFlowResponse.Builder.class); + } + + private int flowCase_ = 0; + private java.lang.Object flow_; + + public enum FlowCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + FLOW_URI(1), + FLOW_CONTENT(2), + FLOW_NOT_SET(0); + private final int value; + + private FlowCase(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 FlowCase valueOf(int value) { + return forNumber(value); + } + + public static FlowCase forNumber(int value) { + switch (value) { + case 1: + return FLOW_URI; + case 2: + return FLOW_CONTENT; + case 0: + return FLOW_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public FlowCase getFlowCase() { + return FlowCase.forNumber(flowCase_); + } + + public static final int FLOW_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return Whether the flowUri field is set. + */ + public boolean hasFlowUri() { + return flowCase_ == 1; + } + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return The flowUri. + */ + public java.lang.String getFlowUri() { + java.lang.Object ref = ""; + if (flowCase_ == 1) { + ref = flow_; + } + 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 (flowCase_ == 1) { + flow_ = s; + } + return s; + } + } + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return The bytes for flowUri. + */ + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = ""; + if (flowCase_ == 1) { + ref = flow_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (flowCase_ == 1) { + flow_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FLOW_CONTENT_FIELD_NUMBER = 2; + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 2; + * + * @return Whether the flowContent field is set. + */ + @java.lang.Override + public boolean hasFlowContent() { + return flowCase_ == 2; + } + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 2; + * + * @return The flowContent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowContent() { + if (flowCase_ == 2) { + return (com.google.protobuf.ByteString) flow_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + 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 (flowCase_ == 1) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, flow_); + } + if (flowCase_ == 2) { + output.writeBytes(2, (com.google.protobuf.ByteString) flow_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (flowCase_ == 1) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, flow_); + } + if (flowCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 2, (com.google.protobuf.ByteString) flow_); + } + 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.v3.ExportFlowResponse)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3.ExportFlowResponse other = + (com.google.cloud.dialogflow.cx.v3.ExportFlowResponse) obj; + + if (!getFlowCase().equals(other.getFlowCase())) return false; + switch (flowCase_) { + case 1: + if (!getFlowUri().equals(other.getFlowUri())) return false; + break; + case 2: + if (!getFlowContent().equals(other.getFlowContent())) return false; + break; + case 0: + default: + } + 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(); + switch (flowCase_) { + case 1: + hash = (37 * hash) + FLOW_URI_FIELD_NUMBER; + hash = (53 * hash) + getFlowUri().hashCode(); + break; + case 2: + hash = (37 * hash) + FLOW_CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getFlowContent().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowResponse 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.v3.ExportFlowResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowResponse 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.v3.ExportFlowResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowResponse 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.v3.ExportFlowResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowResponse 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.v3.ExportFlowResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowResponse 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.v3.ExportFlowResponse 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.v3.ExportFlowResponse 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.v3.ExportFlowResponse 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 [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ExportFlowResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3.ExportFlowResponse) + com.google.cloud.dialogflow.cx.v3.ExportFlowResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ExportFlowResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ExportFlowResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ExportFlowResponse.class, + com.google.cloud.dialogflow.cx.v3.ExportFlowResponse.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3.ExportFlowResponse.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(); + flowCase_ = 0; + flow_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ExportFlowResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ExportFlowResponse getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3.ExportFlowResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ExportFlowResponse build() { + com.google.cloud.dialogflow.cx.v3.ExportFlowResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ExportFlowResponse buildPartial() { + com.google.cloud.dialogflow.cx.v3.ExportFlowResponse result = + new com.google.cloud.dialogflow.cx.v3.ExportFlowResponse(this); + if (flowCase_ == 1) { + result.flow_ = flow_; + } + if (flowCase_ == 2) { + result.flow_ = flow_; + } + result.flowCase_ = flowCase_; + 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.v3.ExportFlowResponse) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3.ExportFlowResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.ExportFlowResponse other) { + if (other == com.google.cloud.dialogflow.cx.v3.ExportFlowResponse.getDefaultInstance()) + return this; + switch (other.getFlowCase()) { + case FLOW_URI: + { + flowCase_ = 1; + flow_ = other.flow_; + onChanged(); + break; + } + case FLOW_CONTENT: + { + setFlowContent(other.getFlowContent()); + break; + } + case FLOW_NOT_SET: + { + 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.v3.ExportFlowResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3.ExportFlowResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int flowCase_ = 0; + private java.lang.Object flow_; + + public FlowCase getFlowCase() { + return FlowCase.forNumber(flowCase_); + } + + public Builder clearFlow() { + flowCase_ = 0; + flow_ = null; + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @return Whether the flowUri field is set. + */ + @java.lang.Override + public boolean hasFlowUri() { + return flowCase_ == 1; + } + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @return The flowUri. + */ + @java.lang.Override + public java.lang.String getFlowUri() { + java.lang.Object ref = ""; + if (flowCase_ == 1) { + ref = flow_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (flowCase_ == 1) { + flow_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @return The bytes for flowUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = ""; + if (flowCase_ == 1) { + ref = flow_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (flowCase_ == 1) { + flow_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @param value The flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + flowCase_ = 1; + flow_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @return This builder for chaining. + */ + public Builder clearFlowUri() { + if (flowCase_ == 1) { + flowCase_ = 0; + flow_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @param value The bytes for flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + flowCase_ = 1; + flow_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 2; + * + * @return Whether the flowContent field is set. + */ + public boolean hasFlowContent() { + return flowCase_ == 2; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 2; + * + * @return The flowContent. + */ + public com.google.protobuf.ByteString getFlowContent() { + if (flowCase_ == 2) { + return (com.google.protobuf.ByteString) flow_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 2; + * + * @param value The flowContent to set. + * @return This builder for chaining. + */ + public Builder setFlowContent(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + flowCase_ = 2; + flow_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 2; + * + * @return This builder for chaining. + */ + public Builder clearFlowContent() { + if (flowCase_ == 2) { + flowCase_ = 0; + flow_ = null; + 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.v3.ExportFlowResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.ExportFlowResponse) + private static final com.google.cloud.dialogflow.cx.v3.ExportFlowResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.ExportFlowResponse(); + } + + public static com.google.cloud.dialogflow.cx.v3.ExportFlowResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportFlowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportFlowResponse(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.v3.ExportFlowResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowResponseOrBuilder.java new file mode 100644 index 000000000..b49845e3d --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowResponseOrBuilder.java @@ -0,0 +1,92 @@ +/* + * 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/v3/flow.proto + +package com.google.cloud.dialogflow.cx.v3; + +public interface ExportFlowResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.ExportFlowResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return Whether the flowUri field is set. + */ + boolean hasFlowUri(); + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return The flowUri. + */ + java.lang.String getFlowUri(); + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return The bytes for flowUri. + */ + com.google.protobuf.ByteString getFlowUriBytes(); + + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 2; + * + * @return Whether the flowContent field is set. + */ + boolean hasFlowContent(); + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 2; + * + * @return The flowContent. + */ + com.google.protobuf.ByteString getFlowContent(); + + public com.google.cloud.dialogflow.cx.v3.ExportFlowResponse.FlowCase getFlowCase(); +} diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowProto.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowProto.java index bcbd58db8..7b60a6fbc 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowProto.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowProto.java @@ -75,6 +75,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3_FlowValidationResult_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3_FlowValidationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3_ImportFlowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3_ImportFlowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3_ImportFlowResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3_ImportFlowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3_ExportFlowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3_ExportFlowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3_ExportFlowResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3_ExportFlowResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -150,52 +166,77 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "stamp:\212\001\352A\206\001\n.dialogflow.googleapis.com/" + "FlowValidationResult\022Tprojects/{project}" + "/locations/{location}/agents/{agent}/flo" - + "ws/{flow}/validationResult2\356\014\n\005Flows\022\263\001\n" - + "\nCreateFlow\0220.google.cloud.dialogflow.cx" - + ".v3.CreateFlowRequest\032#.google.cloud.dia" - + "logflow.cx.v3.Flow\"N\202\323\344\223\002:\"2/v3/{parent=" - + "projects/*/locations/*/agents/*}/flows:\004" - + "flow\332A\013parent,flow\022\231\001\n\nDeleteFlow\0220.goog" - + "le.cloud.dialogflow.cx.v3.DeleteFlowRequ" - + "est\032\026.google.protobuf.Empty\"A\202\323\344\223\0024*2/v3" - + "/{name=projects/*/locations/*/agents/*/f" - + "lows/*}\332A\004name\022\263\001\n\tListFlows\022/.google.cl" - + "oud.dialogflow.cx.v3.ListFlowsRequest\0320." - + "google.cloud.dialogflow.cx.v3.ListFlowsR" - + "esponse\"C\202\323\344\223\0024\0222/v3/{parent=projects/*/" - + "locations/*/agents/*}/flows\332A\006parent\022\240\001\n" - + "\007GetFlow\022-.google.cloud.dialogflow.cx.v3" - + ".GetFlowRequest\032#.google.cloud.dialogflo" - + "w.cx.v3.Flow\"A\202\323\344\223\0024\0222/v3/{name=projects" - + "/*/locations/*/agents/*/flows/*}\332A\004name\022" - + "\275\001\n\nUpdateFlow\0220.google.cloud.dialogflow" - + ".cx.v3.UpdateFlowRequest\032#.google.cloud." - + "dialogflow.cx.v3.Flow\"X\202\323\344\223\002?27/v3/{flow" - + ".name=projects/*/locations/*/agents/*/fl" - + "ows/*}:\004flow\332A\020flow,update_mask\022\331\001\n\tTrai" - + "nFlow\022/.google.cloud.dialogflow.cx.v3.Tr" - + "ainFlowRequest\032\035.google.longrunning.Oper" - + "ation\"|\202\323\344\223\002=\"8/v3/{name=projects/*/loca" - + "tions/*/agents/*/flows/*}:train:\001*\332A\004nam" - + "e\312A/\n\025google.protobuf.Empty\022\026google.prot" - + "obuf.Struct\022\277\001\n\014ValidateFlow\0222.google.cl" - + "oud.dialogflow.cx.v3.ValidateFlowRequest" - + "\0323.google.cloud.dialogflow.cx.v3.FlowVal" - + "idationResult\"F\202\323\344\223\002@\";/v3/{name=project" - + "s/*/locations/*/agents/*/flows/*}:valida" - + "te:\001*\022\341\001\n\027GetFlowValidationResult\022=.goog" - + "le.cloud.dialogflow.cx.v3.GetFlowValidat" - + "ionResultRequest\0323.google.cloud.dialogfl" - + "ow.cx.v3.FlowValidationResult\"R\202\323\344\223\002E\022C/" - + "v3/{name=projects/*/locations/*/agents/*" - + "/flows/*/validationResult}\332A\004name\032x\312A\031di" - + "alogflow.googleapis.com\322AYhttps://www.go" - + "ogleapis.com/auth/cloud-platform,https:/" - + "/www.googleapis.com/auth/dialogflowB\231\001\n!" - + "com.google.cloud.dialogflow.cx.v3B\tFlowP" - + "rotoP\001Z?google.golang.org/genproto/googl" - + "eapis/cloud/dialogflow/cx/v3;cx\370\001\001\242\002\002DF\252" - + "\002\035Google.Cloud.Dialogflow.Cx.V3b\006proto3" + + "ws/{flow}/validationResult\"\234\002\n\021ImportFlo" + + "wRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialog" + + "flow.googleapis.com/Flow\022\022\n\010flow_uri\030\002 \001" + + "(\tH\000\022\026\n\014flow_content\030\003 \001(\014H\000\022T\n\rimport_o" + + "ption\030\004 \001(\0162=.google.cloud.dialogflow.cx" + + ".v3.ImportFlowRequest.ImportOption\"E\n\014Im" + + "portOption\022\035\n\031IMPORT_OPTION_UNSPECIFIED\020" + + "\000\022\010\n\004KEEP\020\001\022\014\n\010FALLBACK\020\002B\006\n\004flow\"G\n\022Imp" + + "ortFlowResponse\0221\n\004flow\030\001 \001(\tB#\372A \n\036dial" + + "ogflow.googleapis.com/Flow\"\207\001\n\021ExportFlo" + + "wRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogfl" + + "ow.googleapis.com/Flow\022\025\n\010flow_uri\030\002 \001(\t" + + "B\003\340A\001\022%\n\030include_referenced_flows\030\004 \001(\010B" + + "\003\340A\001\"H\n\022ExportFlowResponse\022\022\n\010flow_uri\030\001" + + " \001(\tH\000\022\026\n\014flow_content\030\002 \001(\014H\000B\006\n\004flow2\230" + + "\020\n\005Flows\022\263\001\n\nCreateFlow\0220.google.cloud.d" + + "ialogflow.cx.v3.CreateFlowRequest\032#.goog" + + "le.cloud.dialogflow.cx.v3.Flow\"N\202\323\344\223\002:\"2" + + "/v3/{parent=projects/*/locations/*/agent" + + "s/*}/flows:\004flow\332A\013parent,flow\022\231\001\n\nDelet" + + "eFlow\0220.google.cloud.dialogflow.cx.v3.De" + + "leteFlowRequest\032\026.google.protobuf.Empty\"" + + "A\202\323\344\223\0024*2/v3/{name=projects/*/locations/" + + "*/agents/*/flows/*}\332A\004name\022\263\001\n\tListFlows" + + "\022/.google.cloud.dialogflow.cx.v3.ListFlo" + + "wsRequest\0320.google.cloud.dialogflow.cx.v" + + "3.ListFlowsResponse\"C\202\323\344\223\0024\0222/v3/{parent" + + "=projects/*/locations/*/agents/*}/flows\332" + + "A\006parent\022\240\001\n\007GetFlow\022-.google.cloud.dial" + + "ogflow.cx.v3.GetFlowRequest\032#.google.clo" + + "ud.dialogflow.cx.v3.Flow\"A\202\323\344\223\0024\0222/v3/{n" + + "ame=projects/*/locations/*/agents/*/flow" + + "s/*}\332A\004name\022\275\001\n\nUpdateFlow\0220.google.clou" + + "d.dialogflow.cx.v3.UpdateFlowRequest\032#.g" + + "oogle.cloud.dialogflow.cx.v3.Flow\"X\202\323\344\223\002" + + "?27/v3/{flow.name=projects/*/locations/*" + + "/agents/*/flows/*}:\004flow\332A\020flow,update_m" + + "ask\022\331\001\n\tTrainFlow\022/.google.cloud.dialogf" + + "low.cx.v3.TrainFlowRequest\032\035.google.long" + + "running.Operation\"|\202\323\344\223\002=\"8/v3/{name=pro" + + "jects/*/locations/*/agents/*/flows/*}:tr" + + "ain:\001*\332A\004name\312A/\n\025google.protobuf.Empty\022" + + "\026google.protobuf.Struct\022\277\001\n\014ValidateFlow" + + "\0222.google.cloud.dialogflow.cx.v3.Validat" + + "eFlowRequest\0323.google.cloud.dialogflow.c" + + "x.v3.FlowValidationResult\"F\202\323\344\223\002@\";/v3/{" + + "name=projects/*/locations/*/agents/*/flo" + + "ws/*}:validate:\001*\022\341\001\n\027GetFlowValidationR" + + "esult\022=.google.cloud.dialogflow.cx.v3.Ge" + + "tFlowValidationResultRequest\0323.google.cl" + + "oud.dialogflow.cx.v3.FlowValidationResul" + + "t\"R\202\323\344\223\002E\022C/v3/{name=projects/*/location" + + "s/*/agents/*/flows/*/validationResult}\332A" + + "\004name\022\322\001\n\nImportFlow\0220.google.cloud.dial" + + "ogflow.cx.v3.ImportFlowRequest\032\035.google." + + "longrunning.Operation\"s\202\323\344\223\002>\"9/v3/{pare" + + "nt=projects/*/locations/*/agents/*}/flow" + + "s:import:\001*\312A,\n\022ImportFlowResponse\022\026goog" + + "le.protobuf.Struct\022\322\001\n\nExportFlow\0220.goog" + + "le.cloud.dialogflow.cx.v3.ExportFlowRequ" + + "est\032\035.google.longrunning.Operation\"s\202\323\344\223" + + "\002>\"9/v3/{name=projects/*/locations/*/age" + + "nts/*/flows/*}:export:\001*\312A,\n\022ExportFlowR" + + "esponse\022\026google.protobuf.Struct\032x\312A\031dial" + + "ogflow.googleapis.com\322AYhttps://www.goog" + + "leapis.com/auth/cloud-platform,https://w" + + "ww.googleapis.com/auth/dialogflowB\231\001\n!co" + + "m.google.cloud.dialogflow.cx.v3B\tFlowPro" + + "toP\001Z?google.golang.org/genproto/googlea" + + "pis/cloud/dialogflow/cx/v3;cx\370\001\001\242\002\002DF\252\002\035" + + "Google.Cloud.Dialogflow.Cx.V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -314,6 +355,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "ValidationMessages", "UpdateTime", }); + internal_static_google_cloud_dialogflow_cx_v3_ImportFlowRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dialogflow_cx_v3_ImportFlowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3_ImportFlowRequest_descriptor, + new java.lang.String[] { + "Parent", "FlowUri", "FlowContent", "ImportOption", "Flow", + }); + internal_static_google_cloud_dialogflow_cx_v3_ImportFlowResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_dialogflow_cx_v3_ImportFlowResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3_ImportFlowResponse_descriptor, + new java.lang.String[] { + "Flow", + }); + internal_static_google_cloud_dialogflow_cx_v3_ExportFlowRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_dialogflow_cx_v3_ExportFlowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3_ExportFlowRequest_descriptor, + new java.lang.String[] { + "Name", "FlowUri", "IncludeReferencedFlows", + }); + internal_static_google_cloud_dialogflow_cx_v3_ExportFlowResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_dialogflow_cx_v3_ExportFlowResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3_ExportFlowResponse_descriptor, + new java.lang.String[] { + "FlowUri", "FlowContent", "Flow", + }); 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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponse.java index 0d1307818..d82543226 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponse.java @@ -258,9 +258,9 @@ public com.google.cloud.dialogflow.cx.v3.QueryResultOrBuilder getQueryResultOrBu * 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.v3.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.v3.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 @@ -1020,9 +1020,9 @@ public com.google.cloud.dialogflow.cx.v3.QueryResultOrBuilder getQueryResultOrBu * 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.v3.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.v3.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 @@ -1044,9 +1044,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.v3.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.v3.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 @@ -1074,9 +1074,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.v3.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.v3.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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponseOrBuilder.java index 1cfcc6301..d63618eb3 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/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.v3.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.v3.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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetFlowRequest.java index 4f7e74092..ad80d610e 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetFlowRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetFlowRequest.java @@ -185,7 +185,9 @@ public com.google.protobuf.ByteString getNameBytes() { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -216,7 +218,9 @@ public java.lang.String getLanguageCode() { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -708,7 +712,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -738,7 +744,9 @@ public java.lang.String getLanguageCode() { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -768,7 +776,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -797,7 +807,9 @@ public Builder setLanguageCode(java.lang.String value) { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -822,7 +834,9 @@ public Builder clearLanguageCode() { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetFlowRequestOrBuilder.java index 22c181a14..357e6cf6c 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetFlowRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetFlowRequestOrBuilder.java @@ -63,7 +63,9 @@ public interface GetFlowRequestOrBuilder * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -83,7 +85,9 @@ public interface GetFlowRequestOrBuilder * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetPageRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetPageRequest.java index 5e2710b5c..b3452cf13 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetPageRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetPageRequest.java @@ -185,11 +185,17 @@ public com.google.protobuf.ByteString getNameBytes() { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -220,11 +226,17 @@ public java.lang.String getLanguageCode() { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -716,11 +728,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -750,11 +768,17 @@ public java.lang.String getLanguageCode() { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -784,11 +808,17 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -817,11 +847,17 @@ public Builder setLanguageCode(java.lang.String value) { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -846,11 +882,17 @@ public Builder clearLanguageCode() { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetPageRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetPageRequestOrBuilder.java index ce588a65e..8ee4401cb 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetPageRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetPageRequestOrBuilder.java @@ -63,11 +63,17 @@ public interface GetPageRequestOrBuilder * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -87,11 +93,17 @@ public interface GetPageRequestOrBuilder * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetTransitionRouteGroupRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetTransitionRouteGroupRequest.java index 0ab0c1501..3661dd68c 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetTransitionRouteGroupRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetTransitionRouteGroupRequest.java @@ -183,9 +183,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language to retrieve the transition route group for. The following
+   * fields are language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -213,9 +215,11 @@ public java.lang.String getLanguageCode() {
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language to retrieve the transition route group for. The following
+   * fields are language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -710,9 +714,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language to retrieve the transition route group for. The following
+     * fields are language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -739,9 +745,11 @@ public java.lang.String getLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language to retrieve the transition route group for. The following
+     * fields are language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -768,9 +776,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language to retrieve the transition route group for. The following
+     * fields are language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -796,9 +806,11 @@ public Builder setLanguageCode(java.lang.String value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language to retrieve the transition route group for. The following
+     * fields are language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -820,9 +832,11 @@ public Builder clearLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language to retrieve the transition route group for. The following
+     * fields are language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetTransitionRouteGroupRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetTransitionRouteGroupRequestOrBuilder.java
index 31923957d..79e836958 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetTransitionRouteGroupRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetTransitionRouteGroupRequestOrBuilder.java
@@ -60,9 +60,11 @@ public interface GetTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language to retrieve the transition route group for. The following
+   * fields are language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -79,9 +81,11 @@ public interface GetTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language to retrieve the transition route group for. The following
+   * fields are language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowRequest.java
new file mode 100644
index 000000000..558acaedb
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowRequest.java
@@ -0,0 +1,1452 @@
+/*
+ * 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/v3/flow.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+/**
+ *
+ *
+ * 
+ * The request message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ImportFlowRequest} + */ +public final class ImportFlowRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.ImportFlowRequest) + ImportFlowRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportFlowRequest.newBuilder() to construct. + private ImportFlowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportFlowRequest() { + parent_ = ""; + importOption_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportFlowRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ImportFlowRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + flowCase_ = 2; + flow_ = s; + break; + } + case 26: + { + flowCase_ = 3; + flow_ = input.readBytes(); + break; + } + case 32: + { + int rawValue = input.readEnum(); + + importOption_ = rawValue; + 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.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ImportFlowRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ImportFlowRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.class, + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.Builder.class); + } + + /** + * + * + *
+   * Import option.
+   * 
+ * + * Protobuf enum {@code google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption} + */ + public enum ImportOption implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified. Treated as `KEEP`.
+     * 
+ * + * IMPORT_OPTION_UNSPECIFIED = 0; + */ + IMPORT_OPTION_UNSPECIFIED(0), + /** + * + * + *
+     * Always respect settings in exported flow content. It may cause a
+     * import failure if some settings (e.g. custom NLU) are not supported in
+     * the agent to import into.
+     * 
+ * + * KEEP = 1; + */ + KEEP(1), + /** + * + * + *
+     * Fallback to default settings if some settings are not supported in the
+     * agent to import into. E.g. Standard NLU will be used if custom NLU is
+     * not available.
+     * 
+ * + * FALLBACK = 2; + */ + FALLBACK(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Unspecified. Treated as `KEEP`.
+     * 
+ * + * IMPORT_OPTION_UNSPECIFIED = 0; + */ + public static final int IMPORT_OPTION_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Always respect settings in exported flow content. It may cause a
+     * import failure if some settings (e.g. custom NLU) are not supported in
+     * the agent to import into.
+     * 
+ * + * KEEP = 1; + */ + public static final int KEEP_VALUE = 1; + /** + * + * + *
+     * Fallback to default settings if some settings are not supported in the
+     * agent to import into. E.g. Standard NLU will be used if custom NLU is
+     * not available.
+     * 
+ * + * FALLBACK = 2; + */ + public static final int FALLBACK_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ImportOption valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ImportOption forNumber(int value) { + switch (value) { + case 0: + return IMPORT_OPTION_UNSPECIFIED; + case 1: + return KEEP; + case 2: + return FALLBACK; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ImportOption findValueByNumber(int number) { + return ImportOption.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final ImportOption[] VALUES = values(); + + public static ImportOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ImportOption(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption) + } + + private int flowCase_ = 0; + private java.lang.Object flow_; + + public enum FlowCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + FLOW_URI(2), + FLOW_CONTENT(3), + FLOW_NOT_SET(0); + private final int value; + + private FlowCase(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 FlowCase valueOf(int value) { + return forNumber(value); + } + + public static FlowCase forNumber(int value) { + switch (value) { + case 2: + return FLOW_URI; + case 3: + return FLOW_CONTENT; + case 0: + return FLOW_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public FlowCase getFlowCase() { + return FlowCase.forNumber(flowCase_); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * Required. The agent to import the flow into.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The agent to import the flow into.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FLOW_URI_FIELD_NUMBER = 2; + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return Whether the flowUri field is set. + */ + public boolean hasFlowUri() { + return flowCase_ == 2; + } + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return The flowUri. + */ + public java.lang.String getFlowUri() { + java.lang.Object ref = ""; + if (flowCase_ == 2) { + ref = flow_; + } + 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 (flowCase_ == 2) { + flow_ = s; + } + return s; + } + } + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return The bytes for flowUri. + */ + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = ""; + if (flowCase_ == 2) { + ref = flow_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (flowCase_ == 2) { + flow_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FLOW_CONTENT_FIELD_NUMBER = 3; + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 3; + * + * @return Whether the flowContent field is set. + */ + @java.lang.Override + public boolean hasFlowContent() { + return flowCase_ == 3; + } + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 3; + * + * @return The flowContent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowContent() { + if (flowCase_ == 3) { + return (com.google.protobuf.ByteString) flow_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int IMPORT_OPTION_FIELD_NUMBER = 4; + private int importOption_; + /** + * + * + *
+   * Flow import mode. If not specified, `KEEP` is assumed.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4; + * + * @return The enum numeric value on the wire for importOption. + */ + @java.lang.Override + public int getImportOptionValue() { + return importOption_; + } + /** + * + * + *
+   * Flow import mode. If not specified, `KEEP` is assumed.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4; + * + * @return The importOption. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption getImportOption() { + @SuppressWarnings("deprecation") + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption result = + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption.valueOf(importOption_); + return result == null + ? com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getParentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (flowCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flow_); + } + if (flowCase_ == 3) { + output.writeBytes(3, (com.google.protobuf.ByteString) flow_); + } + if (importOption_ + != com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption + .IMPORT_OPTION_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, importOption_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getParentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (flowCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flow_); + } + if (flowCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 3, (com.google.protobuf.ByteString) flow_); + } + if (importOption_ + != com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption + .IMPORT_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, importOption_); + } + 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.v3.ImportFlowRequest)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest other = + (com.google.cloud.dialogflow.cx.v3.ImportFlowRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (importOption_ != other.importOption_) return false; + if (!getFlowCase().equals(other.getFlowCase())) return false; + switch (flowCase_) { + case 2: + if (!getFlowUri().equals(other.getFlowUri())) return false; + break; + case 3: + if (!getFlowContent().equals(other.getFlowContent())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + IMPORT_OPTION_FIELD_NUMBER; + hash = (53 * hash) + importOption_; + switch (flowCase_) { + case 2: + hash = (37 * hash) + FLOW_URI_FIELD_NUMBER; + hash = (53 * hash) + getFlowUri().hashCode(); + break; + case 3: + hash = (37 * hash) + FLOW_CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getFlowContent().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowRequest 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.v3.ImportFlowRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowRequest 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.v3.ImportFlowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowRequest 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.v3.ImportFlowRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowRequest 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.v3.ImportFlowRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowRequest 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.v3.ImportFlowRequest 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.v3.ImportFlowRequest 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.v3.ImportFlowRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The request message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ImportFlowRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3.ImportFlowRequest) + com.google.cloud.dialogflow.cx.v3.ImportFlowRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ImportFlowRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ImportFlowRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.class, + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + importOption_ = 0; + + flowCase_ = 0; + flow_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ImportFlowRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ImportFlowRequest getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ImportFlowRequest build() { + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ImportFlowRequest buildPartial() { + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest result = + new com.google.cloud.dialogflow.cx.v3.ImportFlowRequest(this); + result.parent_ = parent_; + if (flowCase_ == 2) { + result.flow_ = flow_; + } + if (flowCase_ == 3) { + result.flow_ = flow_; + } + result.importOption_ = importOption_; + result.flowCase_ = flowCase_; + 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.v3.ImportFlowRequest) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3.ImportFlowRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.ImportFlowRequest other) { + if (other == com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.importOption_ != 0) { + setImportOptionValue(other.getImportOptionValue()); + } + switch (other.getFlowCase()) { + case FLOW_URI: + { + flowCase_ = 2; + flow_ = other.flow_; + onChanged(); + break; + } + case FLOW_CONTENT: + { + setFlowContent(other.getFlowContent()); + break; + } + case FLOW_NOT_SET: + { + 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.v3.ImportFlowRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3.ImportFlowRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int flowCase_ = 0; + private java.lang.Object flow_; + + public FlowCase getFlowCase() { + return FlowCase.forNumber(flowCase_); + } + + public Builder clearFlow() { + flowCase_ = 0; + flow_ = null; + onChanged(); + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The agent to import the flow into.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The agent to import the flow into.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The agent to import the flow into.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The agent to import the flow into.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The agent to import the flow into.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @return Whether the flowUri field is set. + */ + @java.lang.Override + public boolean hasFlowUri() { + return flowCase_ == 2; + } + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @return The flowUri. + */ + @java.lang.Override + public java.lang.String getFlowUri() { + java.lang.Object ref = ""; + if (flowCase_ == 2) { + ref = flow_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (flowCase_ == 2) { + flow_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @return The bytes for flowUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = ""; + if (flowCase_ == 2) { + ref = flow_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (flowCase_ == 2) { + flow_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @param value The flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + flowCase_ = 2; + flow_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearFlowUri() { + if (flowCase_ == 2) { + flowCase_ = 0; + flow_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @param value The bytes for flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + flowCase_ = 2; + flow_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 3; + * + * @return Whether the flowContent field is set. + */ + public boolean hasFlowContent() { + return flowCase_ == 3; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 3; + * + * @return The flowContent. + */ + public com.google.protobuf.ByteString getFlowContent() { + if (flowCase_ == 3) { + return (com.google.protobuf.ByteString) flow_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 3; + * + * @param value The flowContent to set. + * @return This builder for chaining. + */ + public Builder setFlowContent(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + flowCase_ = 3; + flow_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 3; + * + * @return This builder for chaining. + */ + public Builder clearFlowContent() { + if (flowCase_ == 3) { + flowCase_ = 0; + flow_ = null; + onChanged(); + } + return this; + } + + private int importOption_ = 0; + /** + * + * + *
+     * Flow import mode. If not specified, `KEEP` is assumed.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4; + * + * @return The enum numeric value on the wire for importOption. + */ + @java.lang.Override + public int getImportOptionValue() { + return importOption_; + } + /** + * + * + *
+     * Flow import mode. If not specified, `KEEP` is assumed.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4; + * + * @param value The enum numeric value on the wire for importOption to set. + * @return This builder for chaining. + */ + public Builder setImportOptionValue(int value) { + + importOption_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Flow import mode. If not specified, `KEEP` is assumed.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4; + * + * @return The importOption. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption getImportOption() { + @SuppressWarnings("deprecation") + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption result = + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption.valueOf(importOption_); + return result == null + ? com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Flow import mode. If not specified, `KEEP` is assumed.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4; + * + * @param value The importOption to set. + * @return This builder for chaining. + */ + public Builder setImportOption( + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption value) { + if (value == null) { + throw new NullPointerException(); + } + + importOption_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Flow import mode. If not specified, `KEEP` is assumed.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4; + * + * @return This builder for chaining. + */ + public Builder clearImportOption() { + + importOption_ = 0; + 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.v3.ImportFlowRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.ImportFlowRequest) + private static final com.google.cloud.dialogflow.cx.v3.ImportFlowRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.ImportFlowRequest(); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportFlowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportFlowRequest(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.v3.ImportFlowRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowRequestOrBuilder.java new file mode 100644 index 000000000..89cb0ba9b --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowRequestOrBuilder.java @@ -0,0 +1,151 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3/flow.proto + +package com.google.cloud.dialogflow.cx.v3; + +public interface ImportFlowRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.ImportFlowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The agent to import the flow into.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The agent to import the flow into.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return Whether the flowUri field is set. + */ + boolean hasFlowUri(); + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return The flowUri. + */ + java.lang.String getFlowUri(); + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return The bytes for flowUri. + */ + com.google.protobuf.ByteString getFlowUriBytes(); + + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 3; + * + * @return Whether the flowContent field is set. + */ + boolean hasFlowContent(); + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 3; + * + * @return The flowContent. + */ + com.google.protobuf.ByteString getFlowContent(); + + /** + * + * + *
+   * Flow import mode. If not specified, `KEEP` is assumed.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4; + * + * @return The enum numeric value on the wire for importOption. + */ + int getImportOptionValue(); + /** + * + * + *
+   * Flow import mode. If not specified, `KEEP` is assumed.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4; + * + * @return The importOption. + */ + com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption getImportOption(); + + public com.google.cloud.dialogflow.cx.v3.ImportFlowRequest.FlowCase getFlowCase(); +} diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowResponse.java new file mode 100644 index 000000000..e7da1fea1 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowResponse.java @@ -0,0 +1,650 @@ +/* + * 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/v3/flow.proto + +package com.google.cloud.dialogflow.cx.v3; + +/** + * + * + *
+ * The response message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ImportFlowResponse} + */ +public final class ImportFlowResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.ImportFlowResponse) + ImportFlowResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportFlowResponse.newBuilder() to construct. + private ImportFlowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportFlowResponse() { + flow_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportFlowResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ImportFlowResponse( + 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(); + + flow_ = 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.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ImportFlowResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ImportFlowResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ImportFlowResponse.class, + com.google.cloud.dialogflow.cx.v3.ImportFlowResponse.Builder.class); + } + + public static final int FLOW_FIELD_NUMBER = 1; + private volatile java.lang.Object flow_; + /** + * + * + *
+   * The unique identifier of the new flow.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The flow. + */ + @java.lang.Override + public java.lang.String getFlow() { + java.lang.Object ref = flow_; + 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(); + flow_ = s; + return s; + } + } + /** + * + * + *
+   * The unique identifier of the new flow.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for flow. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowBytes() { + java.lang.Object ref = flow_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flow_ = 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 (!getFlowBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, flow_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getFlowBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, flow_); + } + 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.v3.ImportFlowResponse)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3.ImportFlowResponse other = + (com.google.cloud.dialogflow.cx.v3.ImportFlowResponse) obj; + + if (!getFlow().equals(other.getFlow())) 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) + FLOW_FIELD_NUMBER; + hash = (53 * hash) + getFlow().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowResponse 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.v3.ImportFlowResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowResponse 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.v3.ImportFlowResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowResponse 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.v3.ImportFlowResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowResponse 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.v3.ImportFlowResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowResponse 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.v3.ImportFlowResponse 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.v3.ImportFlowResponse 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.v3.ImportFlowResponse 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 [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ImportFlowResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3.ImportFlowResponse) + com.google.cloud.dialogflow.cx.v3.ImportFlowResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ImportFlowResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ImportFlowResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ImportFlowResponse.class, + com.google.cloud.dialogflow.cx.v3.ImportFlowResponse.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3.ImportFlowResponse.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(); + flow_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3_ImportFlowResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ImportFlowResponse getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3.ImportFlowResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ImportFlowResponse build() { + com.google.cloud.dialogflow.cx.v3.ImportFlowResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.ImportFlowResponse buildPartial() { + com.google.cloud.dialogflow.cx.v3.ImportFlowResponse result = + new com.google.cloud.dialogflow.cx.v3.ImportFlowResponse(this); + result.flow_ = flow_; + 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.v3.ImportFlowResponse) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3.ImportFlowResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.ImportFlowResponse other) { + if (other == com.google.cloud.dialogflow.cx.v3.ImportFlowResponse.getDefaultInstance()) + return this; + if (!other.getFlow().isEmpty()) { + flow_ = other.flow_; + 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.v3.ImportFlowResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3.ImportFlowResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object flow_ = ""; + /** + * + * + *
+     * The unique identifier of the new flow.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The flow. + */ + public java.lang.String getFlow() { + java.lang.Object ref = flow_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + flow_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The unique identifier of the new flow.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for flow. + */ + public com.google.protobuf.ByteString getFlowBytes() { + java.lang.Object ref = flow_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flow_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The unique identifier of the new flow.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @param value The flow to set. + * @return This builder for chaining. + */ + public Builder setFlow(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + flow_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The unique identifier of the new flow.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return This builder for chaining. + */ + public Builder clearFlow() { + + flow_ = getDefaultInstance().getFlow(); + onChanged(); + return this; + } + /** + * + * + *
+     * The unique identifier of the new flow.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @param value The bytes for flow to set. + * @return This builder for chaining. + */ + public Builder setFlowBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + flow_ = 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.v3.ImportFlowResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.ImportFlowResponse) + private static final com.google.cloud.dialogflow.cx.v3.ImportFlowResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.ImportFlowResponse(); + } + + public static com.google.cloud.dialogflow.cx.v3.ImportFlowResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportFlowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportFlowResponse(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.v3.ImportFlowResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowResponseOrBuilder.java new file mode 100644 index 000000000..ab2ca17cc --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowResponseOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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/v3/flow.proto + +package com.google.cloud.dialogflow.cx.v3; + +public interface ImportFlowResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.ImportFlowResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The unique identifier of the new flow.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The flow. + */ + java.lang.String getFlow(); + /** + * + * + *
+   * The unique identifier of the new flow.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for flow. + */ + com.google.protobuf.ByteString getFlowBytes(); +} diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListFlowsRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListFlowsRequest.java index 862db9f57..17915833e 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListFlowsRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListFlowsRequest.java @@ -264,7 +264,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -295,7 +297,9 @@ public java.lang.String getLanguageCode() { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -975,7 +979,9 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -1005,7 +1011,9 @@ public java.lang.String getLanguageCode() { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -1035,7 +1043,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -1064,7 +1074,9 @@ public Builder setLanguageCode(java.lang.String value) { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -1089,7 +1101,9 @@ public Builder clearLanguageCode() { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListFlowsRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListFlowsRequestOrBuilder.java index ad7311164..2473c8496 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListFlowsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListFlowsRequestOrBuilder.java @@ -100,7 +100,9 @@ public interface ListFlowsRequestOrBuilder * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -120,7 +122,9 @@ public interface ListFlowsRequestOrBuilder * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListPagesRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListPagesRequest.java index ea50077a2..423d1c1d7 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListPagesRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListPagesRequest.java @@ -198,11 +198,17 @@ public com.google.protobuf.ByteString getParentBytes() { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -233,11 +239,17 @@ public java.lang.String getLanguageCode() { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -829,11 +841,17 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -863,11 +881,17 @@ public java.lang.String getLanguageCode() { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -897,11 +921,17 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -930,11 +960,17 @@ public Builder setLanguageCode(java.lang.String value) { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -959,11 +995,17 @@ public Builder clearLanguageCode() { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListPagesRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListPagesRequestOrBuilder.java index a67f076dc..3b5907ecf 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListPagesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListPagesRequestOrBuilder.java @@ -63,11 +63,17 @@ public interface ListPagesRequestOrBuilder * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -87,11 +93,17 @@ public interface ListPagesRequestOrBuilder * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListTransitionRouteGroupsRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListTransitionRouteGroupsRequest.java index d6cb945dc..f9a2add7c 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListTransitionRouteGroupsRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListTransitionRouteGroupsRequest.java @@ -264,9 +264,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language to list transition route groups for. The following fields are
+   * language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -294,9 +296,11 @@ public java.lang.String getLanguageCode() {
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language to list transition route groups for. The following fields are
+   * language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -987,9 +991,11 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language to list transition route groups for. The following fields are
+     * language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1016,9 +1022,11 @@ public java.lang.String getLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language to list transition route groups for. The following fields are
+     * language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1045,9 +1053,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language to list transition route groups for. The following fields are
+     * language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1073,9 +1083,11 @@ public Builder setLanguageCode(java.lang.String value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language to list transition route groups for. The following fields are
+     * language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1097,9 +1109,11 @@ public Builder clearLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language to list transition route groups for. The following fields are
+     * language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListTransitionRouteGroupsRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListTransitionRouteGroupsRequestOrBuilder.java
index 60c1abaee..f8ecc3991 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListTransitionRouteGroupsRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListTransitionRouteGroupsRequestOrBuilder.java
@@ -99,9 +99,11 @@ public interface ListTransitionRouteGroupsRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language to list transition route groups for. The following fields are
+   * language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -118,9 +120,11 @@ public interface ListTransitionRouteGroupsRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language to list transition route groups for. The following fields are
+   * language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/LoadVersionRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/LoadVersionRequest.java
index a077b9e3b..26957072a 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/LoadVersionRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/LoadVersionRequest.java
@@ -122,7 +122,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft version.
+   * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft flow.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/versions/<Version ID>`.
    * 
@@ -149,7 +149,7 @@ public java.lang.String getName() { * * *
-   * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft version.
+   * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft flow.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/versions/<Version ID>`.
    * 
@@ -179,10 +179,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * This field is used to prevent accidental overwrite of other agent resources
-   * in the draft version, which can potentially impact other flow's behavior.
-   * If `allow_override_agent_resources` is false, conflicted agent-level
-   * resources will not be overridden (i.e. intents, entities, webhooks).
+   * This field is used to prevent accidental overwrite of other agent
+   * resources, which can potentially impact other flow's behavior. If
+   * `allow_override_agent_resources` is false, conflicted agent-level resources
+   * will not be overridden (i.e. intents, entities, webhooks).
    * 
* * bool allow_override_agent_resources = 2; @@ -533,7 +533,7 @@ public Builder mergeFrom( * * *
-     * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft version.
+     * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft flow.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/versions/<Version ID>`.
      * 
@@ -559,7 +559,7 @@ public java.lang.String getName() { * * *
-     * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft version.
+     * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft flow.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/versions/<Version ID>`.
      * 
@@ -585,7 +585,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft version.
+     * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft flow.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/versions/<Version ID>`.
      * 
@@ -610,7 +610,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft version.
+     * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft flow.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/versions/<Version ID>`.
      * 
@@ -631,7 +631,7 @@ public Builder clearName() { * * *
-     * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft version.
+     * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft flow.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/versions/<Version ID>`.
      * 
@@ -659,10 +659,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * This field is used to prevent accidental overwrite of other agent resources
-     * in the draft version, which can potentially impact other flow's behavior.
-     * If `allow_override_agent_resources` is false, conflicted agent-level
-     * resources will not be overridden (i.e. intents, entities, webhooks).
+     * This field is used to prevent accidental overwrite of other agent
+     * resources, which can potentially impact other flow's behavior. If
+     * `allow_override_agent_resources` is false, conflicted agent-level resources
+     * will not be overridden (i.e. intents, entities, webhooks).
      * 
* * bool allow_override_agent_resources = 2; @@ -677,10 +677,10 @@ public boolean getAllowOverrideAgentResources() { * * *
-     * This field is used to prevent accidental overwrite of other agent resources
-     * in the draft version, which can potentially impact other flow's behavior.
-     * If `allow_override_agent_resources` is false, conflicted agent-level
-     * resources will not be overridden (i.e. intents, entities, webhooks).
+     * This field is used to prevent accidental overwrite of other agent
+     * resources, which can potentially impact other flow's behavior. If
+     * `allow_override_agent_resources` is false, conflicted agent-level resources
+     * will not be overridden (i.e. intents, entities, webhooks).
      * 
* * bool allow_override_agent_resources = 2; @@ -698,10 +698,10 @@ public Builder setAllowOverrideAgentResources(boolean value) { * * *
-     * This field is used to prevent accidental overwrite of other agent resources
-     * in the draft version, which can potentially impact other flow's behavior.
-     * If `allow_override_agent_resources` is false, conflicted agent-level
-     * resources will not be overridden (i.e. intents, entities, webhooks).
+     * This field is used to prevent accidental overwrite of other agent
+     * resources, which can potentially impact other flow's behavior. If
+     * `allow_override_agent_resources` is false, conflicted agent-level resources
+     * will not be overridden (i.e. intents, entities, webhooks).
      * 
* * bool allow_override_agent_resources = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/LoadVersionRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/LoadVersionRequestOrBuilder.java index 714f49356..c49090cfc 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/LoadVersionRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/LoadVersionRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface LoadVersionRequestOrBuilder * * *
-   * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft version.
+   * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft flow.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/versions/<Version ID>`.
    * 
@@ -43,7 +43,7 @@ public interface LoadVersionRequestOrBuilder * * *
-   * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft version.
+   * Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft flow.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/versions/<Version ID>`.
    * 
@@ -60,10 +60,10 @@ public interface LoadVersionRequestOrBuilder * * *
-   * This field is used to prevent accidental overwrite of other agent resources
-   * in the draft version, which can potentially impact other flow's behavior.
-   * If `allow_override_agent_resources` is false, conflicted agent-level
-   * resources will not be overridden (i.e. intents, entities, webhooks).
+   * This field is used to prevent accidental overwrite of other agent
+   * resources, which can potentially impact other flow's behavior. If
+   * `allow_override_agent_resources` is false, conflicted agent-level resources
+   * will not be overridden (i.e. intents, entities, webhooks).
    * 
* * bool allow_override_agent_resources = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Match.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Match.java index cede0d489..7cfcd2653 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Match.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Match.java @@ -414,9 +414,10 @@ private MatchType(int value) { * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -431,9 +432,10 @@ public boolean hasIntent() { * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -450,9 +452,10 @@ public com.google.cloud.dialogflow.cx.v3.Intent getIntent() { * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -1140,9 +1143,10 @@ public Builder mergeFrom( * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -1156,9 +1160,10 @@ public boolean hasIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -1178,9 +1183,10 @@ public com.google.cloud.dialogflow.cx.v3.Intent getIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -1202,9 +1208,10 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3.Intent value) { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -1223,9 +1230,10 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3.Intent.Builder builde * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -1251,9 +1259,10 @@ public Builder mergeIntent(com.google.cloud.dialogflow.cx.v3.Intent value) { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -1273,9 +1282,10 @@ public Builder clearIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -1289,9 +1299,10 @@ public com.google.cloud.dialogflow.cx.v3.Intent.Builder getIntentBuilder() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -1309,9 +1320,10 @@ public com.google.cloud.dialogflow.cx.v3.IntentOrBuilder getIntentOrBuilder() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponse.java index 8b673efcd..7db3c1d63 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponse.java @@ -221,8 +221,8 @@ public QueryCase getQueryCase() { * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+   * provided as input, this field will contain a copy of the text.
    * 
* * string text = 1; @@ -236,8 +236,8 @@ public boolean hasText() { * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+   * provided as input, this field will contain a copy of the text.
    * 
* * string text = 1; @@ -264,8 +264,8 @@ public java.lang.String getText() { * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+   * provided as input, this field will contain a copy of the text.
    * 
* * string text = 1; @@ -294,9 +294,9 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -311,9 +311,9 @@ public boolean hasTriggerIntent() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -341,9 +341,9 @@ public java.lang.String getTriggerIntent() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -373,7 +373,8 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -388,7 +389,8 @@ public boolean hasTranscript() { * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -416,7 +418,8 @@ public java.lang.String getTranscript() { * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -446,8 +449,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-   * contain a copy of the event name.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain a copy of the event name.
    * 
* * string trigger_event = 6; @@ -461,8 +464,8 @@ public boolean hasTriggerEvent() { * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-   * contain a copy of the event name.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain a copy of the event name.
    * 
* * string trigger_event = 6; @@ -489,8 +492,8 @@ public java.lang.String getTriggerEvent() { * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-   * contain a copy of the event name.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain a copy of the event name.
    * 
* * string trigger_event = 6; @@ -594,8 +597,9 @@ public com.google.cloud.dialogflow.cx.v3.MatchOrBuilder getMatchesOrBuilder(int * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -610,8 +614,9 @@ public boolean hasCurrentPage() { * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -628,8 +633,9 @@ public com.google.cloud.dialogflow.cx.v3.Page getCurrentPage() { * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -1156,8 +1162,8 @@ public Builder clearQuery() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -1172,8 +1178,8 @@ public boolean hasText() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -1201,8 +1207,8 @@ public java.lang.String getText() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -1230,8 +1236,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -1252,8 +1258,8 @@ public Builder setText(java.lang.String value) { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -1272,8 +1278,8 @@ public Builder clearText() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -1296,9 +1302,9 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -1314,9 +1320,9 @@ public boolean hasTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -1345,9 +1351,9 @@ public java.lang.String getTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -1376,9 +1382,9 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -1400,9 +1406,9 @@ public Builder setTriggerIntent(java.lang.String value) { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -1422,9 +1428,9 @@ public Builder clearTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -1448,7 +1454,8 @@ public Builder setTriggerIntentBytes(com.google.protobuf.ByteString value) { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -1464,7 +1471,8 @@ public boolean hasTranscript() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -1493,7 +1501,8 @@ public java.lang.String getTranscript() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -1522,7 +1531,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -1544,7 +1554,8 @@ public Builder setTranscript(java.lang.String value) { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -1564,7 +1575,8 @@ public Builder clearTranscript() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -1588,8 +1600,8 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-     * contain a copy of the event name.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain a copy of the event name.
      * 
* * string trigger_event = 6; @@ -1604,8 +1616,8 @@ public boolean hasTriggerEvent() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-     * contain a copy of the event name.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain a copy of the event name.
      * 
* * string trigger_event = 6; @@ -1633,8 +1645,8 @@ public java.lang.String getTriggerEvent() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-     * contain a copy of the event name.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain a copy of the event name.
      * 
* * string trigger_event = 6; @@ -1662,8 +1674,8 @@ public com.google.protobuf.ByteString getTriggerEventBytes() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-     * contain a copy of the event name.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain a copy of the event name.
      * 
* * string trigger_event = 6; @@ -1684,8 +1696,8 @@ public Builder setTriggerEvent(java.lang.String value) { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-     * contain a copy of the event name.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain a copy of the event name.
      * 
* * string trigger_event = 6; @@ -1704,8 +1716,8 @@ public Builder clearTriggerEvent() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-     * contain a copy of the event name.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain a copy of the event name.
      * 
* * string trigger_event = 6; @@ -2100,8 +2112,9 @@ public java.util.List getMatche * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -2115,8 +2128,9 @@ public boolean hasCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -2136,8 +2150,9 @@ public com.google.cloud.dialogflow.cx.v3.Page getCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -2159,8 +2174,9 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3.Page value) { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -2179,8 +2195,9 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3.Page.Builder bui * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -2206,8 +2223,9 @@ public Builder mergeCurrentPage(com.google.cloud.dialogflow.cx.v3.Page value) { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -2227,8 +2245,9 @@ public Builder clearCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -2242,8 +2261,9 @@ public com.google.cloud.dialogflow.cx.v3.Page.Builder getCurrentPageBuilder() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -2261,8 +2281,9 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getCurrentPageOrBuilder() * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponseOrBuilder.java index 22a27edb4..2b887e8f4 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponseOrBuilder.java @@ -27,8 +27,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.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.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+   * provided as input, this field will contain a copy of the text.
    * 
* * string text = 1; @@ -53,8 +53,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+   * provided as input, this field will contain a copy of the text.
    * 
* * string text = 1; @@ -67,9 +67,9 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -82,9 +82,9 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -97,9 +97,9 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -113,7 +113,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -126,7 +127,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -139,7 +141,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -153,8 +156,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-   * contain a copy of the event name.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain a copy of the event name.
    * 
* * string trigger_event = 6; @@ -166,8 +169,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-   * contain a copy of the event name.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain a copy of the event name.
    * 
* * string trigger_event = 6; @@ -179,8 +182,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-   * contain a copy of the event name.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain a copy of the event name.
    * 
* * string trigger_event = 6; @@ -250,8 +253,9 @@ public interface MatchIntentResponseOrBuilder * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -263,8 +267,9 @@ public interface MatchIntentResponseOrBuilder * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; @@ -276,8 +281,9 @@ public interface MatchIntentResponseOrBuilder * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 5; diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchOrBuilder.java index 30ddca277..cf498b0bd 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchOrBuilder.java @@ -27,9 +27,10 @@ public interface MatchOrBuilder * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -41,9 +42,10 @@ public interface MatchOrBuilder * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; @@ -55,9 +57,10 @@ public interface MatchOrBuilder * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 1; diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParameters.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParameters.java index cdf647298..c81a58552 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParameters.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParameters.java @@ -413,6 +413,17 @@ public com.google.cloud.dialogflow.cx.v3.SessionEntityType getSessionEntityTypes *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -429,6 +440,17 @@ public boolean hasPayload() { *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -445,6 +467,17 @@ public com.google.protobuf.Struct getPayload() { *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -554,16 +587,18 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * *
-   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
-   * page][QueryResult.current_page] in the session. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
+   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
+   * override the [current page][QueryResult.current_page] in the session.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/pages/<page ID>`.
    * If `current_page` is specified, the previous state of the session will be
    * ignored by Dialogflow, including the [previous
    * page][QueryResult.current_page] and the [previous session
    * parameters][QueryResult.parameters].
-   * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
-   * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
-   * direct a session to a specific state.
+   * In most cases,
+   * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page]
+   * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters]
+   * should be configured together to direct a session to a specific state.
    * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -586,16 +621,18 @@ public java.lang.String getCurrentPage() { * * *
-   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
-   * page][QueryResult.current_page] in the session. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
+   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
+   * override the [current page][QueryResult.current_page] in the session.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/pages/<page ID>`.
    * If `current_page` is specified, the previous state of the session will be
    * ignored by Dialogflow, including the [previous
    * page][QueryResult.current_page] and the [previous session
    * parameters][QueryResult.parameters].
-   * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
-   * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
-   * direct a session to a specific state.
+   * In most cases,
+   * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page]
+   * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters]
+   * should be configured together to direct a session to a specific state.
    * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -2055,6 +2092,17 @@ public com.google.cloud.dialogflow.cx.v3.SessionEntityType.Builder addSessionEnt *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2070,6 +2118,17 @@ public boolean hasPayload() { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2089,6 +2148,17 @@ public com.google.protobuf.Struct getPayload() { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2112,6 +2182,17 @@ public Builder setPayload(com.google.protobuf.Struct value) { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2132,6 +2213,17 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2157,6 +2249,17 @@ public Builder mergePayload(com.google.protobuf.Struct value) { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2178,6 +2281,17 @@ public Builder clearPayload() { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2193,6 +2307,17 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2210,6 +2335,17 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2559,16 +2695,18 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * *
-     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
-     * page][QueryResult.current_page] in the session. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
+     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
+     * override the [current page][QueryResult.current_page] in the session.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/pages/<page ID>`.
      * If `current_page` is specified, the previous state of the session will be
      * ignored by Dialogflow, including the [previous
      * page][QueryResult.current_page] and the [previous session
      * parameters][QueryResult.parameters].
-     * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
-     * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
-     * direct a session to a specific state.
+     * In most cases,
+     * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page]
+     * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters]
+     * should be configured together to direct a session to a specific state.
      * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -2590,16 +2728,18 @@ public java.lang.String getCurrentPage() { * * *
-     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
-     * page][QueryResult.current_page] in the session. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
+     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
+     * override the [current page][QueryResult.current_page] in the session.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/pages/<page ID>`.
      * If `current_page` is specified, the previous state of the session will be
      * ignored by Dialogflow, including the [previous
      * page][QueryResult.current_page] and the [previous session
      * parameters][QueryResult.parameters].
-     * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
-     * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
-     * direct a session to a specific state.
+     * In most cases,
+     * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page]
+     * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters]
+     * should be configured together to direct a session to a specific state.
      * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -2621,16 +2761,18 @@ public com.google.protobuf.ByteString getCurrentPageBytes() { * * *
-     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
-     * page][QueryResult.current_page] in the session. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
+     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
+     * override the [current page][QueryResult.current_page] in the session.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/pages/<page ID>`.
      * If `current_page` is specified, the previous state of the session will be
      * ignored by Dialogflow, including the [previous
      * page][QueryResult.current_page] and the [previous session
      * parameters][QueryResult.parameters].
-     * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
-     * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
-     * direct a session to a specific state.
+     * In most cases,
+     * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page]
+     * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters]
+     * should be configured together to direct a session to a specific state.
      * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -2651,16 +2793,18 @@ public Builder setCurrentPage(java.lang.String value) { * * *
-     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
-     * page][QueryResult.current_page] in the session. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
+     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
+     * override the [current page][QueryResult.current_page] in the session.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/pages/<page ID>`.
      * If `current_page` is specified, the previous state of the session will be
      * ignored by Dialogflow, including the [previous
      * page][QueryResult.current_page] and the [previous session
      * parameters][QueryResult.parameters].
-     * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
-     * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
-     * direct a session to a specific state.
+     * In most cases,
+     * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page]
+     * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters]
+     * should be configured together to direct a session to a specific state.
      * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -2677,16 +2821,18 @@ public Builder clearCurrentPage() { * * *
-     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
-     * page][QueryResult.current_page] in the session. Format: `projects/<Project
-     * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
+     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
+     * override the [current page][QueryResult.current_page] in the session.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/pages/<page ID>`.
      * If `current_page` is specified, the previous state of the session will be
      * ignored by Dialogflow, including the [previous
      * page][QueryResult.current_page] and the [previous session
      * parameters][QueryResult.parameters].
-     * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
-     * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
-     * direct a session to a specific state.
+     * In most cases,
+     * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page]
+     * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters]
+     * should be configured together to direct a session to a specific state.
      * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParametersOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParametersOrBuilder.java index 7c8f54f8a..f884457fd 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParametersOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParametersOrBuilder.java @@ -163,6 +163,17 @@ com.google.cloud.dialogflow.cx.v3.SessionEntityTypeOrBuilder getSessionEntityTyp *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -176,6 +187,17 @@ com.google.cloud.dialogflow.cx.v3.SessionEntityTypeOrBuilder getSessionEntityTyp *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -189,6 +211,17 @@ com.google.cloud.dialogflow.cx.v3.SessionEntityTypeOrBuilder getSessionEntityTyp *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -282,16 +315,18 @@ com.google.cloud.dialogflow.cx.v3.SessionEntityTypeOrBuilder getSessionEntityTyp * * *
-   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
-   * page][QueryResult.current_page] in the session. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
+   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
+   * override the [current page][QueryResult.current_page] in the session.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/pages/<page ID>`.
    * If `current_page` is specified, the previous state of the session will be
    * ignored by Dialogflow, including the [previous
    * page][QueryResult.current_page] and the [previous session
    * parameters][QueryResult.parameters].
-   * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
-   * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
-   * direct a session to a specific state.
+   * In most cases,
+   * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page]
+   * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters]
+   * should be configured together to direct a session to a specific state.
    * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -303,16 +338,18 @@ com.google.cloud.dialogflow.cx.v3.SessionEntityTypeOrBuilder getSessionEntityTyp * * *
-   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
-   * page][QueryResult.current_page] in the session. Format: `projects/<Project
-   * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
+   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
+   * override the [current page][QueryResult.current_page] in the session.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/pages/<page ID>`.
    * If `current_page` is specified, the previous state of the session will be
    * ignored by Dialogflow, including the [previous
    * page][QueryResult.current_page] and the [previous session
    * parameters][QueryResult.parameters].
-   * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
-   * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
-   * direct a session to a specific state.
+   * In most cases,
+   * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page]
+   * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters]
+   * should be configured together to direct a session to a specific state.
    * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResult.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResult.java index 674551c91..4e7aa98c0 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResult.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResult.java @@ -343,8 +343,8 @@ public QueryCase getQueryCase() { * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+   * provided as input, this field will contain a copy of the text.
    * 
* * string text = 1; @@ -358,8 +358,8 @@ public boolean hasText() { * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+   * provided as input, this field will contain a copy of the text.
    * 
* * string text = 1; @@ -386,8 +386,8 @@ public java.lang.String getText() { * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+   * provided as input, this field will contain a copy of the text.
    * 
* * string text = 1; @@ -416,9 +416,9 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -433,9 +433,9 @@ public boolean hasTriggerIntent() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -463,9 +463,9 @@ public java.lang.String getTriggerIntent() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -495,7 +495,8 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -510,7 +511,8 @@ public boolean hasTranscript() { * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -538,7 +540,8 @@ public java.lang.String getTranscript() { * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -568,8 +571,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-   * the name of the event.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain the name of the event.
    * 
* * string trigger_event = 14; @@ -583,8 +586,8 @@ public boolean hasTriggerEvent() { * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-   * the name of the event.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain the name of the event.
    * 
* * string trigger_event = 14; @@ -611,8 +614,8 @@ public java.lang.String getTriggerEvent() { * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-   * the name of the event.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain the name of the event.
    * 
* * string trigger_event = 14; @@ -697,7 +700,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-   * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+   * The collected [session
+   * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -725,7 +729,8 @@ public boolean hasParameters() {
    *
    *
    * 
-   * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+   * The collected [session
+   * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -753,7 +758,8 @@ public com.google.protobuf.Struct getParameters() {
    *
    *
    * 
-   * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+   * The collected [session
+   * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -932,8 +938,9 @@ public com.google.rpc.StatusOrBuilder getWebhookStatusesOrBuilder(int index) {
    *
    *
    * 
-   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
    * 
* @@ -947,8 +954,9 @@ public java.util.List getWebhookPayloadsList() { * * *
-   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
    * 
* @@ -963,8 +971,9 @@ public java.util.List getWebhookPayloadsList() { * * *
-   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
    * 
* @@ -978,8 +987,9 @@ public int getWebhookPayloadsCount() { * * *
-   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
    * 
* @@ -993,8 +1003,9 @@ public com.google.protobuf.Struct getWebhookPayloads(int index) { * * *
-   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
    * 
* @@ -1011,8 +1022,9 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -1027,8 +1039,9 @@ public boolean hasCurrentPage() { * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -1045,8 +1058,9 @@ public com.google.cloud.dialogflow.cx.v3.Page getCurrentPage() { * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -1062,10 +1076,12 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getCurrentPageOrBuilder() * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+   * instead.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -1081,10 +1097,12 @@ public boolean hasIntent() { * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+   * instead.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -1102,10 +1120,12 @@ public com.google.cloud.dialogflow.cx.v3.Intent getIntent() { * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+   * instead.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -1128,7 +1148,9 @@ public com.google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead. + * This field is deprecated, please use + * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] + * instead. *
* * float intent_detection_confidence = 9 [deprecated = true]; @@ -1249,7 +1271,8 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() { *
    * The sentiment analyss result, which depends on
    * [`analyze_query_text_sentiment`]
-   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -1267,7 +1290,8 @@ public boolean hasSentimentAnalysisResult() { *
    * The sentiment analyss result, which depends on
    * [`analyze_query_text_sentiment`]
-   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -1287,7 +1311,8 @@ public com.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult getSentimentAna *
    * The sentiment analyss result, which depends on
    * [`analyze_query_text_sentiment`]
-   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -2095,8 +2120,8 @@ public Builder clearQuery() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -2111,8 +2136,8 @@ public boolean hasText() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -2140,8 +2165,8 @@ public java.lang.String getText() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -2169,8 +2194,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -2191,8 +2216,8 @@ public Builder setText(java.lang.String value) { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -2211,8 +2236,8 @@ public Builder clearText() { * * *
-     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-     * will contain a copy of the text.
+     * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+     * provided as input, this field will contain a copy of the text.
      * 
* * string text = 1; @@ -2235,9 +2260,9 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -2253,9 +2278,9 @@ public boolean hasTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -2284,9 +2309,9 @@ public java.lang.String getTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -2315,9 +2340,9 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -2339,9 +2364,9 @@ public Builder setTriggerIntent(java.lang.String value) { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -2361,9 +2386,9 @@ public Builder clearTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+     * input, this field will contain a copy of the intent identifier. Format:
+     * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/intents/<Intent ID>`.
      * 
* @@ -2387,7 +2412,8 @@ public Builder setTriggerIntentBytes(com.google.protobuf.ByteString value) { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -2403,7 +2429,8 @@ public boolean hasTranscript() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -2432,7 +2459,8 @@ public java.lang.String getTranscript() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -2461,7 +2489,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -2483,7 +2512,8 @@ public Builder setTranscript(java.lang.String value) { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -2503,7 +2533,8 @@ public Builder clearTranscript() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
      * this field will contain the transcript for the audio.
      * 
* @@ -2527,8 +2558,8 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-     * the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain the name of the event.
      * 
* * string trigger_event = 14; @@ -2543,8 +2574,8 @@ public boolean hasTriggerEvent() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-     * the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain the name of the event.
      * 
* * string trigger_event = 14; @@ -2572,8 +2603,8 @@ public java.lang.String getTriggerEvent() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-     * the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain the name of the event.
      * 
* * string trigger_event = 14; @@ -2601,8 +2632,8 @@ public com.google.protobuf.ByteString getTriggerEventBytes() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-     * the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain the name of the event.
      * 
* * string trigger_event = 14; @@ -2623,8 +2654,8 @@ public Builder setTriggerEvent(java.lang.String value) { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-     * the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain the name of the event.
      * 
* * string trigger_event = 14; @@ -2643,8 +2674,8 @@ public Builder clearTriggerEvent() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-     * the name of the event.
+     * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+     * input, this field will contain the name of the event.
      * 
* * string trigger_event = 14; @@ -2794,7 +2825,8 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { * * *
-     * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+     * The collected [session
+     * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -2821,7 +2853,8 @@ public boolean hasParameters() {
      *
      *
      * 
-     * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+     * The collected [session
+     * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -2852,7 +2885,8 @@ public com.google.protobuf.Struct getParameters() {
      *
      *
      * 
-     * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+     * The collected [session
+     * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -2887,7 +2921,8 @@ public Builder setParameters(com.google.protobuf.Struct value) {
      *
      *
      * 
-     * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+     * The collected [session
+     * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -2919,7 +2954,8 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue)
      *
      *
      * 
-     * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+     * The collected [session
+     * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -2956,7 +2992,8 @@ public Builder mergeParameters(com.google.protobuf.Struct value) {
      *
      *
      * 
-     * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+     * The collected [session
+     * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -2989,7 +3026,8 @@ public Builder clearParameters() {
      *
      *
      * 
-     * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+     * The collected [session
+     * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -3016,7 +3054,8 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() {
      *
      *
      * 
-     * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+     * The collected [session
+     * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -3045,7 +3084,8 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() {
      *
      *
      * 
-     * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+     * The collected [session
+     * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -3843,8 +3883,9 @@ private void ensureWebhookPayloadsIsMutable() {
      *
      *
      * 
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -3861,8 +3902,9 @@ public java.util.List getWebhookPayloadsList() { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -3879,8 +3921,9 @@ public int getWebhookPayloadsCount() { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -3897,8 +3940,9 @@ public com.google.protobuf.Struct getWebhookPayloads(int index) { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -3921,8 +3965,9 @@ public Builder setWebhookPayloads(int index, com.google.protobuf.Struct value) { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -3943,8 +3988,9 @@ public Builder setWebhookPayloads( * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -3967,8 +4013,9 @@ public Builder addWebhookPayloads(com.google.protobuf.Struct value) { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -3991,8 +4038,9 @@ public Builder addWebhookPayloads(int index, com.google.protobuf.Struct value) { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4012,8 +4060,9 @@ public Builder addWebhookPayloads(com.google.protobuf.Struct.Builder builderForV * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4034,8 +4083,9 @@ public Builder addWebhookPayloads( * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4056,8 +4106,9 @@ public Builder addAllWebhookPayloads( * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4077,8 +4128,9 @@ public Builder clearWebhookPayloads() { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4098,8 +4150,9 @@ public Builder removeWebhookPayloads(int index) { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4112,8 +4165,9 @@ public com.google.protobuf.Struct.Builder getWebhookPayloadsBuilder(int index) { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4130,8 +4184,9 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4149,8 +4204,9 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4164,8 +4220,9 @@ public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder() { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4179,8 +4236,9 @@ public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder(int index) { * * *
-     * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
      * 
* @@ -4220,8 +4278,9 @@ public java.util.List getWebhookPayloadsBuil * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -4235,8 +4294,9 @@ public boolean hasCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -4256,8 +4316,9 @@ public com.google.cloud.dialogflow.cx.v3.Page getCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -4279,8 +4340,9 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3.Page value) { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -4299,8 +4361,9 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3.Page.Builder bui * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -4326,8 +4389,9 @@ public Builder mergeCurrentPage(com.google.cloud.dialogflow.cx.v3.Page value) { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -4347,8 +4411,9 @@ public Builder clearCurrentPage() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -4362,8 +4427,9 @@ public com.google.cloud.dialogflow.cx.v3.Page.Builder getCurrentPageBuilder() { * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -4381,8 +4447,9 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getCurrentPageOrBuilder() * * *
-     * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+     * fields are filled in this message, including but not limited to `name` and
+     * `display_name`.
      * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -4414,10 +4481,12 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getCurrentPageOrBuilder() * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+     * instead.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -4432,10 +4501,12 @@ public boolean hasIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+     * instead.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -4456,10 +4527,12 @@ public com.google.cloud.dialogflow.cx.v3.Intent getIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+     * instead.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -4482,10 +4555,12 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3.Intent value) { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+     * instead.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -4505,10 +4580,12 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3.Intent.Builder builde * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+     * instead.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -4535,10 +4612,12 @@ public Builder mergeIntent(com.google.cloud.dialogflow.cx.v3.Intent value) { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+     * instead.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -4559,10 +4638,12 @@ public Builder clearIntent() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+     * instead.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -4577,10 +4658,12 @@ public com.google.cloud.dialogflow.cx.v3.Intent.Builder getIntentBuilder() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+     * instead.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -4599,10 +4682,12 @@ public com.google.cloud.dialogflow.cx.v3.IntentOrBuilder getIntentOrBuilder() { * * *
-     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+     * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+     * instead.
      * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -4635,7 +4720,9 @@ public com.google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead. + * This field is deprecated, please use + * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] + * instead. *
* * float intent_detection_confidence = 9 [deprecated = true]; @@ -4657,7 +4744,9 @@ 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.v3.QueryResult.match] instead. + * This field is deprecated, please use + * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] + * instead. *
* * float intent_detection_confidence = 9 [deprecated = true]; @@ -4682,7 +4771,9 @@ 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.v3.QueryResult.match] instead. + * This field is deprecated, please use + * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] + * instead. *
* * float intent_detection_confidence = 9 [deprecated = true]; @@ -5097,7 +5188,8 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() { *
      * The sentiment analyss result, which depends on
      * [`analyze_query_text_sentiment`]
-     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5114,7 +5206,8 @@ public boolean hasSentimentAnalysisResult() { *
      * The sentiment analyss result, which depends on
      * [`analyze_query_text_sentiment`]
-     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5137,7 +5230,8 @@ public com.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult getSentimentAna *
      * The sentiment analyss result, which depends on
      * [`analyze_query_text_sentiment`]
-     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5163,7 +5257,8 @@ public Builder setSentimentAnalysisResult( *
      * The sentiment analyss result, which depends on
      * [`analyze_query_text_sentiment`]
-     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5186,7 +5281,8 @@ public Builder setSentimentAnalysisResult( *
      * The sentiment analyss result, which depends on
      * [`analyze_query_text_sentiment`]
-     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5217,7 +5313,8 @@ public Builder mergeSentimentAnalysisResult( *
      * The sentiment analyss result, which depends on
      * [`analyze_query_text_sentiment`]
-     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5240,7 +5337,8 @@ public Builder clearSentimentAnalysisResult() { *
      * The sentiment analyss result, which depends on
      * [`analyze_query_text_sentiment`]
-     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5258,7 +5356,8 @@ public Builder clearSentimentAnalysisResult() { *
      * The sentiment analyss result, which depends on
      * [`analyze_query_text_sentiment`]
-     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5280,7 +5379,8 @@ public Builder clearSentimentAnalysisResult() { *
      * The sentiment analyss result, which depends on
      * [`analyze_query_text_sentiment`]
-     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+     * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResultOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResultOrBuilder.java index 9035761f8..6953218e0 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResultOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResultOrBuilder.java @@ -27,8 +27,8 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.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.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+   * provided as input, this field will contain a copy of the text.
    * 
* * string text = 1; @@ -53,8 +53,8 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-   * will contain a copy of the text.
+   * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+   * provided as input, this field will contain a copy of the text.
    * 
* * string text = 1; @@ -67,9 +67,9 @@ public interface QueryResultOrBuilder * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -82,9 +82,9 @@ public interface QueryResultOrBuilder * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -97,9 +97,9 @@ public interface QueryResultOrBuilder * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
+   * input, this field will contain a copy of the intent identifier. Format:
+   * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/intents/<Intent ID>`.
    * 
* @@ -113,7 +113,8 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -126,7 +127,8 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -139,7 +141,8 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
    * this field will contain the transcript for the audio.
    * 
* @@ -153,8 +156,8 @@ public interface QueryResultOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-   * the name of the event.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain the name of the event.
    * 
* * string trigger_event = 14; @@ -166,8 +169,8 @@ public interface QueryResultOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-   * the name of the event.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain the name of the event.
    * 
* * string trigger_event = 14; @@ -179,8 +182,8 @@ public interface QueryResultOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-   * the name of the event.
+   * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+   * input, this field will contain the name of the event.
    * 
* * string trigger_event = 14; @@ -224,7 +227,8 @@ public interface QueryResultOrBuilder * * *
-   * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+   * The collected [session
+   * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -249,7 +253,8 @@ public interface QueryResultOrBuilder
    *
    *
    * 
-   * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+   * The collected [session
+   * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -274,7 +279,8 @@ public interface QueryResultOrBuilder
    *
    *
    * 
-   * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+   * The collected [session
+   * parameters][google.cloud.dialogflow.cx.v3.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:
@@ -412,8 +418,9 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr
    *
    *
    * 
-   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
    * 
* @@ -424,8 +431,9 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *
-   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
    * 
* @@ -436,8 +444,9 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *
-   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
    * 
* @@ -448,8 +457,9 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *
-   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
    * 
* @@ -460,8 +470,9 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *
-   * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.
    * 
* @@ -473,8 +484,9 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -486,8 +498,9 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -499,8 +512,9 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *
-   * The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+   * fields are filled in this message, including but not limited to `name` and
+   * `display_name`.
    * 
* * .google.cloud.dialogflow.cx.v3.Page current_page = 7; @@ -511,10 +525,12 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+   * instead.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -527,10 +543,12 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+   * instead.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -543,10 +561,12 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *
-   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
+   * The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+   * instead.
    * 
* * .google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true]; @@ -564,7 +584,9 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * 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.v3.QueryResult.match] instead. + * This field is deprecated, please use + * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] + * instead. *
* * float intent_detection_confidence = 9 [deprecated = true]; @@ -656,7 +678,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr *
    * The sentiment analyss result, which depends on
    * [`analyze_query_text_sentiment`]
-   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -671,7 +694,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr *
    * The sentiment analyss result, which depends on
    * [`analyze_query_text_sentiment`]
-   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -686,7 +710,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr *
    * The sentiment analyss result, which depends on
    * [`analyze_query_text_sentiment`]
-   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+   * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * .google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java index 1d042f220..5e0654142 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java @@ -118,19 +118,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n+google/cloud/dialogflow/cx/v3/session." + "proto\022\035google.cloud.dialogflow.cx.v3\032\034go" - + "ogle/api/annotations.proto\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\0320google/cloud/dialogflow/cx/v3/au" - + "dio_config.proto\032(google/cloud/dialogflo" - + "w/cx/v3/flow.proto\032*google/cloud/dialogf" - + "low/cx/v3/intent.proto\032(google/cloud/dia" - + "logflow/cx/v3/page.proto\0324google/cloud/d" - + "ialogflow/cx/v3/response_message.proto\0327" - + "google/cloud/dialogflow/cx/v3/session_en" - + "tity_type.proto\032\036google/protobuf/duratio" - + "n.proto\032\034google/protobuf/struct.proto\032\027g" - + "oogle/rpc/status.proto\032\030google/type/latl" - + "ng.proto\032\027google/api/client.proto\"\253\002\n\023De" + + "ogle/api/annotations.proto\032\027google/api/c" + + "lient.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\0320google/" + + "cloud/dialogflow/cx/v3/audio_config.prot" + + "o\032(google/cloud/dialogflow/cx/v3/flow.pr" + + "oto\032*google/cloud/dialogflow/cx/v3/inten" + + "t.proto\032(google/cloud/dialogflow/cx/v3/p" + + "age.proto\0324google/cloud/dialogflow/cx/v3" + + "/response_message.proto\0327google/cloud/di" + + "alogflow/cx/v3/session_entity_type.proto" + + "\032\036google/protobuf/duration.proto\032\034google" + + "/protobuf/struct.proto\032\027google/rpc/statu" + + "s.proto\032\030google/type/latlng.proto\"\253\002\n\023De" + "tectIntentRequest\022:\n\007session\030\001 \001(\tB)\340A\002\372" + "A#\n!dialogflow.googleapis.com/Session\022D\n" + "\014query_params\030\002 \001(\0132..google.cloud.dialo" @@ -296,6 +296,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 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.v3.AudioConfigProto.getDescriptor(), @@ -308,7 +309,6 @@ 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_v3_DetectIntentRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -518,6 +518,7 @@ 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.v3.AudioConfigProto.getDescriptor(); @@ -530,7 +531,6 @@ 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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentRequest.java index 07ce37ea6..6d25ea28c 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentRequest.java @@ -23,21 +23,26 @@ * *
  * The top-level message sent by the client to the
- * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method.
+ * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent]
+ * method.
  * Multiple request messages should be sent in order:
  * 1.  The first message must contain
  * [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session],
- *     [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally
- *     [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. If the client
- *     wants to receive an audio response, it should also contain
+ *     [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input]
+ *     plus optionally
+ *     [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params].
+ *     If the client wants to receive an audio response, it should also contain
  *     [output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config].
- * 2.  If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to
- *     [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], all subsequent messages
- *     must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.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.v3.QueryInput.text].
+ * 2.  If
+ * [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input]
+ * was set to
+ *     [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config],
+ *     all subsequent messages must contain
+ *     [query_input.audio.audio][google.cloud.dialogflow.cx.v3.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.v3.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
@@ -617,21 +622,26 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 
    * The top-level message sent by the client to the
-   * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method.
+   * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent]
+   * method.
    * Multiple request messages should be sent in order:
    * 1.  The first message must contain
    * [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session],
-   *     [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally
-   *     [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. If the client
-   *     wants to receive an audio response, it should also contain
+   *     [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input]
+   *     plus optionally
+   *     [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params].
+   *     If the client wants to receive an audio response, it should also contain
    *     [output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config].
-   * 2.  If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to
-   *     [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], all subsequent messages
-   *     must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.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.v3.QueryInput.text].
+   * 2.  If
+   * [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input]
+   * was set to
+   *     [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config],
+   *     all subsequent messages must contain
+   *     [query_input.audio.audio][google.cloud.dialogflow.cx.v3.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.v3.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
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentResponse.java
index cf69116b8..7de422f30 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentResponse.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentResponse.java
@@ -28,7 +28,12 @@
  *     contain `recognition_result`. Each `recognition_result` represents a more
  *     complete transcript of what the user said. The last `recognition_result`
  *     has `is_final` set to `true`.
- * 2.  The last message contains `detect_intent_response`.
+ * 2.  If `enable_partial_response` is true, the following N messages
+ *     (currently 1 <= N <= 4) contain `detect_intent_response`. The first (N-1)
+ *     `detect_intent_response`s will have `response_type` set to `PARTIAL`.
+ *     The last `detect_intent_response` has `response_type` set to `FINAL`.
+ *     If `response_type` is false, response stream only contains
+ *     the final `detect_intent_response`.
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse} @@ -501,7 +506,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * contain `recognition_result`. Each `recognition_result` represents a more * complete transcript of what the user said. The last `recognition_result` * has `is_final` set to `true`. - * 2. The last message contains `detect_intent_response`. + * 2. If `enable_partial_response` is true, the following N messages + * (currently 1 <= N <= 4) contain `detect_intent_response`. The first (N-1) + * `detect_intent_response`s will have `response_type` set to `PARTIAL`. + * The last `detect_intent_response` has `response_type` set to `FINAL`. + * If `response_type` is false, response stream only contains + * the final `detect_intent_response`. *
* * Protobuf type {@code google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse} diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResult.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResult.java index f2325fb66..adba49151 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResult.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResult.java @@ -226,8 +226,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.v3.InputAudioConfig.single_utterance] was set to - * `true`, and is not used otherwise. + * [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] + * was set to `true`, and is not used otherwise. *
* * END_OF_SINGLE_UTTERANCE = 2; @@ -266,8 +266,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.v3.InputAudioConfig.single_utterance] was set to - * `true`, and is not used otherwise. + * [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] + * was set to `true`, and is not used otherwise. *
* * END_OF_SINGLE_UTTERANCE = 2; @@ -526,7 +526,8 @@ public float getStability() { * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+   * Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -541,7 +542,8 @@ public java.util.List getSpeec * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+   * Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -557,7 +559,8 @@ public java.util.List getSpeec * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+   * Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -572,7 +575,8 @@ public int getSpeechWordInfoCount() { * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+   * Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -587,7 +591,8 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfo getSpeechWordInfo(int in * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+   * Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -1580,7 +1585,8 @@ private void ensureSpeechWordInfoIsMutable() { * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1599,7 +1605,8 @@ private void ensureSpeechWordInfoIsMutable() { * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1617,7 +1624,8 @@ public int getSpeechWordInfoCount() { * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1635,7 +1643,8 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfo getSpeechWordInfo(int in * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1660,7 +1669,8 @@ public Builder setSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1682,7 +1692,8 @@ public Builder setSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1706,7 +1717,8 @@ public Builder addSpeechWordInfo(com.google.cloud.dialogflow.cx.v3.SpeechWordInf * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1731,7 +1743,8 @@ public Builder addSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1753,7 +1766,8 @@ public Builder addSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1775,7 +1789,8 @@ public Builder addSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1797,7 +1812,8 @@ public Builder addAllSpeechWordInfo( * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1818,7 +1834,8 @@ public Builder clearSpeechWordInfo() { * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1839,7 +1856,8 @@ public Builder removeSpeechWordInfo(int index) { * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1854,7 +1872,8 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfo.Builder getSpeechWordInf * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1873,7 +1892,8 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfoOrBuilder getSpeechWordIn * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1892,7 +1912,8 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfoOrBuilder getSpeechWordIn * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1907,7 +1928,8 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfo.Builder addSpeechWordInf * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+     * Populated if and only if `message_type` = `TRANSCRIPT` and
      * [InputAudioConfig.enable_word_info] is set.
      * 
* @@ -1923,7 +1945,8 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfo.Builder addSpeechWordInf * *
      * Word-specific information for the words recognized by Speech in
-     * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+     * [transcript][google.cloud.dialogflow.cx.v3.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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResultOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResultOrBuilder.java index 4d61de878..07676219c 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResultOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResultOrBuilder.java @@ -135,7 +135,8 @@ public interface StreamingRecognitionResultOrBuilder * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+   * Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -147,7 +148,8 @@ public interface StreamingRecognitionResultOrBuilder * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+   * Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -159,7 +161,8 @@ public interface StreamingRecognitionResultOrBuilder * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+   * Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -171,7 +174,8 @@ public interface StreamingRecognitionResultOrBuilder * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+   * Populated if and only if `message_type` = `TRANSCRIPT` and
    * [InputAudioConfig.enable_word_info] is set.
    * 
* @@ -184,7 +188,8 @@ public interface StreamingRecognitionResultOrBuilder * *
    * Word-specific information for the words recognized by Speech in
-   * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+   * [transcript][google.cloud.dialogflow.cx.v3.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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInput.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInput.java index 1c75ede4d..96c173da0 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInput.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/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]; @@ -483,8 +483,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]; @@ -506,8 +506,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]; @@ -529,8 +529,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]; @@ -551,8 +551,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]; @@ -569,8 +569,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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInputOrBuilder.java index 650d4b337..751d1a8ba 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/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-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateFlowRequest.java index 514d32a02..4a4bed489 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateFlowRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateFlowRequest.java @@ -251,7 +251,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { *
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -281,7 +283,9 @@ public java.lang.String getLanguageCode() {
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1078,7 +1082,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1107,7 +1113,9 @@ public java.lang.String getLanguageCode() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1136,7 +1144,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1164,7 +1174,9 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1188,7 +1200,9 @@ public Builder clearLanguageCode() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateFlowRequestOrBuilder.java
index c3d693b66..946eace9f 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateFlowRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateFlowRequestOrBuilder.java
@@ -108,7 +108,9 @@ public interface UpdateFlowRequestOrBuilder
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -127,7 +129,9 @@ public interface UpdateFlowRequestOrBuilder
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdatePageRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdatePageRequest.java
index 3a9a32455..d9b469336 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdatePageRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdatePageRequest.java
@@ -199,11 +199,17 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getPageOrBuilder() {
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -233,11 +239,17 @@ public java.lang.String getLanguageCode() {
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -882,11 +894,17 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getPageOrBuilder() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -915,11 +933,17 @@ public java.lang.String getLanguageCode() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -948,11 +972,17 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -980,11 +1010,17 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1008,11 +1044,17 @@ public Builder clearLanguageCode() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdatePageRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdatePageRequestOrBuilder.java
index dbcdf63c5..ccde0a4cf 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdatePageRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdatePageRequestOrBuilder.java
@@ -67,11 +67,17 @@ public interface UpdatePageRequestOrBuilder
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -90,11 +96,17 @@ public interface UpdatePageRequestOrBuilder
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateTransitionRouteGroupRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateTransitionRouteGroupRequest.java
index 183289782..70b2def11 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateTransitionRouteGroupRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateTransitionRouteGroupRequest.java
@@ -251,9 +251,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -281,9 +282,10 @@ public java.lang.String getLanguageCode() {
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1089,9 +1091,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1118,9 +1121,10 @@ public java.lang.String getLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1147,9 +1151,10 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1175,9 +1180,10 @@ public Builder setLanguageCode(java.lang.String value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1199,9 +1205,10 @@ public Builder clearLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateTransitionRouteGroupRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateTransitionRouteGroupRequestOrBuilder.java
index 4838bfe37..e2b05abde 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateTransitionRouteGroupRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/UpdateTransitionRouteGroupRequestOrBuilder.java
@@ -104,9 +104,10 @@ public interface UpdateTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -123,9 +124,10 @@ public interface UpdateTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto
index 38d89f130..b583a5a7c 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto
@@ -21,6 +21,7 @@ import "google/api/client.proto";
 import "google/api/field_behavior.proto";
 import "google/api/resource.proto";
 import "google/cloud/dialogflow/cx/v3/flow.proto";
+import "google/cloud/dialogflow/cx/v3/security_settings.proto";
 import "google/longrunning/operations.proto";
 import "google/protobuf/empty.proto";
 import "google/protobuf/field_mask.proto";
@@ -165,6 +166,10 @@ message Agent {
   // This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method.
   string default_language_code = 3 [(google.api.field_behavior) = IMMUTABLE];
 
+  // The list of all languages supported by the agent (except for the
+  // `default_language_code`).
+  repeated string supported_language_codes = 4;
+
   // Required. The time zone of the agent from the [time zone
   // database](https://www.iana.org/time-zones), e.g., America/New_York,
   // Europe/Paris.
@@ -305,6 +310,16 @@ message ExportAgentRequest {
   // `gs:///`.
   // If left unspecified, the serialized agent is returned inline.
   string agent_uri = 2 [(google.api.field_behavior) = OPTIONAL];
+
+  // Optional. Environment name. If not set, draft environment is assumed.
+  // Format: `projects//locations//agents//environments/`.
+  string environment = 5 [
+    (google.api.field_behavior) = OPTIONAL,
+    (google.api.resource_reference) = {
+      type: "dialogflow.googleapis.com/Environment"
+    }
+  ];
 }
 
 // The response message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent].
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/experiment.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/experiment.proto
index 4db6a9a64..8f03a4f82 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/experiment.proto
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/experiment.proto
@@ -174,7 +174,7 @@ message Experiment {
     // Version variant and associated metrics.
     message VersionMetrics {
       // The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
-      // Format: `projects//locations//locations//agents//flows//versions/`.
       string version = 1 [(google.api.resource_reference) = {
                             type: "dialogflow.googleapis.com/Version"
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/flow.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/flow.proto
index 7b253538c..d831b3a7c 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/flow.proto
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/flow.proto
@@ -116,6 +116,33 @@ service Flows {
     };
     option (google.api.method_signature) = "name";
   }
+
+  // Imports the specified flow to the specified agent from a binary file.
+  rpc ImportFlow(ImportFlowRequest) returns (google.longrunning.Operation) {
+    option (google.api.http) = {
+      post: "/v3/{parent=projects/*/locations/*/agents/*}/flows:import"
+      body: "*"
+    };
+    option (google.longrunning.operation_info) = {
+      response_type: "ImportFlowResponse"
+      metadata_type: "google.protobuf.Struct"
+    };
+  }
+
+  // Exports the specified flow to a binary file.
+  //
+  // Note that resources (e.g. intents, entities, webhooks) that the flow
+  // references will also be exported.
+  rpc ExportFlow(ExportFlowRequest) returns (google.longrunning.Operation) {
+    option (google.api.http) = {
+      post: "/v3/{name=projects/*/locations/*/agents/*/flows/*}:export"
+      body: "*"
+    };
+    option (google.longrunning.operation_info) = {
+      response_type: "ExportFlowResponse"
+      metadata_type: "google.protobuf.Struct"
+    };
+  }
 }
 
 // Settings related to NLU.
@@ -260,7 +287,9 @@ message CreateFlowRequest {
   // The language of the following fields in `flow`:
   //
   // *  `Flow.event_handlers.trigger_fulfillment.messages`
+  // *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Flow.transition_routes.trigger_fulfillment.messages`
+  // *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -317,7 +346,9 @@ message ListFlowsRequest {
   // dependent:
   //
   // *  `Flow.event_handlers.trigger_fulfillment.messages`
+  // *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Flow.transition_routes.trigger_fulfillment.messages`
+  // *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -354,7 +385,9 @@ message GetFlowRequest {
   // dependent:
   //
   // *  `Flow.event_handlers.trigger_fulfillment.messages`
+  // *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Flow.transition_routes.trigger_fulfillment.messages`
+  // *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -376,7 +409,9 @@ message UpdateFlowRequest {
   // The language of the following fields in `flow`:
   //
   // *  `Flow.event_handlers.trigger_fulfillment.messages`
+  // *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Flow.transition_routes.trigger_fulfillment.messages`
+  // *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -449,3 +484,90 @@ message FlowValidationResult {
   // Last time the flow was validated.
   google.protobuf.Timestamp update_time = 3;
 }
+
+// The request message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
+message ImportFlowRequest {
+  // Import option.
+  enum ImportOption {
+    // Unspecified. Treated as `KEEP`.
+    IMPORT_OPTION_UNSPECIFIED = 0;
+
+    // Always respect settings in exported flow content. It may cause a
+    // import failure if some settings (e.g. custom NLU) are not supported in
+    // the agent to import into.
+    KEEP = 1;
+
+    // Fallback to default settings if some settings are not supported in the
+    // agent to import into. E.g. Standard NLU will be used if custom NLU is
+    // not available.
+    FALLBACK = 2;
+  }
+
+  // Required. The agent to import the flow into.
+  // Format: `projects//locations//agents/`.
+  string parent = 1 [
+    (google.api.field_behavior) = REQUIRED,
+    (google.api.resource_reference) = {
+      child_type: "dialogflow.googleapis.com/Flow"
+    }
+  ];
+
+  // Required. The flow to import.
+  oneof flow {
+    // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+    // to import flow from. The format of this URI must be
+    // `gs:///`.
+    string flow_uri = 2;
+
+    // Uncompressed raw byte content for flow.
+    bytes flow_content = 3;
+  }
+
+  // Flow import mode. If not specified, `KEEP` is assumed.
+  ImportOption import_option = 4;
+}
+
+// The response message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
+message ImportFlowResponse {
+  // The unique identifier of the new flow.
+  // Format: `projects//locations//agents//flows/`.
+  string flow = 1 [(google.api.resource_reference) = {
+                     type: "dialogflow.googleapis.com/Flow"
+                   }];
+}
+
+// The request message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
+message ExportFlowRequest {
+  // Required. The name of the flow to export.
+  // Format: `projects//locations//agents//flows/`.
+  string name = 1 [
+    (google.api.field_behavior) = REQUIRED,
+    (google.api.resource_reference) = {
+      type: "dialogflow.googleapis.com/Flow"
+    }
+  ];
+
+  // Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+  // export the flow to. The format of this URI must be
+  // `gs:///`.
+  // If left unspecified, the serialized flow is returned inline.
+  string flow_uri = 2 [(google.api.field_behavior) = OPTIONAL];
+
+  // Optional. Whether to export flows referenced by the specified flow.
+  bool include_referenced_flows = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The response message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
+message ExportFlowResponse {
+  // The exported flow.
+  oneof flow {
+    // The URI to a file containing the exported flow. This field is populated
+    // only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
+    string flow_uri = 1;
+
+    // Uncompressed raw byte content for flow.
+    bytes flow_content = 2;
+  }
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/page.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/page.proto
index fadede1ae..6cd8259f6 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/page.proto
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/page.proto
@@ -378,11 +378,17 @@ message ListPagesRequest {
   // dependent:
   //
   // *  `Page.entry_fulfillment.messages`
+  // *  `Page.entry_fulfillment.conditional_cases`
+  // *  `Page.event_handlers.trigger_fulfillment.messages`
+  // *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+  // *
+  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-  // *  `Page.transition_routes.trigger_fulfillment.messages`
   // *
-  // `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+  // *  `Page.transition_routes.trigger_fulfillment.messages`
+  // *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -426,11 +432,17 @@ message GetPageRequest {
   // dependent:
   //
   // *  `Page.entry_fulfillment.messages`
+  // *  `Page.entry_fulfillment.conditional_cases`
+  // *  `Page.event_handlers.trigger_fulfillment.messages`
+  // *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+  // *
+  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-  // *  `Page.transition_routes.trigger_fulfillment.messages`
   // *
-  // `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+  // *  `Page.transition_routes.trigger_fulfillment.messages`
+  // *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -458,11 +470,17 @@ message CreatePageRequest {
   // The language of the following fields in `page`:
   //
   // *  `Page.entry_fulfillment.messages`
+  // *  `Page.entry_fulfillment.conditional_cases`
+  // *  `Page.event_handlers.trigger_fulfillment.messages`
+  // *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+  // *
+  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-  // *  `Page.transition_routes.trigger_fulfillment.messages`
   // *
-  // `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+  // *  `Page.transition_routes.trigger_fulfillment.messages`
+  // *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -480,11 +498,17 @@ message UpdatePageRequest {
   // The language of the following fields in `page`:
   //
   // *  `Page.entry_fulfillment.messages`
+  // *  `Page.entry_fulfillment.conditional_cases`
+  // *  `Page.event_handlers.trigger_fulfillment.messages`
+  // *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+  // *
+  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-  // *  `Page.transition_routes.trigger_fulfillment.messages`
   // *
-  // `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+  // *  `Page.transition_routes.trigger_fulfillment.messages`
+  // *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto
index 8d5763736..823faab99 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto
@@ -17,6 +17,7 @@ syntax = "proto3";
 package google.cloud.dialogflow.cx.v3;
 
 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/v3/audio_config.proto";
@@ -29,7 +30,6 @@ 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.V3";
@@ -45,8 +45,9 @@ 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.v3.Sessions.DetectIntent] method to determine
-// user intent and respond.
+// and pass it to the
+// [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
+// determine user intent and respond.
 service Sessions {
   option (google.api.default_host) = "dialogflow.googleapis.com";
   option (google.api.oauth_scopes) =
@@ -79,8 +80,8 @@ service Sessions {
   // Note: Always use agent versions for production traffic.
   // See [Versions and
   // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
-  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.
@@ -95,9 +96,13 @@ service Sessions {
     };
   }
 
-  // Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
-  // Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
-  // [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
+  // Fulfills a matched intent returned by
+  // [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
+  // called after
+  // [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
+  // input from
+  // [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
+  // Otherwise, the behavior is undefined.
   rpc FulfillIntent(FulfillIntentRequest) returns (FulfillIntentResponse) {
     option (google.api.http) = {
       post: "/v3/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent"
@@ -157,9 +162,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.v3.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.v3.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
@@ -172,24 +177,29 @@ message DetectIntentResponse {
 }
 
 // The top-level message sent by the client to the
-// [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method.
+// [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent]
+// method.
 //
 // Multiple request messages should be sent in order:
 //
 // 1.  The first message must contain
 // [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session],
-//     [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally
-//     [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. If the client
-//     wants to receive an audio response, it should also contain
+//     [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input]
+//     plus optionally
+//     [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params].
+//     If the client wants to receive an audio response, it should also contain
 //     [output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config].
 //
-// 2.  If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to
-//     [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], all subsequent messages
-//     must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.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.v3.QueryInput.text].
+// 2.  If
+// [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input]
+// was set to
+//     [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config],
+//     all subsequent messages must contain
+//     [query_input.audio.audio][google.cloud.dialogflow.cx.v3.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.v3.QueryInput.text].
 //
 //     However, note that:
 //
@@ -218,8 +228,8 @@ message StreamingDetectIntentRequest {
   // See [Versions and
   // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
   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;
@@ -240,7 +250,12 @@ message StreamingDetectIntentRequest {
 //     complete transcript of what the user said. The last `recognition_result`
 //     has `is_final` set to `true`.
 //
-// 2.  The last message contains `detect_intent_response`.
+// 2.  If `enable_partial_response` is true, the following N messages
+//     (currently 1 <= N <= 4) contain `detect_intent_response`. The first (N-1)
+//     `detect_intent_response`s will have `response_type` set to `PARTIAL`.
+//     The last `detect_intent_response` has `response_type` set to `FINAL`.
+//     If `response_type` is false, response stream only contains
+//     the final `detect_intent_response`.
 message StreamingDetectIntentResponse {
   // The output response.
   oneof response {
@@ -300,8 +315,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.v3.InputAudioConfig.single_utterance] was set to
-    // `true`, and is not used otherwise.
+    // [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance]
+    // was set to `true`, and is not used otherwise.
     END_OF_SINGLE_UTTERANCE = 2;
   }
 
@@ -337,7 +352,8 @@ message StreamingRecognitionResult {
   float stability = 6;
 
   // Word-specific information for the words recognized by Speech in
-  // [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
+  // [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
+  // Populated if and only if `message_type` = `TRANSCRIPT` and
   // [InputAudioConfig.enable_word_info] is set.
   repeated SpeechWordInfo speech_word_info = 7;
 
@@ -365,6 +381,17 @@ message QueryParameters {
 
   // This field can be used to pass custom data into the webhook associated with
   // the agent. Arbitrary JSON objects are supported.
+  // Some integrations that query a Dialogflow agent may provide additional
+  // information in the payload.
+  // In particular, for the Dialogflow Phone Gateway integration, this field has
+  // the form:
+  // ```
+  // {
+  //  "telephony": {
+  //    "caller_id": "+18558363987"
+  //  }
+  // }
+  // ```
   google.protobuf.Struct payload = 4;
 
   // Additional parameters to be put into [session
@@ -388,20 +415,22 @@ message QueryParameters {
   //     -   Else: parameter value
   google.protobuf.Struct parameters = 5;
 
-  // The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
-  // page][QueryResult.current_page] in the session. Format: `projects//locations//agents//pages/`.
+  // The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
+  // override the [current page][QueryResult.current_page] in the session.
+  // Format: `projects//locations//agents//pages/`.
   //
   // If `current_page` is specified, the previous state of the session will be
   // ignored by Dialogflow, including the [previous
   // page][QueryResult.current_page] and the [previous session
   // parameters][QueryResult.parameters].
-  // In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
-  // [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
-  // direct a session to a specific state.
-  string current_page = 6 [(google.api.resource_reference) = {
-                             type: "dialogflow.googleapis.com/Page"
-                           }];
+  // In most cases,
+  // [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page]
+  // and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters]
+  // should be configured together to direct a session to a specific state.
+  string current_page = 6 [
+    (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" }
+  ];
 
   // Whether to disable webhook calls for this request.
   bool disable_webhook = 7;
@@ -461,24 +490,25 @@ message QueryInput {
 message QueryResult {
   // The original conversational query.
   oneof query {
-    // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-    // will contain a copy of the text.
+    // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+    // provided as input, this field will contain a copy of the text.
     string text = 1;
 
-    // If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-    // contain a copy of the intent identifier.
-    // Format: `projects//locations//agents//locations//agents//intents/`.
     string trigger_intent = 11 [(google.api.resource_reference) = {
-                                  type: "dialogflow.googleapis.com/Intent"
-                                }];
+      type: "dialogflow.googleapis.com/Intent"
+    }];
 
-    // If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+    // If [natural language speech
+    // audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
     // this field will contain the transcript for the audio.
     string transcript = 12;
 
-    // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
-    // the name of the event.
+    // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+    // input, this field will contain the name of the event.
     string trigger_event = 14;
   }
 
@@ -488,7 +518,8 @@ message QueryResult {
   // for a list of the currently supported language codes.
   string language_code = 2;
 
-  // The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
+  // The collected [session
+  // parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
   //
   // Depending on your protocol or client library language, this is a
   // map, associative array, symbol table, dictionary, or JSON object
@@ -514,19 +545,23 @@ 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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.QueryResult.match] instead.
+  // The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match]
+  // instead.
   Intent intent = 8 [deprecated = true];
 
   // The intent detection confidence. Values range from 0.0 (completely
@@ -535,7 +570,9 @@ 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.v3.QueryResult.match] instead.
+  // This field is deprecated, please use
+  // [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match]
+  // instead.
   float intent_detection_confidence = 9 [deprecated = true];
 
   // Intent match result, could be an intent or an event.
@@ -548,14 +585,15 @@ message QueryResult {
 
   // The sentiment analyss result, which depends on
   // [`analyze_query_text_sentiment`]
-  // [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
+  // [google.cloud.dialogflow.cx.v3.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];
 }
 
@@ -580,8 +618,9 @@ 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.v3.QueryResult.transcript] cannot contain more than 256
-  // bytes.
+  // The [transcribed
+  // text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain
+  // more than 256 bytes.
   //
   // For non-streaming audio detect intent, both `config` and `audio` must be
   // provided.
@@ -631,9 +670,10 @@ message Match {
     EVENT = 6;
   }
 
-  // The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
+  // The [Intent][google.cloud.dialogflow.cx.v3.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.v3.Match.MatchType] match type.
   Intent intent = 1;
 
   // The event that matched the query. Only filled for
@@ -707,24 +747,25 @@ message MatchIntentRequest {
 message MatchIntentResponse {
   // The original conversational query.
   oneof query {
-    // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
-    // will contain a copy of the text.
+    // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
+    // provided as input, this field will contain a copy of the text.
     string text = 1;
 
-    // If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
-    // contain a copy of the intent identifier.
-    // Format: `projects//locations//agents//locations//agents//intents/`.
     string trigger_intent = 2 [(google.api.resource_reference) = {
-                                 type: "dialogflow.googleapis.com/Intent"
-                               }];
+      type: "dialogflow.googleapis.com/Intent"
+    }];
 
-    // If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
+    // If [natural language speech
+    // audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
     // this field will contain the transcript for the audio.
     string transcript = 3;
 
-    // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
-    // contain a copy of the event name.
+    // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
+    // input, this field will contain a copy of the event name.
     string trigger_event = 6;
   }
 
@@ -732,8 +773,9 @@ message MatchIntentResponse {
   // we have that the particular intent matches the query.
   repeated Match matches = 4;
 
-  // The current [Page][google.cloud.dialogflow.cx.v3.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.v3.Page]. Some, not all
+  // fields are filled in this message, including but not limited to `name` and
+  // `display_name`.
   Page current_page = 5;
 }
 
@@ -762,9 +804,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.v3.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.v3.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
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/transition_route_group.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/transition_route_group.proto
index 1f5911955..05dc15341 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/transition_route_group.proto
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/transition_route_group.proto
@@ -124,9 +124,13 @@ message ListTransitionRouteGroupsRequest {
   // The next_page_token value returned from a previous list request.
   string page_token = 3;
 
-  // The language to list transition route groups for. The field
-  // [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-  // [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+  // The language to list transition route groups for. The following fields are
+  // language dependent:
+  //
+  // *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+  // *
+  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
+  //
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -161,9 +165,12 @@ message GetTransitionRouteGroupRequest {
     }
   ];
 
-  // The language to list transition route groups for. The field
-  // [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-  // [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+  // The language to retrieve the transition route group for. The following
+  // fields are language dependent:
+  //
+  // *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+  // *
+  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -188,9 +195,11 @@ message CreateTransitionRouteGroupRequest {
   // Required. The transition route group to create.
   TransitionRouteGroup transition_route_group = 2 [(google.api.field_behavior) = REQUIRED];
 
-  // The language to list transition route groups for. The field
-  // [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-  // [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+  // The language of the following fields in `TransitionRouteGroup`:
+  //
+  // *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+  // *
+  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -208,9 +217,11 @@ message UpdateTransitionRouteGroupRequest {
   // The mask to control which fields get updated.
   google.protobuf.FieldMask update_mask = 2;
 
-  // The language to list transition route groups for. The field
-  // [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-  // [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
+  // The language of the following fields in `TransitionRouteGroup`:
+  //
+  // *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+  // *
+  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/version.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/version.proto
index a3a992025..3ddad2069 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/version.proto
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/version.proto
@@ -87,7 +87,7 @@ service Versions {
     option (google.api.method_signature) = "name";
   }
 
-  // Loads a specified version to draft version.
+  // Loads resources in the specified version to the draft flow.
   rpc LoadVersion(LoadVersionRequest) returns (google.longrunning.Operation) {
     option (google.api.http) = {
       post: "/v3/{name=projects/*/locations/*/agents/*/flows/*/versions/*}:load"
@@ -243,7 +243,7 @@ message DeleteVersionRequest {
 
 // The request message for [Versions.LoadVersion][google.cloud.dialogflow.cx.v3.Versions.LoadVersion].
 message LoadVersionRequest {
-  // Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft version.
+  // Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft flow.
   // Format: `projects//locations//agents//flows//versions/`.
   string name = 1 [
@@ -253,9 +253,9 @@ message LoadVersionRequest {
     }
   ];
 
-  // This field is used to prevent accidental overwrite of other agent resources
-  // in the draft version, which can potentially impact other flow's behavior.
-  // If `allow_override_agent_resources` is false, conflicted agent-level
-  // resources will not be overridden (i.e. intents, entities, webhooks).
+  // This field is used to prevent accidental overwrite of other agent
+  // resources, which can potentially impact other flow's behavior. If
+  // `allow_override_agent_resources` is false, conflicted agent-level resources
+  // will not be overridden (i.e. intents, entities, webhooks).
   bool allow_override_agent_resources = 2;
 }
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Agent.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Agent.java
index eb5f43986..32079a43a 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Agent.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Agent.java
@@ -47,6 +47,7 @@ private Agent() {
     name_ = "";
     displayName_ = "";
     defaultLanguageCode_ = "";
+    supportedLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     timeZone_ = "";
     description_ = "";
     avatarUri_ = "";
@@ -73,6 +74,7 @@ private Agent(
     if (extensionRegistry == null) {
       throw new java.lang.NullPointerException();
     }
+    int mutable_bitField0_ = 0;
     com.google.protobuf.UnknownFieldSet.Builder unknownFields =
         com.google.protobuf.UnknownFieldSet.newBuilder();
     try {
@@ -104,6 +106,16 @@ private Agent(
               defaultLanguageCode_ = s;
               break;
             }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                supportedLanguageCodes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              supportedLanguageCodes_.add(s);
+              break;
+            }
           case 42:
             {
               java.lang.String s = input.readStringRequireUtf8();
@@ -180,6 +192,9 @@ private Agent(
     } catch (java.io.IOException e) {
       throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
+      if (((mutable_bitField0_ & 0x00000001) != 0)) {
+        supportedLanguageCodes_ = supportedLanguageCodes_.getUnmodifiableView();
+      }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
@@ -361,6 +376,71 @@ public com.google.protobuf.ByteString getDefaultLanguageCodeBytes() {
     }
   }
 
+  public static final int SUPPORTED_LANGUAGE_CODES_FIELD_NUMBER = 4;
+  private com.google.protobuf.LazyStringList supportedLanguageCodes_;
+  /**
+   *
+   *
+   * 
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @return A list containing the supportedLanguageCodes. + */ + public com.google.protobuf.ProtocolStringList getSupportedLanguageCodesList() { + return supportedLanguageCodes_; + } + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @return The count of supportedLanguageCodes. + */ + public int getSupportedLanguageCodesCount() { + return supportedLanguageCodes_.size(); + } + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the element to return. + * @return The supportedLanguageCodes at the given index. + */ + public java.lang.String getSupportedLanguageCodes(int index) { + return supportedLanguageCodes_.get(index); + } + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the value to return. + * @return The bytes of the supportedLanguageCodes at the given index. + */ + public com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index) { + return supportedLanguageCodes_.getByteString(index); + } + public static final int TIME_ZONE_FIELD_NUMBER = 5; private volatile java.lang.Object timeZone_; /** @@ -746,6 +826,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getDefaultLanguageCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultLanguageCode_); } + for (int i = 0; i < supportedLanguageCodes_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, supportedLanguageCodes_.getRaw(i)); + } if (!getTimeZoneBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, timeZone_); } @@ -788,6 +872,14 @@ public int getSerializedSize() { if (!getDefaultLanguageCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultLanguageCode_); } + { + int dataSize = 0; + for (int i = 0; i < supportedLanguageCodes_.size(); i++) { + dataSize += computeStringSizeNoTag(supportedLanguageCodes_.getRaw(i)); + } + size += dataSize; + size += 1 * getSupportedLanguageCodesList().size(); + } if (!getTimeZoneBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, timeZone_); } @@ -832,6 +924,8 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getDefaultLanguageCode().equals(other.getDefaultLanguageCode())) return false; + if (!getSupportedLanguageCodesList().equals(other.getSupportedLanguageCodesList())) + return false; if (!getTimeZone().equals(other.getTimeZone())) return false; if (!getDescription().equals(other.getDescription())) return false; if (!getAvatarUri().equals(other.getAvatarUri())) return false; @@ -860,6 +954,10 @@ public int hashCode() { hash = (53 * hash) + getDisplayName().hashCode(); hash = (37 * hash) + DEFAULT_LANGUAGE_CODE_FIELD_NUMBER; hash = (53 * hash) + getDefaultLanguageCode().hashCode(); + if (getSupportedLanguageCodesCount() > 0) { + hash = (37 * hash) + SUPPORTED_LANGUAGE_CODES_FIELD_NUMBER; + hash = (53 * hash) + getSupportedLanguageCodesList().hashCode(); + } hash = (37 * hash) + TIME_ZONE_FIELD_NUMBER; hash = (53 * hash) + getTimeZone().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; @@ -1035,6 +1133,8 @@ public Builder clear() { defaultLanguageCode_ = ""; + supportedLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); timeZone_ = ""; description_ = ""; @@ -1082,9 +1182,15 @@ public com.google.cloud.dialogflow.cx.v3beta1.Agent build() { public com.google.cloud.dialogflow.cx.v3beta1.Agent buildPartial() { com.google.cloud.dialogflow.cx.v3beta1.Agent result = new com.google.cloud.dialogflow.cx.v3beta1.Agent(this); + int from_bitField0_ = bitField0_; result.name_ = name_; result.displayName_ = displayName_; result.defaultLanguageCode_ = defaultLanguageCode_; + if (((bitField0_ & 0x00000001) != 0)) { + supportedLanguageCodes_ = supportedLanguageCodes_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.supportedLanguageCodes_ = supportedLanguageCodes_; result.timeZone_ = timeZone_; result.description_ = description_; result.avatarUri_ = avatarUri_; @@ -1158,6 +1264,16 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Agent other) { defaultLanguageCode_ = other.defaultLanguageCode_; onChanged(); } + if (!other.supportedLanguageCodes_.isEmpty()) { + if (supportedLanguageCodes_.isEmpty()) { + supportedLanguageCodes_ = other.supportedLanguageCodes_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSupportedLanguageCodesIsMutable(); + supportedLanguageCodes_.addAll(other.supportedLanguageCodes_); + } + onChanged(); + } if (!other.getTimeZone().isEmpty()) { timeZone_ = other.timeZone_; onChanged(); @@ -1216,6 +1332,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private java.lang.Object name_ = ""; /** * @@ -1569,6 +1687,184 @@ public Builder setDefaultLanguageCodeBytes(com.google.protobuf.ByteString value) return this; } + private com.google.protobuf.LazyStringList supportedLanguageCodes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureSupportedLanguageCodesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + supportedLanguageCodes_ = + new com.google.protobuf.LazyStringArrayList(supportedLanguageCodes_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @return A list containing the supportedLanguageCodes. + */ + public com.google.protobuf.ProtocolStringList getSupportedLanguageCodesList() { + return supportedLanguageCodes_.getUnmodifiableView(); + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @return The count of supportedLanguageCodes. + */ + public int getSupportedLanguageCodesCount() { + return supportedLanguageCodes_.size(); + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the element to return. + * @return The supportedLanguageCodes at the given index. + */ + public java.lang.String getSupportedLanguageCodes(int index) { + return supportedLanguageCodes_.get(index); + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the value to return. + * @return The bytes of the supportedLanguageCodes at the given index. + */ + public com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index) { + return supportedLanguageCodes_.getByteString(index); + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index to set the value at. + * @param value The supportedLanguageCodes to set. + * @return This builder for chaining. + */ + public Builder setSupportedLanguageCodes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSupportedLanguageCodesIsMutable(); + supportedLanguageCodes_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param value The supportedLanguageCodes to add. + * @return This builder for chaining. + */ + public Builder addSupportedLanguageCodes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSupportedLanguageCodesIsMutable(); + supportedLanguageCodes_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param values The supportedLanguageCodes to add. + * @return This builder for chaining. + */ + public Builder addAllSupportedLanguageCodes(java.lang.Iterable values) { + ensureSupportedLanguageCodesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedLanguageCodes_); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @return This builder for chaining. + */ + public Builder clearSupportedLanguageCodes() { + supportedLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of all languages supported by the agent (except for the
+     * `default_language_code`).
+     * 
+ * + * repeated string supported_language_codes = 4; + * + * @param value The bytes of the supportedLanguageCodes to add. + * @return This builder for chaining. + */ + public Builder addSupportedLanguageCodesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureSupportedLanguageCodesIsMutable(); + supportedLanguageCodes_.add(value); + onChanged(); + return this; + } + private java.lang.Object timeZone_ = ""; /** * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java index 8f2edb5e6..eb6478fb4 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java @@ -112,6 +112,61 @@ public interface AgentOrBuilder */ com.google.protobuf.ByteString getDefaultLanguageCodeBytes(); + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @return A list containing the supportedLanguageCodes. + */ + java.util.List getSupportedLanguageCodesList(); + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @return The count of supportedLanguageCodes. + */ + int getSupportedLanguageCodesCount(); + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the element to return. + * @return The supportedLanguageCodes at the given index. + */ + java.lang.String getSupportedLanguageCodes(int index); + /** + * + * + *
+   * The list of all languages supported by the agent (except for the
+   * `default_language_code`).
+   * 
+ * + * repeated string supported_language_codes = 4; + * + * @param index The index of the value to return. + * @return The bytes of the supportedLanguageCodes at the given index. + */ + com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index); + /** * * 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 b01941a29..92b401a87 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 @@ -103,114 +103,117 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "unning/operations.proto\032\033google/protobuf" + "/empty.proto\032 google/protobuf/field_mask" + ".proto\"8\n\024SpeechToTextSettings\022 \n\030enable" - + "_speech_adaptation\030\001 \001(\010\"\233\004\n\005Agent\022\014\n\004na" + + "_speech_adaptation\030\001 \001(\010\"\275\004\n\005Agent\022\014\n\004na" + "me\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\"\n\025d" - + "efault_language_code\030\003 \001(\tB\003\340A\005\022\026\n\ttime_" - + "zone\030\005 \001(\tB\003\340A\002\022\023\n\013description\030\006 \001(\t\022\022\n\n" - + "avatar_uri\030\007 \001(\t\022Y\n\027speech_to_text_setti" - + "ngs\030\r \001(\01328.google.cloud.dialogflow.cx.v" - + "3beta1.SpeechToTextSettings\022:\n\nstart_flo" - + "w\030\020 \001(\tB&\340A\005\372A \n\036dialogflow.googleapis.c" - + "om/Flow\022J\n\021security_settings\030\021 \001(\tB/\372A,\n" - + "*dialogflow.googleapis.com/SecuritySetti" - + "ngs\022\"\n\032enable_stackdriver_logging\030\022 \001(\010\022" - + "\037\n\027enable_spell_correction\030\024 \001(\010:\\\352AY\n\037d" - + "ialogflow.googleapis.com/Agent\0226projects" - + "/{project}/locations/{location}/agents/{" - + "agent}\"s\n\021ListAgentsRequest\0227\n\006parent\030\001 " - + "\001(\tB\'\340A\002\372A!\022\037dialogflow.googleapis.com/A" - + "gent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\"h\n\022ListAgentsResponse\0229\n\006agents\030\001 \003(" - + "\0132).google.cloud.dialogflow.cx.v3beta1.A" - + "gent\022\027\n\017next_page_token\030\002 \001(\t\"H\n\017GetAgen" - + "tRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogfl" - + "ow.googleapis.com/Agent\"\214\001\n\022CreateAgentR" - + "equest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogfl" - + "ow.googleapis.com/Agent\022=\n\005agent\030\002 \001(\0132)" + + "efault_language_code\030\003 \001(\tB\003\340A\005\022 \n\030suppo" + + "rted_language_codes\030\004 \003(\t\022\026\n\ttime_zone\030\005" + + " \001(\tB\003\340A\002\022\023\n\013description\030\006 \001(\t\022\022\n\navatar" + + "_uri\030\007 \001(\t\022Y\n\027speech_to_text_settings\030\r " + + "\001(\01328.google.cloud.dialogflow.cx.v3beta1" + + ".SpeechToTextSettings\022:\n\nstart_flow\030\020 \001(" + + "\tB&\340A\005\372A \n\036dialogflow.googleapis.com/Flo" + + "w\022J\n\021security_settings\030\021 \001(\tB/\372A,\n*dialo" + + "gflow.googleapis.com/SecuritySettings\022\"\n" + + "\032enable_stackdriver_logging\030\022 \001(\010\022\037\n\027ena" + + "ble_spell_correction\030\024 \001(\010:\\\352AY\n\037dialogf" + + "low.googleapis.com/Agent\0226projects/{proj" + + "ect}/locations/{location}/agents/{agent}" + + "\"s\n\021ListAgentsRequest\0227\n\006parent\030\001 \001(\tB\'\340" + + "A\002\372A!\022\037dialogflow.googleapis.com/Agent\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n" + + "\022ListAgentsResponse\0229\n\006agents\030\001 \003(\0132).go" + + "ogle.cloud.dialogflow.cx.v3beta1.Agent\022\027" + + "\n\017next_page_token\030\002 \001(\t\"H\n\017GetAgentReque" + + "st\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.goo" + + "gleapis.com/Agent\"\214\001\n\022CreateAgentRequest" + + "\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflow.goo" + + "gleapis.com/Agent\022=\n\005agent\030\002 \001(\0132).googl" + + "e.cloud.dialogflow.cx.v3beta1.AgentB\003\340A\002" + + "\"\204\001\n\022UpdateAgentRequest\022=\n\005agent\030\001 \001(\0132)" + ".google.cloud.dialogflow.cx.v3beta1.Agen" - + "tB\003\340A\002\"\204\001\n\022UpdateAgentRequest\022=\n\005agent\030\001" - + " \001(\0132).google.cloud.dialogflow.cx.v3beta" - + "1.AgentB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" - + "le.protobuf.FieldMask\"K\n\022DeleteAgentRequ" - + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.go" - + "ogleapis.com/Agent\"c\n\022ExportAgentRequest" - + "\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googl" - + "eapis.com/Agent\022\026\n\tagent_uri\030\002 \001(\tB\003\340A\001\"" - + "L\n\023ExportAgentResponse\022\023\n\tagent_uri\030\001 \001(" - + "\tH\000\022\027\n\ragent_content\030\002 \001(\014H\000B\007\n\005agent\"\253\002" - + "\n\023RestoreAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002" - + "\372A!\n\037dialogflow.googleapis.com/Agent\022\023\n\t" - + "agent_uri\030\002 \001(\tH\000\022\027\n\ragent_content\030\003 \001(\014" - + "H\000\022]\n\016restore_option\030\005 \001(\0162E.google.clou" - + "d.dialogflow.cx.v3beta1.RestoreAgentRequ" - + "est.RestoreOption\"G\n\rRestoreOption\022\036\n\032RE" - + "STORE_OPTION_UNSPECIFIED\020\000\022\010\n\004KEEP\020\001\022\014\n\010" - + "FALLBACK\020\002B\007\n\005agent\"d\n\024ValidateAgentRequ" - + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.go" - + "ogleapis.com/Agent\022\025\n\rlanguage_code\030\002 \001(" - + "\t\"\177\n\037GetAgentValidationResultRequest\022E\n\004" - + "name\030\001 \001(\tB7\340A\002\372A1\n/dialogflow.googleapi" - + "s.com/AgentValidationResult\022\025\n\rlanguage_" - + "code\030\002 \001(\t\"\377\001\n\025AgentValidationResult\022\014\n\004" - + "name\030\001 \001(\t\022Y\n\027flow_validation_results\030\002 " - + "\003(\01328.google.cloud.dialogflow.cx.v3beta1" - + ".FlowValidationResult:}\352Az\n/dialogflow.g" - + "oogleapis.com/AgentValidationResult\022Gpro" - + "jects/{project}/locations/{location}/age" - + "nts/{agent}/validationResult2\221\017\n\006Agents\022" - + "\275\001\n\nListAgents\0225.google.cloud.dialogflow" - + ".cx.v3beta1.ListAgentsRequest\0326.google.c" - + "loud.dialogflow.cx.v3beta1.ListAgentsRes" - + "ponse\"@\202\323\344\223\0021\022//v3beta1/{parent=projects" - + "/*/locations/*}/agents\332A\006parent\022\252\001\n\010GetA" - + "gent\0223.google.cloud.dialogflow.cx.v3beta" - + "1.GetAgentRequest\032).google.cloud.dialogf" - + "low.cx.v3beta1.Agent\">\202\323\344\223\0021\022//v3beta1/{" - + "name=projects/*/locations/*/agents/*}\332A\004" - + "name\022\277\001\n\013CreateAgent\0226.google.cloud.dial" - + "ogflow.cx.v3beta1.CreateAgentRequest\032).g" - + "oogle.cloud.dialogflow.cx.v3beta1.Agent\"" - + "M\202\323\344\223\0028\"//v3beta1/{parent=projects/*/loc" - + "ations/*}/agents:\005agent\332A\014parent,agent\022\312" - + "\001\n\013UpdateAgent\0226.google.cloud.dialogflow" - + ".cx.v3beta1.UpdateAgentRequest\032).google." - + "cloud.dialogflow.cx.v3beta1.Agent\"X\202\323\344\223\002" - + ">25/v3beta1/{agent.name=projects/*/locat" - + "ions/*/agents/*}:\005agent\332A\021agent,update_m" - + "ask\022\235\001\n\013DeleteAgent\0226.google.cloud.dialo" - + "gflow.cx.v3beta1.DeleteAgentRequest\032\026.go" - + "ogle.protobuf.Empty\">\202\323\344\223\0021*//v3beta1/{n" - + "ame=projects/*/locations/*/agents/*}\332A\004n" - + "ame\022\327\001\n\013ExportAgent\0226.google.cloud.dialo" - + "gflow.cx.v3beta1.ExportAgentRequest\032\035.go" - + "ogle.longrunning.Operation\"q\202\323\344\223\002;\"6/v3b" - + "eta1/{name=projects/*/locations/*/agents" - + "/*}:export:\001*\312A-\n\023ExportAgentResponse\022\026g" - + "oogle.protobuf.Struct\022\334\001\n\014RestoreAgent\0227" - + ".google.cloud.dialogflow.cx.v3beta1.Rest" - + "oreAgentRequest\032\035.google.longrunning.Ope" - + "ration\"t\202\323\344\223\002<\"7/v3beta1/{name=projects/" - + "*/locations/*/agents/*}:restore:\001*\312A/\n\025g" - + "oogle.protobuf.Empty\022\026google.protobuf.St" - + "ruct\022\311\001\n\rValidateAgent\0228.google.cloud.di" - + "alogflow.cx.v3beta1.ValidateAgentRequest" - + "\0329.google.cloud.dialogflow.cx.v3beta1.Ag" - + "entValidationResult\"C\202\323\344\223\002=\"8/v3beta1/{n" - + "ame=projects/*/locations/*/agents/*}:val" - + "idate:\001*\022\353\001\n\030GetAgentValidationResult\022C." - + "google.cloud.dialogflow.cx.v3beta1.GetAg" - + "entValidationResultRequest\0329.google.clou" - + "d.dialogflow.cx.v3beta1.AgentValidationR" - + "esult\"O\202\323\344\223\002B\022@/v3beta1/{name=projects/*" - + "/locations/*/agents/*/validationResult}\332" - + "A\004name\032x\312A\031dialogflow.googleapis.com\322AYh" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform,https://www.googleapis.com/auth/di" - + "alogflowB\251\001\n&com.google.cloud.dialogflow" - + ".cx.v3beta1B\nAgentProtoP\001ZDgoogle.golang" - + ".org/genproto/googleapis/cloud/dialogflo" - + "w/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.D" - + "ialogflow.Cx.V3Beta1b\006proto3" + + "tB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pro" + + "tobuf.FieldMask\"K\n\022DeleteAgentRequest\0225\n" + + "\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleap" + + "is.com/Agent\"\247\001\n\022ExportAgentRequest\0225\n\004n" + + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis" + + ".com/Agent\022\026\n\tagent_uri\030\002 \001(\tB\003\340A\001\022B\n\013en" + + "vironment\030\005 \001(\tB-\340A\001\372A\'\n%dialogflow.goog" + + "leapis.com/Environment\"L\n\023ExportAgentRes" + + "ponse\022\023\n\tagent_uri\030\001 \001(\tH\000\022\027\n\ragent_cont" + + "ent\030\002 \001(\014H\000B\007\n\005agent\"\253\002\n\023RestoreAgentReq" + + "uest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.g" + + "oogleapis.com/Agent\022\023\n\tagent_uri\030\002 \001(\tH\000" + + "\022\027\n\ragent_content\030\003 \001(\014H\000\022]\n\016restore_opt" + + "ion\030\005 \001(\0162E.google.cloud.dialogflow.cx.v" + + "3beta1.RestoreAgentRequest.RestoreOption" + + "\"G\n\rRestoreOption\022\036\n\032RESTORE_OPTION_UNSP" + + "ECIFIED\020\000\022\010\n\004KEEP\020\001\022\014\n\010FALLBACK\020\002B\007\n\005age" + + "nt\"d\n\024ValidateAgentRequest\0225\n\004name\030\001 \001(\t" + + "B\'\340A\002\372A!\n\037dialogflow.googleapis.com/Agen" + + "t\022\025\n\rlanguage_code\030\002 \001(\t\"\177\n\037GetAgentVali" + + "dationResultRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A" + + "1\n/dialogflow.googleapis.com/AgentValida" + + "tionResult\022\025\n\rlanguage_code\030\002 \001(\t\"\377\001\n\025Ag" + + "entValidationResult\022\014\n\004name\030\001 \001(\t\022Y\n\027flo" + + "w_validation_results\030\002 \003(\01328.google.clou" + + "d.dialogflow.cx.v3beta1.FlowValidationRe" + + "sult:}\352Az\n/dialogflow.googleapis.com/Age" + + "ntValidationResult\022Gprojects/{project}/l" + + "ocations/{location}/agents/{agent}/valid" + + "ationResult2\221\017\n\006Agents\022\275\001\n\nListAgents\0225." + + "google.cloud.dialogflow.cx.v3beta1.ListA" + + "gentsRequest\0326.google.cloud.dialogflow.c" + + "x.v3beta1.ListAgentsResponse\"@\202\323\344\223\0021\022//v" + + "3beta1/{parent=projects/*/locations/*}/a" + + "gents\332A\006parent\022\252\001\n\010GetAgent\0223.google.clo" + + "ud.dialogflow.cx.v3beta1.GetAgentRequest" + + "\032).google.cloud.dialogflow.cx.v3beta1.Ag" + + "ent\">\202\323\344\223\0021\022//v3beta1/{name=projects/*/l" + + "ocations/*/agents/*}\332A\004name\022\277\001\n\013CreateAg" + + "ent\0226.google.cloud.dialogflow.cx.v3beta1" + + ".CreateAgentRequest\032).google.cloud.dialo" + + "gflow.cx.v3beta1.Agent\"M\202\323\344\223\0028\"//v3beta1" + + "/{parent=projects/*/locations/*}/agents:" + + "\005agent\332A\014parent,agent\022\312\001\n\013UpdateAgent\0226." + + "google.cloud.dialogflow.cx.v3beta1.Updat" + + "eAgentRequest\032).google.cloud.dialogflow." + + "cx.v3beta1.Agent\"X\202\323\344\223\002>25/v3beta1/{agen" + + "t.name=projects/*/locations/*/agents/*}:" + + "\005agent\332A\021agent,update_mask\022\235\001\n\013DeleteAge" + + "nt\0226.google.cloud.dialogflow.cx.v3beta1." + + "DeleteAgentRequest\032\026.google.protobuf.Emp" + + "ty\">\202\323\344\223\0021*//v3beta1/{name=projects/*/lo" + + "cations/*/agents/*}\332A\004name\022\327\001\n\013ExportAge" + + "nt\0226.google.cloud.dialogflow.cx.v3beta1." + + "ExportAgentRequest\032\035.google.longrunning." + + "Operation\"q\202\323\344\223\002;\"6/v3beta1/{name=projec" + + "ts/*/locations/*/agents/*}:export:\001*\312A-\n" + + "\023ExportAgentResponse\022\026google.protobuf.St" + + "ruct\022\334\001\n\014RestoreAgent\0227.google.cloud.dia" + + "logflow.cx.v3beta1.RestoreAgentRequest\032\035" + + ".google.longrunning.Operation\"t\202\323\344\223\002<\"7/" + + "v3beta1/{name=projects/*/locations/*/age" + + "nts/*}:restore:\001*\312A/\n\025google.protobuf.Em" + + "pty\022\026google.protobuf.Struct\022\311\001\n\rValidate" + + "Agent\0228.google.cloud.dialogflow.cx.v3bet" + + "a1.ValidateAgentRequest\0329.google.cloud.d" + + "ialogflow.cx.v3beta1.AgentValidationResu" + + "lt\"C\202\323\344\223\002=\"8/v3beta1/{name=projects/*/lo" + + "cations/*/agents/*}:validate:\001*\022\353\001\n\030GetA" + + "gentValidationResult\022C.google.cloud.dial" + + "ogflow.cx.v3beta1.GetAgentValidationResu" + + "ltRequest\0329.google.cloud.dialogflow.cx.v" + + "3beta1.AgentValidationResult\"O\202\323\344\223\002B\022@/v" + + "3beta1/{name=projects/*/locations/*/agen" + + "ts/*/validationResult}\332A\004name\032x\312A\031dialog" + + "flow.googleapis.com\322AYhttps://www.google" + + "apis.com/auth/cloud-platform,https://www" + + ".googleapis.com/auth/dialogflowB\251\001\n&com." + + "google.cloud.dialogflow.cx.v3beta1B\nAgen" + + "tProtoP\001ZDgoogle.golang.org/genproto/goo" + + "gleapis/cloud/dialogflow/cx/v3beta1;cx\370\001" + + "\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Be" + + "ta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -243,6 +246,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DisplayName", "DefaultLanguageCode", + "SupportedLanguageCodes", "TimeZone", "Description", "AvatarUri", @@ -306,7 +310,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_ExportAgentRequest_descriptor, new java.lang.String[] { - "Name", "AgentUri", + "Name", "AgentUri", "Environment", }); internal_static_google_cloud_dialogflow_cx_v3beta1_ExportAgentResponse_descriptor = getDescriptor().getMessageTypes().get(9); 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 8a6b70203..149fe729c 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,8 +188,9 @@ 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
@@ -761,8 +762,9 @@ 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
@@ -783,8 +785,9 @@ 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
@@ -811,8 +814,9 @@ 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 d5ee628a0..91ada388d 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,8 +70,9 @@ 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/CreateFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequest.java
index 507e1f90e..e464bb5b1 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
@@ -250,7 +250,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getFlowOrBuilder() {
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -280,7 +282,9 @@ public java.lang.String getLanguageCode() {
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -999,7 +1003,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getFlowOrBuilder() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1028,7 +1034,9 @@ public java.lang.String getLanguageCode() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1057,7 +1065,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1085,7 +1095,9 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1109,7 +1121,9 @@ public Builder clearLanguageCode() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequestOrBuilder.java
index c41eaaa5e..53c628706 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequestOrBuilder.java
@@ -101,7 +101,9 @@ public interface CreateFlowRequestOrBuilder
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -120,7 +122,9 @@ public interface CreateFlowRequestOrBuilder
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
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 ed24c2cc6..beb3199f4 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
@@ -252,11 +252,17 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getPageOrBuilder() {
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -286,11 +292,17 @@ public java.lang.String getLanguageCode() {
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1014,11 +1026,17 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getPageOrBuilder() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1047,11 +1065,17 @@ public java.lang.String getLanguageCode() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1080,11 +1104,17 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1112,11 +1142,17 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1140,11 +1176,17 @@ public Builder clearLanguageCode() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequestOrBuilder.java
index 496665e81..2188268a5 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequestOrBuilder.java
@@ -103,11 +103,17 @@ public interface CreatePageRequestOrBuilder
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -126,11 +132,17 @@ public interface CreatePageRequestOrBuilder
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateTransitionRouteGroupRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateTransitionRouteGroupRequest.java
index 9903da640..e7c9cecd4 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateTransitionRouteGroupRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateTransitionRouteGroupRequest.java
@@ -255,9 +255,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup getTransition
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -285,9 +286,10 @@ public java.lang.String getLanguageCode() {
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1028,9 +1030,10 @@ public Builder clearTransitionRouteGroup() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1057,9 +1060,10 @@ public java.lang.String getLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1086,9 +1090,10 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1114,9 +1119,10 @@ public Builder setLanguageCode(java.lang.String value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1138,9 +1144,10 @@ public Builder clearLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateTransitionRouteGroupRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateTransitionRouteGroupRequestOrBuilder.java
index 1e46a2827..f5ec83087 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateTransitionRouteGroupRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateTransitionRouteGroupRequestOrBuilder.java
@@ -102,9 +102,10 @@ public interface CreateTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -121,9 +122,10 @@ public interface CreateTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
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 c144fbed4..20b81369c 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 0acc80768..cf5735378 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/Experiment.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Experiment.java
index 558bf5038..754c798c0 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Experiment.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Experiment.java
@@ -4779,7 +4779,7 @@ public interface VersionMetricsOrBuilder
        *
        * 
        * The name of the flow [Version][google.cloud.dialogflow.cx.v3beta1.Version].
-       * Format: `projects/<Project Number>/locations/<Location
+       * Format: `projects/<Project ID>/locations/<Location
        * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
        * 
* @@ -4793,7 +4793,7 @@ public interface VersionMetricsOrBuilder * *
        * The name of the flow [Version][google.cloud.dialogflow.cx.v3beta1.Version].
-       * Format: `projects/<Project Number>/locations/<Location
+       * Format: `projects/<Project ID>/locations/<Location
        * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
        * 
* @@ -5007,7 +5007,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
        * The name of the flow [Version][google.cloud.dialogflow.cx.v3beta1.Version].
-       * Format: `projects/<Project Number>/locations/<Location
+       * Format: `projects/<Project ID>/locations/<Location
        * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
        * 
* @@ -5032,7 +5032,7 @@ public java.lang.String getVersion() { * *
        * The name of the flow [Version][google.cloud.dialogflow.cx.v3beta1.Version].
-       * Format: `projects/<Project Number>/locations/<Location
+       * Format: `projects/<Project ID>/locations/<Location
        * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
        * 
* @@ -5577,7 +5577,7 @@ public Builder mergeFrom( * *
          * The name of the flow [Version][google.cloud.dialogflow.cx.v3beta1.Version].
-         * Format: `projects/<Project Number>/locations/<Location
+         * Format: `projects/<Project ID>/locations/<Location
          * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
          * 
* @@ -5601,7 +5601,7 @@ public java.lang.String getVersion() { * *
          * The name of the flow [Version][google.cloud.dialogflow.cx.v3beta1.Version].
-         * Format: `projects/<Project Number>/locations/<Location
+         * Format: `projects/<Project ID>/locations/<Location
          * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
          * 
* @@ -5625,7 +5625,7 @@ public com.google.protobuf.ByteString getVersionBytes() { * *
          * The name of the flow [Version][google.cloud.dialogflow.cx.v3beta1.Version].
-         * Format: `projects/<Project Number>/locations/<Location
+         * Format: `projects/<Project ID>/locations/<Location
          * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
          * 
* @@ -5648,7 +5648,7 @@ public Builder setVersion(java.lang.String value) { * *
          * The name of the flow [Version][google.cloud.dialogflow.cx.v3beta1.Version].
-         * Format: `projects/<Project Number>/locations/<Location
+         * Format: `projects/<Project ID>/locations/<Location
          * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
          * 
* @@ -5667,7 +5667,7 @@ public Builder clearVersion() { * *
          * The name of the flow [Version][google.cloud.dialogflow.cx.v3beta1.Version].
-         * Format: `projects/<Project Number>/locations/<Location
+         * Format: `projects/<Project ID>/locations/<Location
          * ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
          * 
* diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequest.java index 27b117424..87fa13634 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequest.java @@ -40,6 +40,7 @@ private ExportAgentRequest(com.google.protobuf.GeneratedMessageV3.Builder bui private ExportAgentRequest() { name_ = ""; agentUri_ = ""; + environment_ = ""; } @java.lang.Override @@ -85,6 +86,13 @@ private ExportAgentRequest( agentUri_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + environment_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -229,6 +237,63 @@ public com.google.protobuf.ByteString getAgentUriBytes() { } } + public static final int ENVIRONMENT_FIELD_NUMBER = 5; + private volatile java.lang.Object environment_; + /** + * + * + *
+   * Optional. Environment name. If not set, draft environment is assumed.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/environments/<Environment ID>`.
+   * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The environment. + */ + @java.lang.Override + public java.lang.String getEnvironment() { + java.lang.Object ref = environment_; + 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(); + environment_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. Environment name. If not set, draft environment is assumed.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/environments/<Environment ID>`.
+   * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for environment. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEnvironmentBytes() { + java.lang.Object ref = environment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + environment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -249,6 +314,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getAgentUriBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, agentUri_); } + if (!getEnvironmentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, environment_); + } unknownFields.writeTo(output); } @@ -264,6 +332,9 @@ public int getSerializedSize() { if (!getAgentUriBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, agentUri_); } + if (!getEnvironmentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, environment_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -282,6 +353,7 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getAgentUri().equals(other.getAgentUri())) return false; + if (!getEnvironment().equals(other.getEnvironment())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,6 +369,8 @@ public int hashCode() { hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + AGENT_URI_FIELD_NUMBER; hash = (53 * hash) + getAgentUri().hashCode(); + hash = (37 * hash) + ENVIRONMENT_FIELD_NUMBER; + hash = (53 * hash) + getEnvironment().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -447,6 +521,8 @@ public Builder clear() { agentUri_ = ""; + environment_ = ""; + return this; } @@ -476,6 +552,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest buildPartial() new com.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest(this); result.name_ = name_; result.agentUri_ = agentUri_; + result.environment_ = environment_; onBuilt(); return result; } @@ -534,6 +611,10 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.ExportAgentReque agentUri_ = other.agentUri_; onChanged(); } + if (!other.getEnvironment().isEmpty()) { + environment_ = other.environment_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -806,6 +887,132 @@ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object environment_ = ""; + /** + * + * + *
+     * Optional. Environment name. If not set, draft environment is assumed.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/environments/<Environment ID>`.
+     * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The environment. + */ + public java.lang.String getEnvironment() { + java.lang.Object ref = environment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + environment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Environment name. If not set, draft environment is assumed.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/environments/<Environment ID>`.
+     * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for environment. + */ + public com.google.protobuf.ByteString getEnvironmentBytes() { + java.lang.Object ref = environment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + environment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Environment name. If not set, draft environment is assumed.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/environments/<Environment ID>`.
+     * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The environment to set. + * @return This builder for chaining. + */ + public Builder setEnvironment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + environment_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Environment name. If not set, draft environment is assumed.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/environments/<Environment ID>`.
+     * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearEnvironment() { + + environment_ = getDefaultInstance().getEnvironment(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Environment name. If not set, draft environment is assumed.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/environments/<Environment ID>`.
+     * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for environment to set. + * @return This builder for chaining. + */ + public Builder setEnvironmentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + environment_ = 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/ExportAgentRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequestOrBuilder.java index b98996f88..1ffb487fe 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequestOrBuilder.java @@ -84,4 +84,37 @@ public interface ExportAgentRequestOrBuilder * @return The bytes for agentUri. */ com.google.protobuf.ByteString getAgentUriBytes(); + + /** + * + * + *
+   * Optional. Environment name. If not set, draft environment is assumed.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/environments/<Environment ID>`.
+   * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The environment. + */ + java.lang.String getEnvironment(); + /** + * + * + *
+   * Optional. Environment name. If not set, draft environment is assumed.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/environments/<Environment ID>`.
+   * 
+ * + * + * string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for environment. + */ + com.google.protobuf.ByteString getEnvironmentBytes(); } diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowRequest.java new file mode 100644 index 000000000..037ae36db --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowRequest.java @@ -0,0 +1,955 @@ +/* + * 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/flow.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * The request message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest} + */ +public final class ExportFlowRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest) + ExportFlowRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExportFlowRequest.newBuilder() to construct. + private ExportFlowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExportFlowRequest() { + name_ = ""; + flowUri_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExportFlowRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ExportFlowRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + flowUri_ = s; + break; + } + case 32: + { + includeReferencedFlows_ = 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.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest.class, + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Required. The name of the flow to export.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the flow to export.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FLOW_URI_FIELD_NUMBER = 2; + private volatile java.lang.Object flowUri_; + /** + * + * + *
+   * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+   * export the flow to. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * If left unspecified, the serialized flow is returned inline.
+   * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The flowUri. + */ + @java.lang.Override + public java.lang.String getFlowUri() { + java.lang.Object ref = flowUri_; + 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(); + flowUri_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+   * export the flow to. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * If left unspecified, the serialized flow is returned inline.
+   * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for flowUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = flowUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flowUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INCLUDE_REFERENCED_FLOWS_FIELD_NUMBER = 4; + private boolean includeReferencedFlows_; + /** + * + * + *
+   * Optional. Whether to export flows referenced by the specified flow.
+   * 
+ * + * bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeReferencedFlows. + */ + @java.lang.Override + public boolean getIncludeReferencedFlows() { + return includeReferencedFlows_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!getFlowUriBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flowUri_); + } + if (includeReferencedFlows_ != false) { + output.writeBool(4, includeReferencedFlows_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!getFlowUriBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flowUri_); + } + if (includeReferencedFlows_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includeReferencedFlows_); + } + 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.ExportFlowRequest)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest other = + (com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getFlowUri().equals(other.getFlowUri())) return false; + if (getIncludeReferencedFlows() != other.getIncludeReferencedFlows()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + FLOW_URI_FIELD_NUMBER; + hash = (53 * hash) + getFlowUri().hashCode(); + hash = (37 * hash) + INCLUDE_REFERENCED_FLOWS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeReferencedFlows()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest 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.ExportFlowRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest 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.ExportFlowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest 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.ExportFlowRequest 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.ExportFlowRequest 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.ExportFlowRequest 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.ExportFlowRequest 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.ExportFlowRequest 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.ExportFlowRequest 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.ExportFlowRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The request message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest) + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest.class, + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + flowUri_ = ""; + + includeReferencedFlows_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest build() { + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest result = + new com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest(this); + result.name_ = name_; + result.flowUri_ = flowUri_; + result.includeReferencedFlows_ = includeReferencedFlows_; + 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.ExportFlowRequest) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest other) { + if (other == com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getFlowUri().isEmpty()) { + flowUri_ = other.flowUri_; + onChanged(); + } + if (other.getIncludeReferencedFlows() != false) { + setIncludeReferencedFlows(other.getIncludeReferencedFlows()); + } + 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.ExportFlowRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The name of the flow to export.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the flow to export.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the flow to export.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the flow to export.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the flow to export.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object flowUri_ = ""; + /** + * + * + *
+     * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+     * export the flow to. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * If left unspecified, the serialized flow is returned inline.
+     * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The flowUri. + */ + public java.lang.String getFlowUri() { + java.lang.Object ref = flowUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + flowUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+     * export the flow to. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * If left unspecified, the serialized flow is returned inline.
+     * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for flowUri. + */ + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = flowUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flowUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+     * export the flow to. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * If left unspecified, the serialized flow is returned inline.
+     * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + flowUri_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+     * export the flow to. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * If left unspecified, the serialized flow is returned inline.
+     * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearFlowUri() { + + flowUri_ = getDefaultInstance().getFlowUri(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+     * export the flow to. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * If left unspecified, the serialized flow is returned inline.
+     * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + flowUri_ = value; + onChanged(); + return this; + } + + private boolean includeReferencedFlows_; + /** + * + * + *
+     * Optional. Whether to export flows referenced by the specified flow.
+     * 
+ * + * bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeReferencedFlows. + */ + @java.lang.Override + public boolean getIncludeReferencedFlows() { + return includeReferencedFlows_; + } + /** + * + * + *
+     * Optional. Whether to export flows referenced by the specified flow.
+     * 
+ * + * bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The includeReferencedFlows to set. + * @return This builder for chaining. + */ + public Builder setIncludeReferencedFlows(boolean value) { + + includeReferencedFlows_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Whether to export flows referenced by the specified flow.
+     * 
+ * + * bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearIncludeReferencedFlows() { + + includeReferencedFlows_ = 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.ExportFlowRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest) + private static final com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportFlowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportFlowRequest(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.ExportFlowRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowRequestOrBuilder.java new file mode 100644 index 000000000..b772b62e6 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowRequestOrBuilder.java @@ -0,0 +1,102 @@ +/* + * 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/flow.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface ExportFlowRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the flow to export.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the flow to export.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+   * export the flow to. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * If left unspecified, the serialized flow is returned inline.
+   * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The flowUri. + */ + java.lang.String getFlowUri(); + /** + * + * + *
+   * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+   * export the flow to. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * If left unspecified, the serialized flow is returned inline.
+   * 
+ * + * string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for flowUri. + */ + com.google.protobuf.ByteString getFlowUriBytes(); + + /** + * + * + *
+   * Optional. Whether to export flows referenced by the specified flow.
+   * 
+ * + * bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeReferencedFlows. + */ + boolean getIncludeReferencedFlows(); +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowResponse.java new file mode 100644 index 000000000..d701a2df9 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowResponse.java @@ -0,0 +1,915 @@ +/* + * 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/flow.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * The response message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse} + */ +public final class ExportFlowResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse) + ExportFlowResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExportFlowResponse.newBuilder() to construct. + private ExportFlowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExportFlowResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExportFlowResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ExportFlowResponse( + 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(); + flowCase_ = 1; + flow_ = s; + break; + } + case 18: + { + flowCase_ = 2; + flow_ = input.readBytes(); + 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.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse.class, + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse.Builder.class); + } + + private int flowCase_ = 0; + private java.lang.Object flow_; + + public enum FlowCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + FLOW_URI(1), + FLOW_CONTENT(2), + FLOW_NOT_SET(0); + private final int value; + + private FlowCase(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 FlowCase valueOf(int value) { + return forNumber(value); + } + + public static FlowCase forNumber(int value) { + switch (value) { + case 1: + return FLOW_URI; + case 2: + return FLOW_CONTENT; + case 0: + return FLOW_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public FlowCase getFlowCase() { + return FlowCase.forNumber(flowCase_); + } + + public static final int FLOW_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return Whether the flowUri field is set. + */ + public boolean hasFlowUri() { + return flowCase_ == 1; + } + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return The flowUri. + */ + public java.lang.String getFlowUri() { + java.lang.Object ref = ""; + if (flowCase_ == 1) { + ref = flow_; + } + 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 (flowCase_ == 1) { + flow_ = s; + } + return s; + } + } + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return The bytes for flowUri. + */ + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = ""; + if (flowCase_ == 1) { + ref = flow_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (flowCase_ == 1) { + flow_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FLOW_CONTENT_FIELD_NUMBER = 2; + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 2; + * + * @return Whether the flowContent field is set. + */ + @java.lang.Override + public boolean hasFlowContent() { + return flowCase_ == 2; + } + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 2; + * + * @return The flowContent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowContent() { + if (flowCase_ == 2) { + return (com.google.protobuf.ByteString) flow_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + 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 (flowCase_ == 1) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, flow_); + } + if (flowCase_ == 2) { + output.writeBytes(2, (com.google.protobuf.ByteString) flow_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (flowCase_ == 1) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, flow_); + } + if (flowCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 2, (com.google.protobuf.ByteString) flow_); + } + 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.ExportFlowResponse)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse other = + (com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse) obj; + + if (!getFlowCase().equals(other.getFlowCase())) return false; + switch (flowCase_) { + case 1: + if (!getFlowUri().equals(other.getFlowUri())) return false; + break; + case 2: + if (!getFlowContent().equals(other.getFlowContent())) return false; + break; + case 0: + default: + } + 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(); + switch (flowCase_) { + case 1: + hash = (37 * hash) + FLOW_URI_FIELD_NUMBER; + hash = (53 * hash) + getFlowUri().hashCode(); + break; + case 2: + hash = (37 * hash) + FLOW_CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getFlowContent().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse 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.ExportFlowResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse 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.ExportFlowResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse 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.ExportFlowResponse 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.ExportFlowResponse 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.ExportFlowResponse 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.ExportFlowResponse 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.ExportFlowResponse 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.ExportFlowResponse 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.ExportFlowResponse 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 [Flows.ExportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse) + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse.class, + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse.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(); + flowCase_ = 0; + flow_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse build() { + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse result = + new com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse(this); + if (flowCase_ == 1) { + result.flow_ = flow_; + } + if (flowCase_ == 2) { + result.flow_ = flow_; + } + result.flowCase_ = flowCase_; + 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.ExportFlowResponse) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse other) { + if (other == com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse.getDefaultInstance()) + return this; + switch (other.getFlowCase()) { + case FLOW_URI: + { + flowCase_ = 1; + flow_ = other.flow_; + onChanged(); + break; + } + case FLOW_CONTENT: + { + setFlowContent(other.getFlowContent()); + break; + } + case FLOW_NOT_SET: + { + 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.ExportFlowResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int flowCase_ = 0; + private java.lang.Object flow_; + + public FlowCase getFlowCase() { + return FlowCase.forNumber(flowCase_); + } + + public Builder clearFlow() { + flowCase_ = 0; + flow_ = null; + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @return Whether the flowUri field is set. + */ + @java.lang.Override + public boolean hasFlowUri() { + return flowCase_ == 1; + } + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @return The flowUri. + */ + @java.lang.Override + public java.lang.String getFlowUri() { + java.lang.Object ref = ""; + if (flowCase_ == 1) { + ref = flow_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (flowCase_ == 1) { + flow_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @return The bytes for flowUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = ""; + if (flowCase_ == 1) { + ref = flow_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (flowCase_ == 1) { + flow_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @param value The flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + flowCase_ = 1; + flow_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @return This builder for chaining. + */ + public Builder clearFlowUri() { + if (flowCase_ == 1) { + flowCase_ = 0; + flow_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The URI to a file containing the exported flow. This field is populated
+     * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+     * 
+ * + * string flow_uri = 1; + * + * @param value The bytes for flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + flowCase_ = 1; + flow_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 2; + * + * @return Whether the flowContent field is set. + */ + public boolean hasFlowContent() { + return flowCase_ == 2; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 2; + * + * @return The flowContent. + */ + public com.google.protobuf.ByteString getFlowContent() { + if (flowCase_ == 2) { + return (com.google.protobuf.ByteString) flow_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 2; + * + * @param value The flowContent to set. + * @return This builder for chaining. + */ + public Builder setFlowContent(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + flowCase_ = 2; + flow_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 2; + * + * @return This builder for chaining. + */ + public Builder clearFlowContent() { + if (flowCase_ == 2) { + flowCase_ = 0; + flow_ = null; + 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.ExportFlowResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse) + private static final com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportFlowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportFlowResponse(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.ExportFlowResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowResponseOrBuilder.java new file mode 100644 index 000000000..7408a512e --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowResponseOrBuilder.java @@ -0,0 +1,92 @@ +/* + * 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/flow.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface ExportFlowResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return Whether the flowUri field is set. + */ + boolean hasFlowUri(); + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return The flowUri. + */ + java.lang.String getFlowUri(); + /** + * + * + *
+   * The URI to a file containing the exported flow. This field is populated
+   * only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+   * 
+ * + * string flow_uri = 1; + * + * @return The bytes for flowUri. + */ + com.google.protobuf.ByteString getFlowUriBytes(); + + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 2; + * + * @return Whether the flowContent field is set. + */ + boolean hasFlowContent(); + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 2; + * + * @return The flowContent. + */ + com.google.protobuf.ByteString getFlowContent(); + + public com.google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse.FlowCase getFlowCase(); +} 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 fe14c7340..9073fc2ab 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 @@ -75,6 +75,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_FlowValidationResult_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_FlowValidationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -152,55 +168,81 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ialogflow.googleapis.com/FlowValidationR" + "esult\022Tprojects/{project}/locations/{loc" + "ation}/agents/{agent}/flows/{flow}/valid" - + "ationResult2\335\r\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" - + "/v3beta1/{parent=projec" + + "ts/*/locations/*/agents/*}/flows:import:" + + "\001*\312A,\n\022ImportFlowResponse\022\026google.protob" + + "uf.Struct\022\334\001\n\nExportFlow\0225.google.cloud." + + "dialogflow.cx.v3beta1.ExportFlowRequest\032" + + "\035.google.longrunning.Operation\"x\202\323\344\223\002C\">" + + "/v3beta1/{name=projects/*/locations/*/ag" + + "ents/*/flows/*}:export:\001*\312A,\n\022ExportFlow" + + "Response\022\026google.protobuf.Struct\032x\312A\031dia" + + "logflow.googleapis.com\322AYhttps://www.goo" + + "gleapis.com/auth/cloud-platform,https://" + + "www.googleapis.com/auth/dialogflowB\250\001\n&c" + + "om.google.cloud.dialogflow.cx.v3beta1B\tF" + + "lowProtoP\001ZDgoogle.golang.org/genproto/g" + + "oogleapis/cloud/dialogflow/cx/v3beta1;cx" + + "\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3" + + "Beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -319,6 +361,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "ValidationMessages", "UpdateTime", }); + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowRequest_descriptor, + new java.lang.String[] { + "Parent", "FlowUri", "FlowContent", "ImportOption", "Flow", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowResponse_descriptor, + new java.lang.String[] { + "Flow", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowRequest_descriptor, + new java.lang.String[] { + "Name", "FlowUri", "IncludeReferencedFlows", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_ExportFlowResponse_descriptor, + new java.lang.String[] { + "FlowUri", "FlowContent", "Flow", + }); 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/FulfillIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponse.java index e602ce21f..d095798bc 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 7c9a92b54..ede5f0e55 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/GetFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequest.java index adf438fc2..de14c5695 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 @@ -185,7 +185,9 @@ public com.google.protobuf.ByteString getNameBytes() { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -216,7 +218,9 @@ public java.lang.String getLanguageCode() { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -710,7 +714,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -740,7 +746,9 @@ public java.lang.String getLanguageCode() { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -770,7 +778,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -799,7 +809,9 @@ public Builder setLanguageCode(java.lang.String value) { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -824,7 +836,9 @@ public Builder clearLanguageCode() { * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequestOrBuilder.java index 9188d7212..12b92a1a4 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequestOrBuilder.java @@ -63,7 +63,9 @@ public interface GetFlowRequestOrBuilder * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -83,7 +85,9 @@ public interface GetFlowRequestOrBuilder * The language to retrieve the flow for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) 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 068912d65..e6debe844 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 @@ -185,11 +185,17 @@ public com.google.protobuf.ByteString getNameBytes() { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -220,11 +226,17 @@ public java.lang.String getLanguageCode() { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -718,11 +730,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -752,11 +770,17 @@ public java.lang.String getLanguageCode() { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -786,11 +810,17 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -819,11 +849,17 @@ public Builder setLanguageCode(java.lang.String value) { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -848,11 +884,17 @@ public Builder clearLanguageCode() { * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequestOrBuilder.java index f13804165..221d7af25 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequestOrBuilder.java @@ -63,11 +63,17 @@ public interface GetPageRequestOrBuilder * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -87,11 +93,17 @@ public interface GetPageRequestOrBuilder * The language to retrieve the page for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetTransitionRouteGroupRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetTransitionRouteGroupRequest.java index 1a3d3f404..6ab0d5f2f 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetTransitionRouteGroupRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetTransitionRouteGroupRequest.java @@ -183,9 +183,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language to retrieve the transition route group for. The following
+   * fields are language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -213,9 +215,11 @@ public java.lang.String getLanguageCode() {
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language to retrieve the transition route group for. The following
+   * fields are language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -714,9 +718,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language to retrieve the transition route group for. The following
+     * fields are language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -743,9 +749,11 @@ public java.lang.String getLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language to retrieve the transition route group for. The following
+     * fields are language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -772,9 +780,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language to retrieve the transition route group for. The following
+     * fields are language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -800,9 +810,11 @@ public Builder setLanguageCode(java.lang.String value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language to retrieve the transition route group for. The following
+     * fields are language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -824,9 +836,11 @@ public Builder clearLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language to retrieve the transition route group for. The following
+     * fields are language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetTransitionRouteGroupRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetTransitionRouteGroupRequestOrBuilder.java
index 4f19718d0..7399f1c32 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetTransitionRouteGroupRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetTransitionRouteGroupRequestOrBuilder.java
@@ -60,9 +60,11 @@ public interface GetTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language to retrieve the transition route group for. The following
+   * fields are language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -79,9 +81,11 @@ public interface GetTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language to retrieve the transition route group for. The following
+   * fields are language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowRequest.java
new file mode 100644
index 000000000..3c629b2f3
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowRequest.java
@@ -0,0 +1,1462 @@
+/*
+ * 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/flow.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+/**
+ *
+ *
+ * 
+ * The request message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest} + */ +public final class ImportFlowRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest) + ImportFlowRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportFlowRequest.newBuilder() to construct. + private ImportFlowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportFlowRequest() { + parent_ = ""; + importOption_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportFlowRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ImportFlowRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + flowCase_ = 2; + flow_ = s; + break; + } + case 26: + { + flowCase_ = 3; + flow_ = input.readBytes(); + break; + } + case 32: + { + int rawValue = input.readEnum(); + + importOption_ = rawValue; + 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.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.class, + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.Builder.class); + } + + /** + * + * + *
+   * Import option.
+   * 
+ * + * Protobuf enum {@code google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption} + */ + public enum ImportOption implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified. Treated as `KEEP`.
+     * 
+ * + * IMPORT_OPTION_UNSPECIFIED = 0; + */ + IMPORT_OPTION_UNSPECIFIED(0), + /** + * + * + *
+     * Always respect settings in exported flow content. It may cause a
+     * import failure if some settings (e.g. custom NLU) are not supported in
+     * the agent to import into.
+     * 
+ * + * KEEP = 1; + */ + KEEP(1), + /** + * + * + *
+     * Fallback to default settings if some settings are not supported in the
+     * agent to import into. E.g. Standard NLU will be used if custom NLU is
+     * not available.
+     * 
+ * + * FALLBACK = 2; + */ + FALLBACK(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Unspecified. Treated as `KEEP`.
+     * 
+ * + * IMPORT_OPTION_UNSPECIFIED = 0; + */ + public static final int IMPORT_OPTION_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Always respect settings in exported flow content. It may cause a
+     * import failure if some settings (e.g. custom NLU) are not supported in
+     * the agent to import into.
+     * 
+ * + * KEEP = 1; + */ + public static final int KEEP_VALUE = 1; + /** + * + * + *
+     * Fallback to default settings if some settings are not supported in the
+     * agent to import into. E.g. Standard NLU will be used if custom NLU is
+     * not available.
+     * 
+ * + * FALLBACK = 2; + */ + public static final int FALLBACK_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ImportOption valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ImportOption forNumber(int value) { + switch (value) { + case 0: + return IMPORT_OPTION_UNSPECIFIED; + case 1: + return KEEP; + case 2: + return FALLBACK; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ImportOption findValueByNumber(int number) { + return ImportOption.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final ImportOption[] VALUES = values(); + + public static ImportOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ImportOption(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption) + } + + private int flowCase_ = 0; + private java.lang.Object flow_; + + public enum FlowCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + FLOW_URI(2), + FLOW_CONTENT(3), + FLOW_NOT_SET(0); + private final int value; + + private FlowCase(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 FlowCase valueOf(int value) { + return forNumber(value); + } + + public static FlowCase forNumber(int value) { + switch (value) { + case 2: + return FLOW_URI; + case 3: + return FLOW_CONTENT; + case 0: + return FLOW_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public FlowCase getFlowCase() { + return FlowCase.forNumber(flowCase_); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * Required. The agent to import the flow into.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The agent to import the flow into.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FLOW_URI_FIELD_NUMBER = 2; + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return Whether the flowUri field is set. + */ + public boolean hasFlowUri() { + return flowCase_ == 2; + } + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return The flowUri. + */ + public java.lang.String getFlowUri() { + java.lang.Object ref = ""; + if (flowCase_ == 2) { + ref = flow_; + } + 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 (flowCase_ == 2) { + flow_ = s; + } + return s; + } + } + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return The bytes for flowUri. + */ + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = ""; + if (flowCase_ == 2) { + ref = flow_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (flowCase_ == 2) { + flow_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FLOW_CONTENT_FIELD_NUMBER = 3; + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 3; + * + * @return Whether the flowContent field is set. + */ + @java.lang.Override + public boolean hasFlowContent() { + return flowCase_ == 3; + } + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 3; + * + * @return The flowContent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowContent() { + if (flowCase_ == 3) { + return (com.google.protobuf.ByteString) flow_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int IMPORT_OPTION_FIELD_NUMBER = 4; + private int importOption_; + /** + * + * + *
+   * Flow import mode. If not specified, `KEEP` is assumed.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption import_option = 4; + * + * + * @return The enum numeric value on the wire for importOption. + */ + @java.lang.Override + public int getImportOptionValue() { + return importOption_; + } + /** + * + * + *
+   * Flow import mode. If not specified, `KEEP` is assumed.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption import_option = 4; + * + * + * @return The importOption. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption getImportOption() { + @SuppressWarnings("deprecation") + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption result = + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption.valueOf( + importOption_); + return result == null + ? com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getParentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (flowCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flow_); + } + if (flowCase_ == 3) { + output.writeBytes(3, (com.google.protobuf.ByteString) flow_); + } + if (importOption_ + != com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption + .IMPORT_OPTION_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, importOption_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getParentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (flowCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flow_); + } + if (flowCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 3, (com.google.protobuf.ByteString) flow_); + } + if (importOption_ + != com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption + .IMPORT_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, importOption_); + } + 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.ImportFlowRequest)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest other = + (com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (importOption_ != other.importOption_) return false; + if (!getFlowCase().equals(other.getFlowCase())) return false; + switch (flowCase_) { + case 2: + if (!getFlowUri().equals(other.getFlowUri())) return false; + break; + case 3: + if (!getFlowContent().equals(other.getFlowContent())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + IMPORT_OPTION_FIELD_NUMBER; + hash = (53 * hash) + importOption_; + switch (flowCase_) { + case 2: + hash = (37 * hash) + FLOW_URI_FIELD_NUMBER; + hash = (53 * hash) + getFlowUri().hashCode(); + break; + case 3: + hash = (37 * hash) + FLOW_CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getFlowContent().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest 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.ImportFlowRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest 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.ImportFlowRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest 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.ImportFlowRequest 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.ImportFlowRequest 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.ImportFlowRequest 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.ImportFlowRequest 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.ImportFlowRequest 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.ImportFlowRequest 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.ImportFlowRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The request message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest) + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.class, + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + importOption_ = 0; + + flowCase_ = 0; + flow_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest build() { + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest result = + new com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest(this); + result.parent_ = parent_; + if (flowCase_ == 2) { + result.flow_ = flow_; + } + if (flowCase_ == 3) { + result.flow_ = flow_; + } + result.importOption_ = importOption_; + result.flowCase_ = flowCase_; + 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.ImportFlowRequest) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest other) { + if (other == com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.importOption_ != 0) { + setImportOptionValue(other.getImportOptionValue()); + } + switch (other.getFlowCase()) { + case FLOW_URI: + { + flowCase_ = 2; + flow_ = other.flow_; + onChanged(); + break; + } + case FLOW_CONTENT: + { + setFlowContent(other.getFlowContent()); + break; + } + case FLOW_NOT_SET: + { + 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.ImportFlowRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int flowCase_ = 0; + private java.lang.Object flow_; + + public FlowCase getFlowCase() { + return FlowCase.forNumber(flowCase_); + } + + public Builder clearFlow() { + flowCase_ = 0; + flow_ = null; + onChanged(); + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The agent to import the flow into.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The agent to import the flow into.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The agent to import the flow into.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The agent to import the flow into.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The agent to import the flow into.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @return Whether the flowUri field is set. + */ + @java.lang.Override + public boolean hasFlowUri() { + return flowCase_ == 2; + } + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @return The flowUri. + */ + @java.lang.Override + public java.lang.String getFlowUri() { + java.lang.Object ref = ""; + if (flowCase_ == 2) { + ref = flow_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (flowCase_ == 2) { + flow_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @return The bytes for flowUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowUriBytes() { + java.lang.Object ref = ""; + if (flowCase_ == 2) { + ref = flow_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (flowCase_ == 2) { + flow_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @param value The flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + flowCase_ = 2; + flow_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearFlowUri() { + if (flowCase_ == 2) { + flowCase_ = 0; + flow_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+     * to import flow from. The format of this URI must be
+     * `gs://<bucket-name>/<object-name>`.
+     * 
+ * + * string flow_uri = 2; + * + * @param value The bytes for flowUri to set. + * @return This builder for chaining. + */ + public Builder setFlowUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + flowCase_ = 2; + flow_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 3; + * + * @return Whether the flowContent field is set. + */ + public boolean hasFlowContent() { + return flowCase_ == 3; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 3; + * + * @return The flowContent. + */ + public com.google.protobuf.ByteString getFlowContent() { + if (flowCase_ == 3) { + return (com.google.protobuf.ByteString) flow_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 3; + * + * @param value The flowContent to set. + * @return This builder for chaining. + */ + public Builder setFlowContent(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + flowCase_ = 3; + flow_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Uncompressed raw byte content for flow.
+     * 
+ * + * bytes flow_content = 3; + * + * @return This builder for chaining. + */ + public Builder clearFlowContent() { + if (flowCase_ == 3) { + flowCase_ = 0; + flow_ = null; + onChanged(); + } + return this; + } + + private int importOption_ = 0; + /** + * + * + *
+     * Flow import mode. If not specified, `KEEP` is assumed.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption import_option = 4; + * + * + * @return The enum numeric value on the wire for importOption. + */ + @java.lang.Override + public int getImportOptionValue() { + return importOption_; + } + /** + * + * + *
+     * Flow import mode. If not specified, `KEEP` is assumed.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption import_option = 4; + * + * + * @param value The enum numeric value on the wire for importOption to set. + * @return This builder for chaining. + */ + public Builder setImportOptionValue(int value) { + + importOption_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Flow import mode. If not specified, `KEEP` is assumed.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption import_option = 4; + * + * + * @return The importOption. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption getImportOption() { + @SuppressWarnings("deprecation") + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption result = + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption.valueOf( + importOption_); + return result == null + ? com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Flow import mode. If not specified, `KEEP` is assumed.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption import_option = 4; + * + * + * @param value The importOption to set. + * @return This builder for chaining. + */ + public Builder setImportOption( + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption value) { + if (value == null) { + throw new NullPointerException(); + } + + importOption_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Flow import mode. If not specified, `KEEP` is assumed.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption import_option = 4; + * + * + * @return This builder for chaining. + */ + public Builder clearImportOption() { + + importOption_ = 0; + 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.ImportFlowRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest) + private static final com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportFlowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportFlowRequest(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.ImportFlowRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowRequestOrBuilder.java new file mode 100644 index 000000000..3370b3f98 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowRequestOrBuilder.java @@ -0,0 +1,153 @@ +/* + * 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/flow.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface ImportFlowRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The agent to import the flow into.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The agent to import the flow into.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return Whether the flowUri field is set. + */ + boolean hasFlowUri(); + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return The flowUri. + */ + java.lang.String getFlowUri(); + /** + * + * + *
+   * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+   * to import flow from. The format of this URI must be
+   * `gs://<bucket-name>/<object-name>`.
+   * 
+ * + * string flow_uri = 2; + * + * @return The bytes for flowUri. + */ + com.google.protobuf.ByteString getFlowUriBytes(); + + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 3; + * + * @return Whether the flowContent field is set. + */ + boolean hasFlowContent(); + /** + * + * + *
+   * Uncompressed raw byte content for flow.
+   * 
+ * + * bytes flow_content = 3; + * + * @return The flowContent. + */ + com.google.protobuf.ByteString getFlowContent(); + + /** + * + * + *
+   * Flow import mode. If not specified, `KEEP` is assumed.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption import_option = 4; + * + * + * @return The enum numeric value on the wire for importOption. + */ + int getImportOptionValue(); + /** + * + * + *
+   * Flow import mode. If not specified, `KEEP` is assumed.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption import_option = 4; + * + * + * @return The importOption. + */ + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption getImportOption(); + + public com.google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.FlowCase getFlowCase(); +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowResponse.java new file mode 100644 index 000000000..5bde55f34 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowResponse.java @@ -0,0 +1,651 @@ +/* + * 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/flow.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * The response message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse} + */ +public final class ImportFlowResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse) + ImportFlowResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportFlowResponse.newBuilder() to construct. + private ImportFlowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportFlowResponse() { + flow_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportFlowResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ImportFlowResponse( + 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(); + + flow_ = 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.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse.class, + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse.Builder.class); + } + + public static final int FLOW_FIELD_NUMBER = 1; + private volatile java.lang.Object flow_; + /** + * + * + *
+   * The unique identifier of the new flow.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The flow. + */ + @java.lang.Override + public java.lang.String getFlow() { + java.lang.Object ref = flow_; + 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(); + flow_ = s; + return s; + } + } + /** + * + * + *
+   * The unique identifier of the new flow.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for flow. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlowBytes() { + java.lang.Object ref = flow_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flow_ = 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 (!getFlowBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, flow_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getFlowBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, flow_); + } + 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.ImportFlowResponse)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse other = + (com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse) obj; + + if (!getFlow().equals(other.getFlow())) 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) + FLOW_FIELD_NUMBER; + hash = (53 * hash) + getFlow().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse 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.ImportFlowResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse 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.ImportFlowResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse 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.ImportFlowResponse 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.ImportFlowResponse 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.ImportFlowResponse 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.ImportFlowResponse 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.ImportFlowResponse 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.ImportFlowResponse 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.ImportFlowResponse 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 [Flows.ImportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse) + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse.class, + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse.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(); + flow_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.FlowProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportFlowResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse build() { + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse result = + new com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse(this); + result.flow_ = flow_; + 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.ImportFlowResponse) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse other) { + if (other == com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse.getDefaultInstance()) + return this; + if (!other.getFlow().isEmpty()) { + flow_ = other.flow_; + 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.ImportFlowResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object flow_ = ""; + /** + * + * + *
+     * The unique identifier of the new flow.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The flow. + */ + public java.lang.String getFlow() { + java.lang.Object ref = flow_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + flow_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The unique identifier of the new flow.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for flow. + */ + public com.google.protobuf.ByteString getFlowBytes() { + java.lang.Object ref = flow_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flow_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The unique identifier of the new flow.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @param value The flow to set. + * @return This builder for chaining. + */ + public Builder setFlow(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + flow_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The unique identifier of the new flow.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return This builder for chaining. + */ + public Builder clearFlow() { + + flow_ = getDefaultInstance().getFlow(); + onChanged(); + return this; + } + /** + * + * + *
+     * The unique identifier of the new flow.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/flows/<Flow ID>`.
+     * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @param value The bytes for flow to set. + * @return This builder for chaining. + */ + public Builder setFlowBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + flow_ = 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.ImportFlowResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse) + private static final com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportFlowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportFlowResponse(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.ImportFlowResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowResponseOrBuilder.java new file mode 100644 index 000000000..fd9909e86 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowResponseOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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/flow.proto + +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface ImportFlowResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The unique identifier of the new flow.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The flow. + */ + java.lang.String getFlow(); + /** + * + * + *
+   * The unique identifier of the new flow.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/flows/<Flow ID>`.
+   * 
+ * + * string flow = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for flow. + */ + com.google.protobuf.ByteString getFlowBytes(); +} 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 f7ceb1f28..476aaf4be 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 @@ -264,7 +264,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -295,7 +297,9 @@ public java.lang.String getLanguageCode() { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -976,7 +980,9 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -1006,7 +1012,9 @@ public java.lang.String getLanguageCode() { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -1036,7 +1044,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -1065,7 +1075,9 @@ public Builder setLanguageCode(java.lang.String value) { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -1090,7 +1102,9 @@ public Builder clearLanguageCode() { * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequestOrBuilder.java index 8b466a093..7999b84c0 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequestOrBuilder.java @@ -100,7 +100,9 @@ public interface ListFlowsRequestOrBuilder * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -120,7 +122,9 @@ public interface ListFlowsRequestOrBuilder * The language to list flows for. The following fields are language * dependent: * * `Flow.event_handlers.trigger_fulfillment.messages` + * * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * * `Flow.transition_routes.trigger_fulfillment.messages` + * * `Flow.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) 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 fa191b47a..60ce2166c 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 @@ -198,11 +198,17 @@ public com.google.protobuf.ByteString getParentBytes() { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -233,11 +239,17 @@ public java.lang.String getLanguageCode() { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -830,11 +842,17 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -864,11 +882,17 @@ public java.lang.String getLanguageCode() { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -898,11 +922,17 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -931,11 +961,17 @@ public Builder setLanguageCode(java.lang.String value) { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -960,11 +996,17 @@ public Builder clearLanguageCode() { * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequestOrBuilder.java index c15da5a58..a94328770 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequestOrBuilder.java @@ -63,11 +63,17 @@ public interface ListPagesRequestOrBuilder * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) @@ -87,11 +93,17 @@ public interface ListPagesRequestOrBuilder * The language to list pages for. The following fields are language * dependent: * * `Page.entry_fulfillment.messages` + * * `Page.entry_fulfillment.conditional_cases` + * * `Page.event_handlers.trigger_fulfillment.messages` + * * `Page.event_handlers.trigger_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + * * + * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - * * `Page.transition_routes.trigger_fulfillment.messages` * * - * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` + * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + * * `Page.transition_routes.trigger_fulfillment.messages` + * * `Page.transition_routes.trigger_fulfillment.conditional_cases` * If not specified, the agent's default language is used. * [Many * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListTransitionRouteGroupsRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListTransitionRouteGroupsRequest.java index edfa6534b..14f8a48ca 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListTransitionRouteGroupsRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListTransitionRouteGroupsRequest.java @@ -264,9 +264,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language to list transition route groups for. The following fields are
+   * language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -294,9 +296,11 @@ public java.lang.String getLanguageCode() {
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language to list transition route groups for. The following fields are
+   * language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -990,9 +994,11 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language to list transition route groups for. The following fields are
+     * language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1019,9 +1025,11 @@ public java.lang.String getLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language to list transition route groups for. The following fields are
+     * language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1048,9 +1056,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language to list transition route groups for. The following fields are
+     * language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1076,9 +1086,11 @@ public Builder setLanguageCode(java.lang.String value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language to list transition route groups for. The following fields are
+     * language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1100,9 +1112,11 @@ public Builder clearLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language to list transition route groups for. The following fields are
+     * language dependent:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListTransitionRouteGroupsRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListTransitionRouteGroupsRequestOrBuilder.java
index fc429287b..b6c96523d 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListTransitionRouteGroupsRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListTransitionRouteGroupsRequestOrBuilder.java
@@ -99,9 +99,11 @@ public interface ListTransitionRouteGroupsRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language to list transition route groups for. The following fields are
+   * language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -118,9 +120,11 @@ public interface ListTransitionRouteGroupsRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language to list transition route groups for. The following fields are
+   * language dependent:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LoadVersionRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LoadVersionRequest.java
index b8172e49a..26b28f11d 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LoadVersionRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LoadVersionRequest.java
@@ -122,7 +122,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft version.
+   * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/versions/<Version ID>`.
    * 
@@ -149,7 +149,7 @@ public java.lang.String getName() { * * *
-   * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft version.
+   * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/versions/<Version ID>`.
    * 
@@ -179,10 +179,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * This field is used to prevent accidental overwrite of other agent resources
-   * in the draft version, which can potentially impact other flow's behavior.
-   * If `allow_override_agent_resources` is false, conflicted agent-level
-   * resources will not be overridden (i.e. intents, entities, webhooks).
+   * This field is used to prevent accidental overwrite of other agent
+   * resources, which can potentially impact other flow's behavior. If
+   * `allow_override_agent_resources` is false, conflicted agent-level resources
+   * will not be overridden (i.e. intents, entities, webhooks).
    * 
* * bool allow_override_agent_resources = 2; @@ -534,7 +534,7 @@ public Builder mergeFrom( * * *
-     * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft version.
+     * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/versions/<Version ID>`.
      * 
@@ -560,7 +560,7 @@ public java.lang.String getName() { * * *
-     * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft version.
+     * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/versions/<Version ID>`.
      * 
@@ -586,7 +586,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft version.
+     * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/versions/<Version ID>`.
      * 
@@ -611,7 +611,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft version.
+     * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/versions/<Version ID>`.
      * 
@@ -632,7 +632,7 @@ public Builder clearName() { * * *
-     * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft version.
+     * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow.
      * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
      * ID>/flows/<Flow ID>/versions/<Version ID>`.
      * 
@@ -660,10 +660,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * This field is used to prevent accidental overwrite of other agent resources
-     * in the draft version, which can potentially impact other flow's behavior.
-     * If `allow_override_agent_resources` is false, conflicted agent-level
-     * resources will not be overridden (i.e. intents, entities, webhooks).
+     * This field is used to prevent accidental overwrite of other agent
+     * resources, which can potentially impact other flow's behavior. If
+     * `allow_override_agent_resources` is false, conflicted agent-level resources
+     * will not be overridden (i.e. intents, entities, webhooks).
      * 
* * bool allow_override_agent_resources = 2; @@ -678,10 +678,10 @@ public boolean getAllowOverrideAgentResources() { * * *
-     * This field is used to prevent accidental overwrite of other agent resources
-     * in the draft version, which can potentially impact other flow's behavior.
-     * If `allow_override_agent_resources` is false, conflicted agent-level
-     * resources will not be overridden (i.e. intents, entities, webhooks).
+     * This field is used to prevent accidental overwrite of other agent
+     * resources, which can potentially impact other flow's behavior. If
+     * `allow_override_agent_resources` is false, conflicted agent-level resources
+     * will not be overridden (i.e. intents, entities, webhooks).
      * 
* * bool allow_override_agent_resources = 2; @@ -699,10 +699,10 @@ public Builder setAllowOverrideAgentResources(boolean value) { * * *
-     * This field is used to prevent accidental overwrite of other agent resources
-     * in the draft version, which can potentially impact other flow's behavior.
-     * If `allow_override_agent_resources` is false, conflicted agent-level
-     * resources will not be overridden (i.e. intents, entities, webhooks).
+     * This field is used to prevent accidental overwrite of other agent
+     * resources, which can potentially impact other flow's behavior. If
+     * `allow_override_agent_resources` is false, conflicted agent-level resources
+     * will not be overridden (i.e. intents, entities, webhooks).
      * 
* * bool allow_override_agent_resources = 2; diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LoadVersionRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LoadVersionRequestOrBuilder.java index de3483f42..8404435e0 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LoadVersionRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LoadVersionRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface LoadVersionRequestOrBuilder * * *
-   * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft version.
+   * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/versions/<Version ID>`.
    * 
@@ -43,7 +43,7 @@ public interface LoadVersionRequestOrBuilder * * *
-   * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft version.
+   * Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow.
    * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    * ID>/flows/<Flow ID>/versions/<Version ID>`.
    * 
@@ -60,10 +60,10 @@ public interface LoadVersionRequestOrBuilder * * *
-   * This field is used to prevent accidental overwrite of other agent resources
-   * in the draft version, which can potentially impact other flow's behavior.
-   * If `allow_override_agent_resources` is false, conflicted agent-level
-   * resources will not be overridden (i.e. intents, entities, webhooks).
+   * This field is used to prevent accidental overwrite of other agent
+   * resources, which can potentially impact other flow's behavior. If
+   * `allow_override_agent_resources` is false, conflicted agent-level resources
+   * will not be overridden (i.e. intents, entities, webhooks).
    * 
* * bool allow_override_agent_resources = 2; 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 6b0f8f511..c44a563eb 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 @@ -414,9 +414,10 @@ 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; @@ -431,9 +432,10 @@ 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; @@ -450,9 +452,10 @@ 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; @@ -1145,9 +1148,10 @@ 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; @@ -1161,9 +1165,10 @@ 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; @@ -1183,9 +1188,10 @@ 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; @@ -1207,9 +1213,10 @@ 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; @@ -1229,9 +1236,10 @@ 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; @@ -1257,9 +1265,10 @@ 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; @@ -1279,9 +1288,10 @@ 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; @@ -1295,9 +1305,10 @@ 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; @@ -1315,9 +1326,10 @@ 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/MatchIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponse.java index 3800c784b..6139e8682 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 @@ -221,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; @@ -236,8 +236,8 @@ public boolean hasText() { * * *
-   * 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; @@ -264,8 +264,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; @@ -294,10 +294,10 @@ 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.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -311,10 +311,10 @@ public boolean hasTriggerIntent() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -341,10 +341,10 @@ 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.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -373,8 +373,9 @@ 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 transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 3; @@ -388,8 +389,9 @@ public boolean hasTranscript() { * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-   * this field will contain the transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 3; @@ -416,8 +418,9 @@ 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 transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 3; @@ -446,8 +449,8 @@ public 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.
+   * 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; @@ -461,8 +464,8 @@ public boolean hasTriggerEvent() { * * *
-   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
-   * contain a copy of the event name.
+   * 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; @@ -489,8 +492,8 @@ public 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.
+   * 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; @@ -594,8 +597,9 @@ 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; @@ -610,8 +614,9 @@ 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; @@ -628,8 +633,9 @@ 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; @@ -1156,8 +1162,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; @@ -1172,8 +1178,8 @@ public boolean hasText() { * * *
-     * 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; @@ -1201,8 +1207,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; @@ -1230,8 +1236,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; @@ -1252,8 +1258,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; @@ -1272,8 +1278,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; @@ -1296,10 +1302,10 @@ 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.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -1314,10 +1320,10 @@ public boolean hasTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -1345,10 +1351,10 @@ 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.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -1376,10 +1382,10 @@ 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.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -1400,10 +1406,10 @@ 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.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -1422,10 +1428,10 @@ 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.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -1448,8 +1454,9 @@ 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 transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 3; @@ -1464,8 +1471,9 @@ public boolean hasTranscript() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-     * this field will contain the transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 3; @@ -1493,8 +1501,9 @@ 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 transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 3; @@ -1522,8 +1531,9 @@ 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 transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 3; @@ -1544,8 +1554,9 @@ 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 transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 3; @@ -1564,8 +1575,9 @@ public Builder clearTranscript() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-     * this field will contain the transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 3; @@ -1588,8 +1600,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 a copy of the event name.
+     * 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; @@ -1604,8 +1616,8 @@ public boolean hasTriggerEvent() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
-     * contain a copy of the event name.
+     * 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; @@ -1633,8 +1645,8 @@ public 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.
+     * 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; @@ -1662,8 +1674,8 @@ public com.google.protobuf.ByteString getTriggerEventBytes() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
-     * contain a copy of the event name.
+     * 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; @@ -1684,8 +1696,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 a copy of the event name.
+     * 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; @@ -1704,8 +1716,8 @@ public Builder clearTriggerEvent() { * * *
-     * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
-     * contain a copy of the event name.
+     * 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; @@ -2102,8 +2114,9 @@ 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; @@ -2117,8 +2130,9 @@ 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; @@ -2138,8 +2152,9 @@ 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; @@ -2161,8 +2176,9 @@ 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; @@ -2182,8 +2198,9 @@ 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; @@ -2209,8 +2226,9 @@ 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; @@ -2230,8 +2248,9 @@ 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; @@ -2245,8 +2264,9 @@ 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; @@ -2264,8 +2284,9 @@ 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 ffe7b42d1..2b9c87ddf 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; @@ -53,8 +53,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; @@ -67,10 +67,10 @@ 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.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -82,10 +82,10 @@ 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.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -97,10 +97,10 @@ 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.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 2 [(.google.api.resource_reference) = { ... } @@ -113,8 +113,9 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-   * this field will contain the transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 3; @@ -126,8 +127,9 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-   * this field will contain the transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 3; @@ -139,8 +141,9 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-   * this field will contain the transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 3; @@ -153,8 +156,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
-   * contain a copy of the event name.
+   * 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; @@ -166,8 +169,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
-   * contain a copy of the event name.
+   * 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; @@ -179,8 +182,8 @@ public interface MatchIntentResponseOrBuilder * * *
-   * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will
-   * contain a copy of the event name.
+   * 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; @@ -250,8 +253,9 @@ 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; @@ -263,8 +267,9 @@ 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; @@ -276,8 +281,9 @@ 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 1eca0a51c..54aa6db8b 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,9 +27,10 @@ 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; @@ -41,9 +42,10 @@ 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; @@ -55,9 +57,10 @@ 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/QueryParameters.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java index b56525a93..42e066723 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 @@ -415,6 +415,17 @@ public com.google.cloud.dialogflow.cx.v3beta1.SessionEntityType getSessionEntity *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -431,6 +442,17 @@ public boolean hasPayload() { *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -447,6 +469,17 @@ public com.google.protobuf.Struct getPayload() { *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -556,16 +589,19 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * *
-   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
+   * The unique identifier of the
+   * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
    * page][QueryResult.current_page] in the session. Format: `projects/<Project
    * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
    * If `current_page` is specified, the previous state of the session will be
    * ignored by Dialogflow, including the [previous
    * page][QueryResult.current_page] and the [previous session
    * parameters][QueryResult.parameters].
-   * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and
-   * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to
-   * direct a session to a specific state.
+   * In most cases,
+   * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page]
+   * and
+   * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters]
+   * should be configured together to direct a session to a specific state.
    * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -588,16 +624,19 @@ public java.lang.String getCurrentPage() { * * *
-   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
+   * The unique identifier of the
+   * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
    * page][QueryResult.current_page] in the session. Format: `projects/<Project
    * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
    * If `current_page` is specified, the previous state of the session will be
    * ignored by Dialogflow, including the [previous
    * page][QueryResult.current_page] and the [previous session
    * parameters][QueryResult.parameters].
-   * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and
-   * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to
-   * direct a session to a specific state.
+   * In most cases,
+   * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page]
+   * and
+   * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters]
+   * should be configured together to direct a session to a specific state.
    * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -2082,6 +2121,17 @@ public Builder removeSessionEntityTypes(int index) { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2097,6 +2147,17 @@ public boolean hasPayload() { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2116,6 +2177,17 @@ public com.google.protobuf.Struct getPayload() { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2139,6 +2211,17 @@ public Builder setPayload(com.google.protobuf.Struct value) { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2159,6 +2242,17 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2184,6 +2278,17 @@ public Builder mergePayload(com.google.protobuf.Struct value) { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2205,6 +2310,17 @@ public Builder clearPayload() { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2220,6 +2336,17 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2237,6 +2364,17 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { *
      * This field can be used to pass custom data into the webhook associated with
      * the agent. Arbitrary JSON objects are supported.
+     * Some integrations that query a Dialogflow agent may provide additional
+     * information in the payload.
+     * In particular, for the Dialogflow Phone Gateway integration, this field has
+     * the form:
+     * ```
+     * {
+     *  "telephony": {
+     *    "caller_id": "+18558363987"
+     *  }
+     * }
+     * ```
      * 
* * .google.protobuf.Struct payload = 4; @@ -2586,16 +2724,19 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * *
-     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
+     * The unique identifier of the
+     * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
      * page][QueryResult.current_page] in the session. Format: `projects/<Project
      * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
      * If `current_page` is specified, the previous state of the session will be
      * ignored by Dialogflow, including the [previous
      * page][QueryResult.current_page] and the [previous session
      * parameters][QueryResult.parameters].
-     * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and
-     * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to
-     * direct a session to a specific state.
+     * In most cases,
+     * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page]
+     * and
+     * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters]
+     * should be configured together to direct a session to a specific state.
      * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -2617,16 +2758,19 @@ public java.lang.String getCurrentPage() { * * *
-     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
+     * The unique identifier of the
+     * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
      * page][QueryResult.current_page] in the session. Format: `projects/<Project
      * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
      * If `current_page` is specified, the previous state of the session will be
      * ignored by Dialogflow, including the [previous
      * page][QueryResult.current_page] and the [previous session
      * parameters][QueryResult.parameters].
-     * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and
-     * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to
-     * direct a session to a specific state.
+     * In most cases,
+     * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page]
+     * and
+     * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters]
+     * should be configured together to direct a session to a specific state.
      * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -2648,16 +2792,19 @@ public com.google.protobuf.ByteString getCurrentPageBytes() { * * *
-     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
+     * The unique identifier of the
+     * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
      * page][QueryResult.current_page] in the session. Format: `projects/<Project
      * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
      * If `current_page` is specified, the previous state of the session will be
      * ignored by Dialogflow, including the [previous
      * page][QueryResult.current_page] and the [previous session
      * parameters][QueryResult.parameters].
-     * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and
-     * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to
-     * direct a session to a specific state.
+     * In most cases,
+     * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page]
+     * and
+     * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters]
+     * should be configured together to direct a session to a specific state.
      * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -2678,16 +2825,19 @@ public Builder setCurrentPage(java.lang.String value) { * * *
-     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
+     * The unique identifier of the
+     * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
      * page][QueryResult.current_page] in the session. Format: `projects/<Project
      * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
      * If `current_page` is specified, the previous state of the session will be
      * ignored by Dialogflow, including the [previous
      * page][QueryResult.current_page] and the [previous session
      * parameters][QueryResult.parameters].
-     * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and
-     * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to
-     * direct a session to a specific state.
+     * In most cases,
+     * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page]
+     * and
+     * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters]
+     * should be configured together to direct a session to a specific state.
      * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -2704,16 +2854,19 @@ public Builder clearCurrentPage() { * * *
-     * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
+     * The unique identifier of the
+     * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
      * page][QueryResult.current_page] in the session. Format: `projects/<Project
      * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
      * If `current_page` is specified, the previous state of the session will be
      * ignored by Dialogflow, including the [previous
      * page][QueryResult.current_page] and the [previous session
      * parameters][QueryResult.parameters].
-     * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and
-     * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to
-     * direct a session to a specific state.
+     * In most cases,
+     * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page]
+     * and
+     * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters]
+     * should be configured together to direct a session to a specific state.
      * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } 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 c206f1b6b..2363b4999 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 @@ -164,6 +164,17 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -177,6 +188,17 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -190,6 +212,17 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti *
    * This field can be used to pass custom data into the webhook associated with
    * the agent. Arbitrary JSON objects are supported.
+   * Some integrations that query a Dialogflow agent may provide additional
+   * information in the payload.
+   * In particular, for the Dialogflow Phone Gateway integration, this field has
+   * the form:
+   * ```
+   * {
+   *  "telephony": {
+   *    "caller_id": "+18558363987"
+   *  }
+   * }
+   * ```
    * 
* * .google.protobuf.Struct payload = 4; @@ -283,16 +316,19 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti * * *
-   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
+   * The unique identifier of the
+   * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
    * page][QueryResult.current_page] in the session. Format: `projects/<Project
    * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
    * If `current_page` is specified, the previous state of the session will be
    * ignored by Dialogflow, including the [previous
    * page][QueryResult.current_page] and the [previous session
    * parameters][QueryResult.parameters].
-   * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and
-   * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to
-   * direct a session to a specific state.
+   * In most cases,
+   * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page]
+   * and
+   * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters]
+   * should be configured together to direct a session to a specific state.
    * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } @@ -304,16 +340,19 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti * * *
-   * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
+   * The unique identifier of the
+   * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
    * page][QueryResult.current_page] in the session. Format: `projects/<Project
    * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
    * If `current_page` is specified, the previous state of the session will be
    * ignored by Dialogflow, including the [previous
    * page][QueryResult.current_page] and the [previous session
    * parameters][QueryResult.parameters].
-   * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and
-   * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to
-   * direct a session to a specific state.
+   * In most cases,
+   * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page]
+   * and
+   * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters]
+   * should be configured together to direct a session to a specific state.
    * 
* * string current_page = 6 [(.google.api.resource_reference) = { ... } 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 ea52600be..a10753575 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 @@ -345,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; @@ -360,8 +360,8 @@ public boolean hasText() { * * *
-   * 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; @@ -388,8 +388,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; @@ -418,10 +418,10 @@ 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.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -435,10 +435,10 @@ public boolean hasTriggerIntent() { * * *
-   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
-   * contain a copy of the intent identifier.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -465,10 +465,10 @@ 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.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -497,8 +497,9 @@ 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 transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 12; @@ -512,8 +513,9 @@ public boolean hasTranscript() { * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-   * this field will contain the transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 12; @@ -540,8 +542,9 @@ 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 transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 12; @@ -570,8 +573,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; @@ -585,8 +588,8 @@ public boolean hasTriggerEvent() { * * *
-   * 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; @@ -613,8 +616,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; @@ -699,7 +702,8 @@ 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:
@@ -727,7 +731,8 @@ 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:
@@ -755,7 +760,8 @@ 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:
@@ -939,8 +945,9 @@ 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.
    * 
* @@ -954,8 +961,9 @@ 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.
    * 
* @@ -970,8 +978,9 @@ 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.
    * 
* @@ -985,8 +994,9 @@ 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.
    * 
* @@ -1000,8 +1010,9 @@ 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.
    * 
* @@ -1018,8 +1029,9 @@ 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; @@ -1034,8 +1046,9 @@ 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; @@ -1052,8 +1065,9 @@ 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; @@ -1069,10 +1083,12 @@ 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]; @@ -1088,10 +1104,12 @@ 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]; @@ -1109,10 +1127,12 @@ 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]; @@ -1135,7 +1155,9 @@ 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]; @@ -1258,7 +1280,8 @@ public 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.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * @@ -1277,7 +1300,8 @@ public 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.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * @@ -1299,7 +1323,8 @@ public 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.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * @@ -2110,8 +2135,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; @@ -2126,8 +2151,8 @@ public boolean hasText() { * * *
-     * 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; @@ -2155,8 +2180,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; @@ -2184,8 +2209,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; @@ -2206,8 +2231,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; @@ -2226,8 +2251,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; @@ -2250,10 +2275,10 @@ 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.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -2268,10 +2293,10 @@ public boolean hasTriggerIntent() { * * *
-     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
-     * contain a copy of the intent identifier.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -2299,10 +2324,10 @@ 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.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -2330,10 +2355,10 @@ 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.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -2354,10 +2379,10 @@ 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.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -2376,10 +2401,10 @@ 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.
-     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-     * ID>/intents/<Intent ID>`.
+     * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+     * provided as input, this field will contain a copy of the intent
+     * identifier. Format: `projects/<Project ID>/locations/<Location
+     * ID>/agents/<Agent ID>/intents/<Intent ID>`.
      * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -2402,8 +2427,9 @@ 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 transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 12; @@ -2418,8 +2444,9 @@ public boolean hasTranscript() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-     * this field will contain the transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 12; @@ -2447,8 +2474,9 @@ 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 transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 12; @@ -2476,8 +2504,9 @@ 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 transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 12; @@ -2498,8 +2527,9 @@ 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 transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 12; @@ -2518,8 +2548,9 @@ public Builder clearTranscript() { * * *
-     * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-     * this field will contain the transcript for the audio.
+     * If [natural language speech
+     * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+     * input, this field will contain the transcript for the audio.
      * 
* * string transcript = 12; @@ -2542,8 +2573,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; @@ -2558,8 +2589,8 @@ public boolean hasTriggerEvent() { * * *
-     * 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 +2618,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; @@ -2616,8 +2647,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; @@ -2638,8 +2669,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; @@ -2658,8 +2689,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; @@ -2809,7 +2840,8 @@ 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:
@@ -2836,7 +2868,8 @@ 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:
@@ -2867,7 +2900,8 @@ 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:
@@ -2902,7 +2936,8 @@ 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:
@@ -2934,7 +2969,8 @@ 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:
@@ -2971,7 +3007,8 @@ 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:
@@ -3004,7 +3041,8 @@ 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:
@@ -3031,7 +3069,8 @@ 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:
@@ -3060,7 +3099,8 @@ 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:
@@ -3879,8 +3919,9 @@ 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.
      * 
* @@ -3897,8 +3938,9 @@ 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.
      * 
* @@ -3915,8 +3957,9 @@ 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.
      * 
* @@ -3933,8 +3976,9 @@ 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.
      * 
* @@ -3957,8 +4001,9 @@ 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.
      * 
* @@ -3979,8 +4024,9 @@ 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.
      * 
* @@ -4003,8 +4049,9 @@ 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.
      * 
* @@ -4027,8 +4074,9 @@ 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.
      * 
* @@ -4048,8 +4096,9 @@ 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.
      * 
* @@ -4070,8 +4119,9 @@ 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.
      * 
* @@ -4092,8 +4142,9 @@ 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.
      * 
* @@ -4113,8 +4164,9 @@ 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.
      * 
* @@ -4134,8 +4186,9 @@ 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.
      * 
* @@ -4148,8 +4201,9 @@ 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.
      * 
* @@ -4166,8 +4220,9 @@ 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.
      * 
* @@ -4185,8 +4240,9 @@ 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.
      * 
* @@ -4200,8 +4256,9 @@ 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.
      * 
* @@ -4215,8 +4272,9 @@ 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.
      * 
* @@ -4256,8 +4314,9 @@ 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; @@ -4271,8 +4330,9 @@ 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; @@ -4292,8 +4352,9 @@ 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; @@ -4315,8 +4376,9 @@ 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; @@ -4336,8 +4398,9 @@ 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; @@ -4363,8 +4426,9 @@ 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; @@ -4384,8 +4448,9 @@ 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; @@ -4399,8 +4464,9 @@ 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; @@ -4418,8 +4484,9 @@ 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; @@ -4451,10 +4518,12 @@ 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]; @@ -4469,10 +4538,12 @@ 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]; @@ -4493,10 +4564,12 @@ 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]; @@ -4519,10 +4592,12 @@ 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]; @@ -4543,10 +4618,12 @@ 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]; @@ -4573,10 +4650,12 @@ 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]; @@ -4597,10 +4676,12 @@ 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]; @@ -4615,10 +4696,12 @@ 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]; @@ -4637,10 +4720,12 @@ 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]; @@ -4673,7 +4758,9 @@ 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]; @@ -4695,7 +4782,9 @@ 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]; @@ -4720,7 +4809,9 @@ 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]; @@ -5135,7 +5226,8 @@ public 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.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * @@ -5153,7 +5245,8 @@ public 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.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * @@ -5178,7 +5271,8 @@ public 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.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * @@ -5205,7 +5299,8 @@ public Builder setSentimentAnalysisResult( *
      * 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.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * @@ -5229,7 +5324,8 @@ public Builder setSentimentAnalysisResult( *
      * 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.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * @@ -5261,7 +5357,8 @@ public Builder mergeSentimentAnalysisResult( *
      * 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.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * @@ -5285,7 +5382,8 @@ public Builder clearSentimentAnalysisResult() { *
      * 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.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * @@ -5304,7 +5402,8 @@ public Builder clearSentimentAnalysisResult() { *
      * 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.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * @@ -5327,7 +5426,8 @@ public Builder clearSentimentAnalysisResult() { *
      * 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.QueryParameters.analyze_query_text_sentiment],
+     * specified in the request.
      * 
* * 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 57ec257b5..ee8d3a6af 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; @@ -53,8 +53,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; @@ -67,10 +67,10 @@ 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.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -82,10 +82,10 @@ 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.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -97,10 +97,10 @@ 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.
-   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
-   * ID>/intents/<Intent ID>`.
+   * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+   * provided as input, this field will contain a copy of the intent
+   * identifier. Format: `projects/<Project ID>/locations/<Location
+   * ID>/agents/<Agent ID>/intents/<Intent ID>`.
    * 
* * string trigger_intent = 11 [(.google.api.resource_reference) = { ... } @@ -113,8 +113,9 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-   * this field will contain the transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 12; @@ -126,8 +127,9 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-   * this field will contain the transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 12; @@ -139,8 +141,9 @@ public interface QueryResultOrBuilder * * *
-   * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-   * this field will contain the transcript for the audio.
+   * If [natural language speech
+   * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+   * input, this field will contain the transcript for the audio.
    * 
* * string transcript = 12; @@ -153,8 +156,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; @@ -166,8 +169,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; @@ -179,8 +182,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; @@ -224,7 +227,8 @@ 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:
@@ -249,7 +253,8 @@ 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:
@@ -274,7 +279,8 @@ 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:
@@ -417,8 +423,9 @@ 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,8 +436,9 @@ 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.
    * 
* @@ -441,8 +449,9 @@ 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.
    * 
* @@ -453,8 +462,9 @@ 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.
    * 
* @@ -465,8 +475,9 @@ 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.
    * 
* @@ -478,8 +489,9 @@ 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; @@ -491,8 +503,9 @@ 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; @@ -504,8 +517,9 @@ 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; @@ -516,10 +530,12 @@ 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]; @@ -532,10 +548,12 @@ 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]; @@ -548,10 +566,12 @@ 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]; @@ -569,7 +589,9 @@ 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]; @@ -661,7 +683,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa *
    * 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.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * @@ -677,7 +700,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa *
    * 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.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * @@ -693,7 +717,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa *
    * 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.QueryParameters.analyze_query_text_sentiment],
+   * specified in the request.
    * 
* * 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 55e6d9afd..5826fa7f8 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 @@ -118,20 +118,20 @@ 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\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 * 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 @@ -619,21 +624,26 @@ 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
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentResponse.java
index 3840559ae..478e3cc39 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentResponse.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentResponse.java
@@ -28,7 +28,12 @@
  *     contain `recognition_result`. Each `recognition_result` represents a more
  *     complete transcript of what the user said. The last `recognition_result`
  *     has `is_final` set to `true`.
- * 2.  The last message contains `detect_intent_response`.
+ * 2.  If `enable_partial_response` is true, the following N messages
+ *     (currently 1 <= N <= 4) contain `detect_intent_response`. The first (N-1)
+ *     `detect_intent_response`s will have `response_type` set to `PARTIAL`.
+ *     The last `detect_intent_response` has `response_type` set to `FINAL`.
+ *     If `response_type` is false, response stream only contains
+ *     the final `detect_intent_response`.
  * 
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentResponse} @@ -509,7 +514,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * contain `recognition_result`. Each `recognition_result` represents a more * complete transcript of what the user said. The last `recognition_result` * has `is_final` set to `true`. - * 2. The last message contains `detect_intent_response`. + * 2. If `enable_partial_response` is true, the following N messages + * (currently 1 <= N <= 4) contain `detect_intent_response`. The first (N-1) + * `detect_intent_response`s will have `response_type` set to `PARTIAL`. + * The last `detect_intent_response` has `response_type` set to `FINAL`. + * If `response_type` is false, response stream only contains + * the final `detect_intent_response`. *
* * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentResponse} 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 2b7cea14d..5867a9d5b 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,7 +530,8 @@ 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.
    * 
* @@ -546,7 +547,8 @@ 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.
    * 
* @@ -562,7 +564,8 @@ 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.
    * 
* @@ -577,7 +580,8 @@ 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.
    * 
* @@ -592,7 +596,8 @@ 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.
    * 
* @@ -1595,7 +1600,8 @@ 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.
      * 
* @@ -1615,7 +1621,8 @@ 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.
      * 
* @@ -1634,7 +1641,8 @@ 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.
      * 
* @@ -1653,7 +1661,8 @@ 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.
      * 
* @@ -1679,7 +1688,8 @@ 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.
      * 
* @@ -1702,7 +1712,8 @@ 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.
      * 
* @@ -1727,7 +1738,8 @@ 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.
      * 
* @@ -1753,7 +1765,8 @@ 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.
      * 
* @@ -1776,7 +1789,8 @@ 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.
      * 
* @@ -1799,7 +1813,8 @@ 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.
      * 
* @@ -1823,7 +1838,8 @@ 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.
      * 
* @@ -1845,7 +1861,8 @@ 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.
      * 
* @@ -1867,7 +1884,8 @@ 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.
      * 
* @@ -1883,7 +1901,8 @@ 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.
      * 
* @@ -1903,7 +1922,8 @@ 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.
      * 
* @@ -1923,7 +1943,8 @@ 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.
      * 
* @@ -1940,7 +1961,8 @@ 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.
      * 
* @@ -1958,7 +1980,8 @@ 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 c661fa7cb..95f0fe243 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,7 +137,8 @@ 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.
    * 
* @@ -149,7 +150,8 @@ 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.
    * 
* @@ -161,7 +163,8 @@ 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.
    * 
* @@ -173,7 +176,8 @@ 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.
    * 
* @@ -186,7 +190,8 @@ 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 b009a8614..9d1d32959 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 7d37f79d6..3ad28d61b 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/UpdateFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequest.java index 922d7d491..fb7c4d1e8 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 @@ -254,7 +254,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { *
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -284,7 +286,9 @@ public java.lang.String getLanguageCode() {
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1095,7 +1099,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1124,7 +1130,9 @@ public java.lang.String getLanguageCode() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1153,7 +1161,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1181,7 +1191,9 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1205,7 +1217,9 @@ public Builder clearLanguageCode() {
      * 
      * The language of the following fields in `flow`:
      * *  `Flow.event_handlers.trigger_fulfillment.messages`
+     * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Flow.transition_routes.trigger_fulfillment.messages`
+     * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
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 ba139650e..585739651 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
@@ -111,7 +111,9 @@ public interface UpdateFlowRequestOrBuilder
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -130,7 +132,9 @@ public interface UpdateFlowRequestOrBuilder
    * 
    * The language of the following fields in `flow`:
    * *  `Flow.event_handlers.trigger_fulfillment.messages`
+   * *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Flow.transition_routes.trigger_fulfillment.messages`
+   * *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
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 bfde07cfd..67119bf26 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
@@ -202,11 +202,17 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getPageOrBuilder() {
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -236,11 +242,17 @@ public java.lang.String getLanguageCode() {
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -899,11 +911,17 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getPageOrBuilder() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -932,11 +950,17 @@ public java.lang.String getLanguageCode() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -965,11 +989,17 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -997,11 +1027,17 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1025,11 +1061,17 @@ public Builder clearLanguageCode() {
      * 
      * The language of the following fields in `page`:
      * *  `Page.entry_fulfillment.messages`
+     * *  `Page.entry_fulfillment.conditional_cases`
+     * *  `Page.event_handlers.trigger_fulfillment.messages`
+     * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+     * *
+     * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
      * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-     * *  `Page.transition_routes.trigger_fulfillment.messages`
      * *
-     * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+     * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+     * *  `Page.transition_routes.trigger_fulfillment.messages`
+     * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequestOrBuilder.java
index 862478fef..d8d6c7ac6 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequestOrBuilder.java
@@ -70,11 +70,17 @@ public interface UpdatePageRequestOrBuilder
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -93,11 +99,17 @@ public interface UpdatePageRequestOrBuilder
    * 
    * The language of the following fields in `page`:
    * *  `Page.entry_fulfillment.messages`
+   * *  `Page.entry_fulfillment.conditional_cases`
+   * *  `Page.event_handlers.trigger_fulfillment.messages`
+   * *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+   * *
+   * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
    * *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-   * *  `Page.transition_routes.trigger_fulfillment.messages`
    * *
-   * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+   * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+   * *  `Page.transition_routes.trigger_fulfillment.messages`
+   * *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateTransitionRouteGroupRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateTransitionRouteGroupRequest.java
index 9dae3e8c1..36bad2851 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateTransitionRouteGroupRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateTransitionRouteGroupRequest.java
@@ -251,9 +251,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -281,9 +282,10 @@ public java.lang.String getLanguageCode() {
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1093,9 +1095,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1122,9 +1125,10 @@ public java.lang.String getLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1151,9 +1155,10 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1179,9 +1184,10 @@ public Builder setLanguageCode(java.lang.String value) {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -1203,9 +1209,10 @@ public Builder clearLanguageCode() {
      *
      *
      * 
-     * The language to list transition route groups for. The field
-     * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-     * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+     * The language of the following fields in `TransitionRouteGroup`:
+     * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+     * *
+     * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
      * If not specified, the agent's default language is used.
      * [Many
      * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateTransitionRouteGroupRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateTransitionRouteGroupRequestOrBuilder.java
index e0b65dd4e..e389dca3f 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateTransitionRouteGroupRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateTransitionRouteGroupRequestOrBuilder.java
@@ -104,9 +104,10 @@ public interface UpdateTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
@@ -123,9 +124,10 @@ public interface UpdateTransitionRouteGroupRequestOrBuilder
    *
    *
    * 
-   * The language to list transition route groups for. The field
-   * [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-   * [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+   * The language of the following fields in `TransitionRouteGroup`:
+   * *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+   * *
+   * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
    * If not specified, the agent's default language is used.
    * [Many
    * languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
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 b14222764..1824e0b25 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
@@ -166,6 +166,10 @@ message Agent {
   // This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method.
   string default_language_code = 3 [(google.api.field_behavior) = IMMUTABLE];
 
+  // The list of all languages supported by the agent (except for the
+  // `default_language_code`).
+  repeated string supported_language_codes = 4;
+
   // Required. The time zone of the agent from the [time zone
   // database](https://www.iana.org/time-zones), e.g., America/New_York,
   // Europe/Paris.
@@ -306,6 +310,16 @@ message ExportAgentRequest {
   // `gs:///`.
   // If left unspecified, the serialized agent is returned inline.
   string agent_uri = 2 [(google.api.field_behavior) = OPTIONAL];
+
+  // Optional. Environment name. If not set, draft environment is assumed.
+  // Format: `projects//locations//agents//environments/`.
+  string environment = 5 [
+    (google.api.field_behavior) = OPTIONAL,
+    (google.api.resource_reference) = {
+      type: "dialogflow.googleapis.com/Environment"
+    }
+  ];
 }
 
 // The response message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent].
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/experiment.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/experiment.proto
index ec9db312b..581da8d88 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/experiment.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/experiment.proto
@@ -174,7 +174,7 @@ message Experiment {
     // Version variant and associated metrics.
     message VersionMetrics {
       // The name of the flow [Version][google.cloud.dialogflow.cx.v3beta1.Version].
-      // Format: `projects//locations//locations//agents//flows//versions/`.
       string version = 1 [(google.api.resource_reference) = {
                             type: "dialogflow.googleapis.com/Version"
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 088611818..68c1d7928 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
@@ -116,6 +116,33 @@ service Flows {
     };
     option (google.api.method_signature) = "name";
   }
+
+  // Imports the specified flow to the specified agent from a binary file.
+  rpc ImportFlow(ImportFlowRequest) returns (google.longrunning.Operation) {
+    option (google.api.http) = {
+      post: "/v3beta1/{parent=projects/*/locations/*/agents/*}/flows:import"
+      body: "*"
+    };
+    option (google.longrunning.operation_info) = {
+      response_type: "ImportFlowResponse"
+      metadata_type: "google.protobuf.Struct"
+    };
+  }
+
+  // Exports the specified flow to a binary file.
+  //
+  // Note that resources (e.g. intents, entities, webhooks) that the flow
+  // references will also be exported.
+  rpc ExportFlow(ExportFlowRequest) returns (google.longrunning.Operation) {
+    option (google.api.http) = {
+      post: "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*}:export"
+      body: "*"
+    };
+    option (google.longrunning.operation_info) = {
+      response_type: "ExportFlowResponse"
+      metadata_type: "google.protobuf.Struct"
+    };
+  }
 }
 
 // Settings related to NLU.
@@ -260,7 +287,9 @@ message CreateFlowRequest {
   // The language of the following fields in `flow`:
   //
   // *  `Flow.event_handlers.trigger_fulfillment.messages`
+  // *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Flow.transition_routes.trigger_fulfillment.messages`
+  // *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -317,7 +346,9 @@ message ListFlowsRequest {
   // dependent:
   //
   // *  `Flow.event_handlers.trigger_fulfillment.messages`
+  // *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Flow.transition_routes.trigger_fulfillment.messages`
+  // *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -354,7 +385,9 @@ message GetFlowRequest {
   // dependent:
   //
   // *  `Flow.event_handlers.trigger_fulfillment.messages`
+  // *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Flow.transition_routes.trigger_fulfillment.messages`
+  // *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -376,7 +409,9 @@ message UpdateFlowRequest {
   // The language of the following fields in `flow`:
   //
   // *  `Flow.event_handlers.trigger_fulfillment.messages`
+  // *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Flow.transition_routes.trigger_fulfillment.messages`
+  // *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -449,3 +484,90 @@ message FlowValidationResult {
   // Last time the flow was validated.
   google.protobuf.Timestamp update_time = 3;
 }
+
+// The request message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow].
+message ImportFlowRequest {
+  // Import option.
+  enum ImportOption {
+    // Unspecified. Treated as `KEEP`.
+    IMPORT_OPTION_UNSPECIFIED = 0;
+
+    // Always respect settings in exported flow content. It may cause a
+    // import failure if some settings (e.g. custom NLU) are not supported in
+    // the agent to import into.
+    KEEP = 1;
+
+    // Fallback to default settings if some settings are not supported in the
+    // agent to import into. E.g. Standard NLU will be used if custom NLU is
+    // not available.
+    FALLBACK = 2;
+  }
+
+  // Required. The agent to import the flow into.
+  // Format: `projects//locations//agents/`.
+  string parent = 1 [
+    (google.api.field_behavior) = REQUIRED,
+    (google.api.resource_reference) = {
+      child_type: "dialogflow.googleapis.com/Flow"
+    }
+  ];
+
+  // Required. The flow to import.
+  oneof flow {
+    // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
+    // to import flow from. The format of this URI must be
+    // `gs:///`.
+    string flow_uri = 2;
+
+    // Uncompressed raw byte content for flow.
+    bytes flow_content = 3;
+  }
+
+  // Flow import mode. If not specified, `KEEP` is assumed.
+  ImportOption import_option = 4;
+}
+
+// The response message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow].
+message ImportFlowResponse {
+  // The unique identifier of the new flow.
+  // Format: `projects//locations//agents//flows/`.
+  string flow = 1 [(google.api.resource_reference) = {
+                     type: "dialogflow.googleapis.com/Flow"
+                   }];
+}
+
+// The request message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow].
+message ExportFlowRequest {
+  // Required. The name of the flow to export.
+  // Format: `projects//locations//agents//flows/`.
+  string name = 1 [
+    (google.api.field_behavior) = REQUIRED,
+    (google.api.resource_reference) = {
+      type: "dialogflow.googleapis.com/Flow"
+    }
+  ];
+
+  // Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
+  // export the flow to. The format of this URI must be
+  // `gs:///`.
+  // If left unspecified, the serialized flow is returned inline.
+  string flow_uri = 2 [(google.api.field_behavior) = OPTIONAL];
+
+  // Optional. Whether to export flows referenced by the specified flow.
+  bool include_referenced_flows = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The response message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow].
+message ExportFlowResponse {
+  // The exported flow.
+  oneof flow {
+    // The URI to a file containing the exported flow. This field is populated
+    // only if `flow_uri` is specified in [ExportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ExportFlowRequest].
+    string flow_uri = 1;
+
+    // Uncompressed raw byte content for flow.
+    bytes flow_content = 2;
+  }
+}
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 4a8acf7a5..bfcc08e6e 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
@@ -378,11 +378,17 @@ message ListPagesRequest {
   // dependent:
   //
   // *  `Page.entry_fulfillment.messages`
+  // *  `Page.entry_fulfillment.conditional_cases`
+  // *  `Page.event_handlers.trigger_fulfillment.messages`
+  // *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+  // *
+  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-  // *  `Page.transition_routes.trigger_fulfillment.messages`
   // *
-  // `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+  // *  `Page.transition_routes.trigger_fulfillment.messages`
+  // *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -426,11 +432,17 @@ message GetPageRequest {
   // dependent:
   //
   // *  `Page.entry_fulfillment.messages`
+  // *  `Page.entry_fulfillment.conditional_cases`
+  // *  `Page.event_handlers.trigger_fulfillment.messages`
+  // *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+  // *
+  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-  // *  `Page.transition_routes.trigger_fulfillment.messages`
   // *
-  // `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+  // *  `Page.transition_routes.trigger_fulfillment.messages`
+  // *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -458,11 +470,17 @@ message CreatePageRequest {
   // The language of the following fields in `page`:
   //
   // *  `Page.entry_fulfillment.messages`
+  // *  `Page.entry_fulfillment.conditional_cases`
+  // *  `Page.event_handlers.trigger_fulfillment.messages`
+  // *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+  // *
+  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-  // *  `Page.transition_routes.trigger_fulfillment.messages`
   // *
-  // `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+  // *  `Page.transition_routes.trigger_fulfillment.messages`
+  // *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -480,11 +498,17 @@ message UpdatePageRequest {
   // The language of the following fields in `page`:
   //
   // *  `Page.entry_fulfillment.messages`
+  // *  `Page.entry_fulfillment.conditional_cases`
+  // *  `Page.event_handlers.trigger_fulfillment.messages`
+  // *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
+  // *
+  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
   // *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
-  // *  `Page.transition_routes.trigger_fulfillment.messages`
   // *
-  // `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
+  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
+  // *  `Page.transition_routes.trigger_fulfillment.messages`
+  // *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
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 f331f1a2b..0a79181a5 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,6 +17,7 @@ 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";
@@ -29,7 +30,6 @@ 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";
@@ -45,8 +45,9 @@ 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) =
@@ -79,8 +80,8 @@ service Sessions {
   // Note: Always use agent versions for production traffic.
   // See [Versions and
   // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
-  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.
@@ -95,9 +96,13 @@ 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"
@@ -157,9 +162,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
@@ -172,24 +177,29 @@ 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:
 //
@@ -218,8 +228,8 @@ message StreamingDetectIntentRequest {
   // See [Versions and
   // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
   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;
@@ -240,7 +250,12 @@ message StreamingDetectIntentRequest {
 //     complete transcript of what the user said. The last `recognition_result`
 //     has `is_final` set to `true`.
 //
-// 2.  The last message contains `detect_intent_response`.
+// 2.  If `enable_partial_response` is true, the following N messages
+//     (currently 1 <= N <= 4) contain `detect_intent_response`. The first (N-1)
+//     `detect_intent_response`s will have `response_type` set to `PARTIAL`.
+//     The last `detect_intent_response` has `response_type` set to `FINAL`.
+//     If `response_type` is false, response stream only contains
+//     the final `detect_intent_response`.
 message StreamingDetectIntentResponse {
   // The output response.
   oneof response {
@@ -300,8 +315,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;
   }
 
@@ -337,7 +352,8 @@ 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;
 
@@ -365,6 +381,17 @@ message QueryParameters {
 
   // This field can be used to pass custom data into the webhook associated with
   // the agent. Arbitrary JSON objects are supported.
+  // Some integrations that query a Dialogflow agent may provide additional
+  // information in the payload.
+  // In particular, for the Dialogflow Phone Gateway integration, this field has
+  // the form:
+  // ```
+  // {
+  //  "telephony": {
+  //    "caller_id": "+18558363987"
+  //  }
+  // }
+  // ```
   google.protobuf.Struct payload = 4;
 
   // Additional parameters to be put into [session
@@ -388,7 +415,8 @@ message QueryParameters {
   //     -   Else: parameter value
   google.protobuf.Struct parameters = 5;
 
-  // The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
+  // The unique identifier of the
+  // [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current
   // page][QueryResult.current_page] in the session. Format: `projects//locations//agents//pages/`.
   //
@@ -396,12 +424,14 @@ message QueryParameters {
   // ignored by Dialogflow, including the [previous
   // page][QueryResult.current_page] and the [previous session
   // parameters][QueryResult.parameters].
-  // In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and
-  // [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to
-  // direct a session to a specific state.
-  string current_page = 6 [(google.api.resource_reference) = {
-                             type: "dialogflow.googleapis.com/Page"
-                           }];
+  // In most cases,
+  // [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page]
+  // and
+  // [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters]
+  // should be configured together to direct a session to a specific state.
+  string current_page = 6 [
+    (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" }
+  ];
 
   // Whether to disable webhook calls for this request.
   bool disable_webhook = 7;
@@ -461,24 +491,25 @@ 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.
-    // Format: `projects//locations//agents//intents/`.
+    // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+    // provided as input, this field will contain a copy of the intent
+    // identifier. Format: `projects//locations//agents//intents/`.
     string trigger_intent = 11 [(google.api.resource_reference) = {
-                                  type: "dialogflow.googleapis.com/Intent"
-                                }];
+      type: "dialogflow.googleapis.com/Intent"
+    }];
 
-    // If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-    // this field will contain the transcript for the audio.
+    // If [natural language speech
+    // audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+    // input, this field will contain the transcript 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;
   }
 
@@ -488,7 +519,8 @@ 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
@@ -514,19 +546,23 @@ 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
@@ -535,7 +571,9 @@ 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.
@@ -548,14 +586,15 @@ message QueryResult {
 
   // 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.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];
 }
 
@@ -580,8 +619,9 @@ 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.
@@ -631,9 +671,10 @@ message Match {
     EVENT = 6;
   }
 
-  // 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 event that matched the query. Only filled for
@@ -707,24 +748,25 @@ 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.
-    // Format: `projects//locations//agents//intents/`.
+    // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
+    // provided as input, this field will contain a copy of the intent
+    // identifier. Format: `projects//locations//agents//intents/`.
     string trigger_intent = 2 [(google.api.resource_reference) = {
-                                 type: "dialogflow.googleapis.com/Intent"
-                               }];
+      type: "dialogflow.googleapis.com/Intent"
+    }];
 
-    // If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
-    // this field will contain the transcript for the audio.
+    // If [natural language speech
+    // audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
+    // input, this field will contain the transcript 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.
+    // 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;
   }
 
@@ -732,8 +774,9 @@ message MatchIntentResponse {
   // 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;
 }
 
@@ -762,9 +805,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
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/transition_route_group.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/transition_route_group.proto
index 341985b4a..f116ce128 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/transition_route_group.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/transition_route_group.proto
@@ -124,9 +124,12 @@ message ListTransitionRouteGroupsRequest {
   // The next_page_token value returned from a previous list request.
   string page_token = 3;
 
-  // The language to list transition route groups for. The field
-  // [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-  // [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+  // The language to list transition route groups for. The following fields are
+  // language dependent:
+  //
+  // *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+  // *
+  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -161,9 +164,12 @@ message GetTransitionRouteGroupRequest {
     }
   ];
 
-  // The language to list transition route groups for. The field
-  // [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-  // [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+  // The language to retrieve the transition route group for. The following
+  // fields are language dependent:
+  //
+  // *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+  // *
+  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -188,9 +194,11 @@ message CreateTransitionRouteGroupRequest {
   // Required. The transition route group to create.
   TransitionRouteGroup transition_route_group = 2 [(google.api.field_behavior) = REQUIRED];
 
-  // The language to list transition route groups for. The field
-  // [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-  // [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+  // The language of the following fields in `TransitionRouteGroup`:
+  //
+  // *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+  // *
+  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
@@ -208,9 +216,11 @@ message UpdateTransitionRouteGroupRequest {
   // The mask to control which fields get updated.
   google.protobuf.FieldMask update_mask = 2;
 
-  // The language to list transition route groups for. The field
-  // [`messages`][TransitionRoute.trigger_fulfillment.messages] in
-  // [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] is language dependent.
+  // The language of the following fields in `TransitionRouteGroup`:
+  //
+  // *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
+  // *
+  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
   //
   // If not specified, the agent's default language is used.
   // [Many
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/version.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/version.proto
index 9648a4277..8f90ed2b1 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/version.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/version.proto
@@ -87,7 +87,7 @@ service Versions {
     option (google.api.method_signature) = "name";
   }
 
-  // Loads a specified version to draft version.
+  // Loads resources in the specified version to the draft flow.
   rpc LoadVersion(LoadVersionRequest) returns (google.longrunning.Operation) {
     option (google.api.http) = {
       post: "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/versions/*}:load"
@@ -243,7 +243,7 @@ message DeleteVersionRequest {
 
 // The request message for [Versions.LoadVersion][google.cloud.dialogflow.cx.v3beta1.Versions.LoadVersion].
 message LoadVersionRequest {
-  // Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft version.
+  // Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow.
   // Format: `projects//locations//agents//flows//versions/`.
   string name = 1 [
@@ -253,9 +253,9 @@ message LoadVersionRequest {
     }
   ];
 
-  // This field is used to prevent accidental overwrite of other agent resources
-  // in the draft version, which can potentially impact other flow's behavior.
-  // If `allow_override_agent_resources` is false, conflicted agent-level
-  // resources will not be overridden (i.e. intents, entities, webhooks).
+  // This field is used to prevent accidental overwrite of other agent
+  // resources, which can potentially impact other flow's behavior. If
+  // `allow_override_agent_resources` is false, conflicted agent-level resources
+  // will not be overridden (i.e. intents, entities, webhooks).
   bool allow_override_agent_resources = 2;
 }
diff --git a/synth.metadata b/synth.metadata
index ad704ca5f..36cfd1289 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -11,16 +11,16 @@
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "9a386bc12400c03f81c97f599d7ba7cb0b440577",
-        "internalRef": "367052612"
+        "sha": "0fa726c5d8e4b8442f49974abc875db1af432316",
+        "internalRef": "370928139"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "9a386bc12400c03f81c97f599d7ba7cb0b440577",
-        "internalRef": "367052612"
+        "sha": "0fa726c5d8e4b8442f49974abc875db1af432316",
+        "internalRef": "370928139"
       }
     },
     {
@@ -508,6 +508,10 @@
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequestOrBuilder.java",
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentResponse.java",
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentResponseOrBuilder.java",
+    "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowRequest.java",
+    "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowRequestOrBuilder.java",
+    "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowResponse.java",
+    "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportFlowResponseOrBuilder.java",
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportTestCasesMetadata.java",
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportTestCasesMetadataOrBuilder.java",
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportTestCasesRequest.java",
@@ -562,6 +566,10 @@
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetVersionRequestOrBuilder.java",
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetWebhookRequest.java",
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GetWebhookRequestOrBuilder.java",
+    "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowRequest.java",
+    "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowRequestOrBuilder.java",
+    "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowResponse.java",
+    "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportFlowResponseOrBuilder.java",
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportTestCasesMetadata.java",
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportTestCasesMetadataOrBuilder.java",
     "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ImportTestCasesRequest.java",
@@ -912,6 +920,10 @@
     "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",
     "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentResponseOrBuilder.java",
+    "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowRequest.java",
+    "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowRequestOrBuilder.java",
+    "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowResponse.java",
+    "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportFlowResponseOrBuilder.java",
     "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportTestCasesMetadata.java",
     "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportTestCasesMetadataOrBuilder.java",
     "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportTestCasesRequest.java",
@@ -966,6 +978,10 @@
     "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/ImportFlowRequest.java",
+    "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowRequestOrBuilder.java",
+    "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowResponse.java",
+    "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportFlowResponseOrBuilder.java",
     "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportTestCasesMetadata.java",
     "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportTestCasesMetadataOrBuilder.java",
     "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportTestCasesRequest.java",