diff --git a/generation_config.yaml b/generation_config.yaml
index 4099fd2ec797..33c138b381ce 100644
--- a/generation_config.yaml
+++ b/generation_config.yaml
@@ -1,5 +1,5 @@
gapic_generator_version: 2.68.0
-googleapis_commitish: dfcbe6807e8c0bb8d5abb2b5e875a2a03af8d874
+googleapis_commitish: 7e8511aad98db8480de0fd594c1cfd09a32b1cf3
libraries_bom_version: 26.78.0
libraries:
- api_shortname: accessapproval
diff --git a/java-biglake/README.md b/java-biglake/README.md
index efcec5d3e6cf..364bef3f4c38 100644
--- a/java-biglake/README.md
+++ b/java-biglake/README.md
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -8126,13 +8141,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -8166,13 +8188,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceClient.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceClient.java index 4f69280a2eb6..bfe1ab92e171 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceClient.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceClient.java @@ -681,8 +681,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -5437,13 +5446,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -5477,13 +5493,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/SessionServiceClient.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/SessionServiceClient.java index 2ecad24387ce..e584786649ae 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/SessionServiceClient.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/SessionServiceClient.java @@ -25,6 +25,7 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.BidiStreamingCallable; import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.ServerStreamingCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.ces.v1beta.stub.SessionServiceStub; import com.google.cloud.ces.v1beta.stub.SessionServiceStubSettings; @@ -73,7 +74,7 @@ *
RunSession
Initiates a single turn interaction with the CES agent within a session.
Initiates a single-turn interaction with the CES agent within a session.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*StreamRunSession
Initiates a single-turn interaction with the CES agent. Uses server-side streaming to deliver incremental results and partial responses as they are generated. + *
By default, complete responses (e.g., messages from callbacks or full LLM responses) are sent to the client as soon as they are available. To enable streaming individual text chunks directly from the model, set [enable_text_streaming][google.cloud.ces.v1beta.SessionConfig.enable_text_streaming] to true.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *streamRunSessionCallable() + *
BidiRunSession
Establishes a bidirectional streaming connection with the CES agent. The agent processes continuous multimodal inputs (e.g., text, audio) and generates real-time multimodal output streams. *
--- Client Request Stream --- The client streams requests in the following order: @@ -107,8 +119,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*Sample code: * @@ -272,7 +286,7 @@ public final RunSessionResponse runSession(RunSessionRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Initiates a single turn interaction with the CES agent within a session. + * Initiates a single-turn interaction with the CES agent within a session. * *
Sample code:
*
@@ -299,6 +313,43 @@ public final UnaryCallable By default, complete responses (e.g., messages from callbacks or full LLM responses) are
+ * sent to the client as soon as they are available. To enable streaming individual text chunks
+ * directly from the model, set
+ * [enable_text_streaming][google.cloud.ces.v1beta.SessionConfig.enable_text_streaming] to true.
+ *
+ * Sample code:
+ *
+ * This method lists locations based on the resource scope provided inthe
+ * [ListLocationsRequest.name] field:
+ *
+ * * **Global locations**: If `name` is empty, the method lists thepublic
+ * locations available to all projects. * **Project-specificlocations**: If
+ * `name` follows the format`projects/{project}`, the method lists locations visible to
+ * thatspecific project. This includes public, private, or otherproject-specific locations enabled
+ * for the project.
*
- * * **List all public locations:** Use the path `GET /v1/locations`.*
- * **List project-visible locations:** Use the path`GET
- * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
- * other locations specifically visibleto the project.
+ * For gRPC and client library implementations, the resource name ispassed as the `name` field.
+ * For direct service calls, the resourcename isincorporated into the request path based on the
+ * specific serviceimplementation and version.
*
* Sample code:
*
@@ -416,13 +474,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists information about the supported locations for this service.This method can be called in
- * two ways:
+ * Lists information about the supported locations for this service.
*
- * * **List all public locations:** Use the path `GET /v1/locations`.*
- * **List project-visible locations:** Use the path`GET
- * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
- * other locations specifically visibleto the project.
+ * This method lists locations based on the resource scope provided inthe
+ * [ListLocationsRequest.name] field:
+ *
+ * * **Global locations**: If `name` is empty, the method lists thepublic
+ * locations available to all projects. * **Project-specificlocations**: If
+ * `name` follows the format`projects/{project}`, the method lists locations visible to
+ * thatspecific project. This includes public, private, or otherproject-specific locations enabled
+ * for the project.
+ *
+ * For gRPC and client library implementations, the resource name ispassed as the `name` field.
+ * For direct service calls, the resourcename isincorporated into the request path based on the
+ * specific serviceimplementation and version.
*
* Sample code:
*
@@ -456,13 +521,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists information about the supported locations for this service.This method can be called in
- * two ways:
+ * Lists information about the supported locations for this service.
+ *
+ * This method lists locations based on the resource scope provided inthe
+ * [ListLocationsRequest.name] field:
+ *
+ * * **Global locations**: If `name` is empty, the method lists thepublic
+ * locations available to all projects. * **Project-specificlocations**: If
+ * `name` follows the format`projects/{project}`, the method lists locations visible to
+ * thatspecific project. This includes public, private, or otherproject-specific locations enabled
+ * for the project.
*
- * * **List all public locations:** Use the path `GET /v1/locations`.*
- * **List project-visible locations:** Use the path`GET
- * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
- * other locations specifically visibleto the project.
+ * For gRPC and client library implementations, the resource name ispassed as the `name` field.
+ * For direct service calls, the resourcename isincorporated into the request path based on the
+ * specific serviceimplementation and version.
*
* Sample code:
*
diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/SessionServiceSettings.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/SessionServiceSettings.java
index 3eb0db665499..bdfff0683506 100644
--- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/SessionServiceSettings.java
+++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/SessionServiceSettings.java
@@ -28,6 +28,7 @@
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.ServerStreamingCallSettings;
import com.google.api.gax.rpc.StreamingCallSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
@@ -99,6 +100,12 @@ public UnaryCallSettings{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (SessionServiceClient sessionServiceClient = SessionServiceClient.create()) {
+ * RunSessionRequest request =
+ * RunSessionRequest.newBuilder()
+ * .setConfig(SessionConfig.newBuilder().build())
+ * .addAllInputs(new ArrayList
+ */
+ public final ServerStreamingCallable
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -464,13 +473,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -504,13 +520,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/WidgetServiceClient.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/WidgetServiceClient.java index ffd1eb9c3182..99a042f286ee 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/WidgetServiceClient.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/WidgetServiceClient.java @@ -57,6 +57,7 @@ * .setDeployment( * DeploymentName.of("[PROJECT]", "[LOCATION]", "[APP]", "[DEPLOYMENT]").toString()) * .setRecaptchaToken("recaptchaToken1978277202") + * .setLiveHandoffEnabled(true) * .build(); * GenerateChatTokenResponse response = widgetServiceClient.generateChatToken(request); * } @@ -88,8 +89,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -326,13 +338,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -366,13 +385,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code:
*
diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/gapic_metadata.json b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/gapic_metadata.json
index 12ab8b4f4103..c603439aef68 100644
--- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/gapic_metadata.json
+++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/gapic_metadata.json
@@ -294,6 +294,9 @@
},
"RunSession": {
"methods": ["runSession", "runSessionCallable"]
+ },
+ "StreamRunSession": {
+ "methods": ["streamRunSessionCallable"]
}
}
}
diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/package-info.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/package-info.java
index fd3ee4853ffd..49ba9fd4a4a5 100644
--- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/package-info.java
+++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/package-info.java
@@ -121,6 +121,7 @@
* .setDeployment(
* DeploymentName.of("[PROJECT]", "[LOCATION]", "[APP]", "[DEPLOYMENT]").toString())
* .setRecaptchaToken("recaptchaToken1978277202")
+ * .setLiveHandoffEnabled(true)
* .build();
* GenerateChatTokenResponse response = widgetServiceClient.generateChatToken(request);
* }
diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/GrpcSessionServiceStub.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/GrpcSessionServiceStub.java
index a24918e08812..26be1cd49c45 100644
--- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/GrpcSessionServiceStub.java
+++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/GrpcSessionServiceStub.java
@@ -26,6 +26,7 @@
import com.google.api.gax.rpc.BidiStreamingCallable;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.RequestParamsBuilder;
+import com.google.api.gax.rpc.ServerStreamingCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.ces.v1beta.BidiSessionClientMessage;
import com.google.cloud.ces.v1beta.BidiSessionServerMessage;
@@ -61,6 +62,16 @@ public class GrpcSessionServiceStub extends SessionServiceStub {
.setSampledToLocalTracing(true)
.build();
+ private static final MethodDescriptor
- * Initiates a single turn interaction with the CES agent within a
- * session.
+ * Initiates a single-turn interaction with the CES agent within a session.
*
*/
default void runSession(
@@ -201,6 +245,28 @@ default void runSession(
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunSessionMethod(), responseObserver);
}
+ /**
+ *
+ *
+ *
+ * Initiates a single-turn interaction with the CES agent. Uses server-side
+ * streaming to deliver incremental results and partial responses as they are
+ * generated.
+ * By default, complete responses (e.g., messages from callbacks or full LLM
+ * responses) are sent to the client as soon as they are available. To enable
+ * streaming individual text chunks directly from the model, set
+ * [enable_text_streaming][google.cloud.ces.v1beta.SessionConfig.enable_text_streaming]
+ * to true.
+ *
+ */
+ default void streamRunSession(
+ com.google.cloud.ces.v1beta.RunSessionRequest request,
+ io.grpc.stub.StreamObserver
- * Initiates a single turn interaction with the CES agent within a
- * session.
+ * Initiates a single-turn interaction with the CES agent within a session.
*
*/
public void runSession(
@@ -320,6 +385,30 @@ public void runSession(
getChannel().newCall(getRunSessionMethod(), getCallOptions()), request, responseObserver);
}
+ /**
+ *
+ *
+ *
+ * Initiates a single-turn interaction with the CES agent. Uses server-side
+ * streaming to deliver incremental results and partial responses as they are
+ * generated.
+ * By default, complete responses (e.g., messages from callbacks or full LLM
+ * responses) are sent to the client as soon as they are available. To enable
+ * streaming individual text chunks directly from the model, set
+ * [enable_text_streaming][google.cloud.ces.v1beta.SessionConfig.enable_text_streaming]
+ * to true.
+ *
+ */
+ public void streamRunSession(
+ com.google.cloud.ces.v1beta.RunSessionRequest request,
+ io.grpc.stub.StreamObserver
- * Initiates a single turn interaction with the CES agent within a
- * session.
+ * Initiates a single-turn interaction with the CES agent within a session.
*
*/
public com.google.cloud.ces.v1beta.RunSessionResponse runSession(
@@ -422,6 +510,27 @@ public com.google.cloud.ces.v1beta.RunSessionResponse runSession(
getChannel(), getRunSessionMethod(), getCallOptions(), request);
}
+ /**
+ *
+ *
+ *
+ * Initiates a single-turn interaction with the CES agent. Uses server-side
+ * streaming to deliver incremental results and partial responses as they are
+ * generated.
+ * By default, complete responses (e.g., messages from callbacks or full LLM
+ * responses) are sent to the client as soon as they are available. To enable
+ * streaming individual text chunks directly from the model, set
+ * [enable_text_streaming][google.cloud.ces.v1beta.SessionConfig.enable_text_streaming]
+ * to true.
+ *
+ */
+ @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918")
+ public io.grpc.stub.BlockingClientCall, com.google.cloud.ces.v1beta.RunSessionResponse>
+ streamRunSession(com.google.cloud.ces.v1beta.RunSessionRequest request) {
+ return io.grpc.stub.ClientCalls.blockingV2ServerStreamingCall(
+ getChannel(), getStreamRunSessionMethod(), getCallOptions(), request);
+ }
+
/**
*
*
@@ -515,8 +624,7 @@ protected SessionServiceBlockingStub build(
*
*
*
- * Initiates a single turn interaction with the CES agent within a
- * session.
+ * Initiates a single-turn interaction with the CES agent within a session.
*
*/
public com.google.cloud.ces.v1beta.RunSessionResponse runSession(
@@ -524,6 +632,26 @@ public com.google.cloud.ces.v1beta.RunSessionResponse runSession(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRunSessionMethod(), getCallOptions(), request);
}
+
+ /**
+ *
+ *
+ *
+ * Initiates a single-turn interaction with the CES agent. Uses server-side
+ * streaming to deliver incremental results and partial responses as they are
+ * generated.
+ * By default, complete responses (e.g., messages from callbacks or full LLM
+ * responses) are sent to the client as soon as they are available. To enable
+ * streaming individual text chunks directly from the model, set
+ * [enable_text_streaming][google.cloud.ces.v1beta.SessionConfig.enable_text_streaming]
+ * to true.
+ *
+ */
+ public java.util.Iterator
- * Initiates a single turn interaction with the CES agent within a
- * session.
+ * Initiates a single-turn interaction with the CES agent within a session.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -562,7 +689,8 @@ protected SessionServiceFutureStub build(
}
private static final int METHODID_RUN_SESSION = 0;
- private static final int METHODID_BIDI_RUN_SESSION = 1;
+ private static final int METHODID_STREAM_RUN_SESSION = 1;
+ private static final int METHODID_BIDI_RUN_SESSION = 2;
private static final class MethodHandlers
- * Optional. The project ID of the BigQuery dataset to export the data to.
+ * Optional. The **project ID** of the BigQuery dataset to export the data to.
*
* Note: If the BigQuery dataset is in a different project from the app,
* you should grant `roles/bigquery.admin` role to the CES service agent
@@ -127,7 +127,7 @@ public java.lang.String getProject() {
*
*
*
- * Optional. The project ID of the BigQuery dataset to export the data to.
+ * Optional. The **project ID** of the BigQuery dataset to export the data to.
*
* Note: If the BigQuery dataset is in a different project from the app,
* you should grant `roles/bigquery.admin` role to the CES service agent
@@ -160,7 +160,7 @@ public com.google.protobuf.ByteString getProjectBytes() {
*
*
*
- * Optional. The BigQuery dataset to export the data to.
+ * Optional. The BigQuery **dataset ID** to export the data to.
*
*
* string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];
@@ -184,7 +184,7 @@ public java.lang.String getDataset() {
*
*
*
- * Optional. The BigQuery dataset to export the data to.
+ * Optional. The BigQuery **dataset ID** to export the data to.
*
*
* string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];
@@ -622,7 +622,7 @@ public Builder clearEnabled() {
*
*
*
- * Optional. The project ID of the BigQuery dataset to export the data to.
+ * Optional. The **project ID** of the BigQuery dataset to export the data to.
*
* Note: If the BigQuery dataset is in a different project from the app,
* you should grant `roles/bigquery.admin` role to the CES service agent
@@ -649,7 +649,7 @@ public java.lang.String getProject() {
*
*
*
- * Optional. The project ID of the BigQuery dataset to export the data to.
+ * Optional. The **project ID** of the BigQuery dataset to export the data to.
*
* Note: If the BigQuery dataset is in a different project from the app,
* you should grant `roles/bigquery.admin` role to the CES service agent
@@ -676,7 +676,7 @@ public com.google.protobuf.ByteString getProjectBytes() {
*
*
*
- * Optional. The project ID of the BigQuery dataset to export the data to.
+ * Optional. The **project ID** of the BigQuery dataset to export the data to.
*
* Note: If the BigQuery dataset is in a different project from the app,
* you should grant `roles/bigquery.admin` role to the CES service agent
@@ -702,7 +702,7 @@ public Builder setProject(java.lang.String value) {
*
*
*
- * Optional. The project ID of the BigQuery dataset to export the data to.
+ * Optional. The **project ID** of the BigQuery dataset to export the data to.
*
* Note: If the BigQuery dataset is in a different project from the app,
* you should grant `roles/bigquery.admin` role to the CES service agent
@@ -724,7 +724,7 @@ public Builder clearProject() {
*
*
*
- * Optional. The project ID of the BigQuery dataset to export the data to.
+ * Optional. The **project ID** of the BigQuery dataset to export the data to.
*
* Note: If the BigQuery dataset is in a different project from the app,
* you should grant `roles/bigquery.admin` role to the CES service agent
@@ -753,7 +753,7 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional. The BigQuery dataset to export the data to.
+ * Optional. The BigQuery **dataset ID** to export the data to.
*
*
* string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];
@@ -776,7 +776,7 @@ public java.lang.String getDataset() {
*
*
*
- * Optional. The BigQuery dataset to export the data to.
+ * Optional. The BigQuery **dataset ID** to export the data to.
*
*
* string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];
@@ -799,7 +799,7 @@ public com.google.protobuf.ByteString getDatasetBytes() {
*
*
*
- * Optional. The BigQuery dataset to export the data to.
+ * Optional. The BigQuery **dataset ID** to export the data to.
*
*
* string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];
@@ -821,7 +821,7 @@ public Builder setDataset(java.lang.String value) {
*
*
*
- * Optional. The BigQuery dataset to export the data to.
+ * Optional. The BigQuery **dataset ID** to export the data to.
*
*
* string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];
@@ -839,7 +839,7 @@ public Builder clearDataset() {
*
*
*
- * Optional. The BigQuery dataset to export the data to.
+ * Optional. The BigQuery **dataset ID** to export the data to.
*
*
* string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/BigQueryExportSettingsOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/BigQueryExportSettingsOrBuilder.java
index 31d22ddcff16..492cd3c76fd6 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/BigQueryExportSettingsOrBuilder.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/BigQueryExportSettingsOrBuilder.java
@@ -43,7 +43,7 @@ public interface BigQueryExportSettingsOrBuilder
*
*
*
- * Optional. The project ID of the BigQuery dataset to export the data to.
+ * Optional. The **project ID** of the BigQuery dataset to export the data to.
*
* Note: If the BigQuery dataset is in a different project from the app,
* you should grant `roles/bigquery.admin` role to the CES service agent
@@ -60,7 +60,7 @@ public interface BigQueryExportSettingsOrBuilder
*
*
*
- * Optional. The project ID of the BigQuery dataset to export the data to.
+ * Optional. The **project ID** of the BigQuery dataset to export the data to.
*
* Note: If the BigQuery dataset is in a different project from the app,
* you should grant `roles/bigquery.admin` role to the CES service agent
@@ -77,7 +77,7 @@ public interface BigQueryExportSettingsOrBuilder
*
*
*
- * Optional. The BigQuery dataset to export the data to.
+ * Optional. The BigQuery **dataset ID** to export the data to.
*
*
* string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];
@@ -90,7 +90,7 @@ public interface BigQueryExportSettingsOrBuilder
*
*
*
- * Optional. The BigQuery dataset to export the data to.
+ * Optional. The BigQuery **dataset ID** to export the data to.
*
*
* string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ChannelProfile.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ChannelProfile.java
index 2d2dfdde2500..99fa0f365c34 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ChannelProfile.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ChannelProfile.java
@@ -1371,6 +1371,16 @@ public enum Modality implements com.google.protobuf.ProtocolMessageEnum {
* CHAT_ONLY = 3;
*/
CHAT_ONLY(3),
+ /**
+ *
+ *
+ *
+ * Widget supports chat, voice, and video input.
+ *
+ *
+ * CHAT_VOICE_AND_VIDEO = 4;
+ */
+ CHAT_VOICE_AND_VIDEO(4),
UNRECOGNIZED(-1),
;
@@ -1428,6 +1438,17 @@ public enum Modality implements com.google.protobuf.ProtocolMessageEnum {
*/
public static final int CHAT_ONLY_VALUE = 3;
+ /**
+ *
+ *
+ *
+ * Widget supports chat, voice, and video input.
+ *
+ *
+ * CHAT_VOICE_AND_VIDEO = 4;
+ */
+ public static final int CHAT_VOICE_AND_VIDEO_VALUE = 4;
+
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
@@ -1460,6 +1481,8 @@ public static Modality forNumber(int value) {
return VOICE_ONLY;
case 3:
return CHAT_ONLY;
+ case 4:
+ return CHAT_VOICE_AND_VIDEO;
default:
return null;
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/CommonProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/CommonProto.java
index dc33ab6f3e20..a718019c08d3 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/CommonProto.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/CommonProto.java
@@ -152,7 +152,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004cert\030\002 \001(\014B\003\340A\002\"Z\n"
+ "\026ServiceDirectoryConfig\022@\n"
+ "\007service\030\001 \001(\tB/\340A\002\372A)\n"
- + "\'servicedirectory.googleapis.com/Service\"\305\n\n"
+ + "\'servicedirectory.googleapis.com/Service\"\337\n\n"
+ "\016ChannelProfile\022\027\n\n"
+ "profile_id\030\001 \001(\tB\003\340A\001\022N\n"
+ "\014channel_type\030\003"
@@ -170,7 +170,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\007Persona\022\013\n"
+ "\007UNKNOWN\020\000\022\013\n"
+ "\007CONCISE\020\001\022\n\n"
- + "\006CHATTY\020\002\032\353\004\n"
+ + "\006CHATTY\020\002\032\205\005\n"
+ "\017WebWidgetConfig\022W\n"
+ "\010modality\030\001 \001(\0162@.google.cl"
+ "oud.ces.v1beta.ChannelProfile.WebWidgetConfig.ModalityB\003\340A\001\022Q\n"
@@ -183,12 +183,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\024enable_public_access\030\001 \001(\010B\003\340A\001\022 \n"
+ "\023enable_origin_check\030\004 \001(\010B\003\340A\001\022\034\n"
+ "\017allowed_origins\030\002 \003(\tB\003\340A\001\022\035\n"
- + "\020enable_recaptcha\030\003 \001(\010B\003\340A\001\"W\n"
+ + "\020enable_recaptcha\030\003 \001(\010B\003\340A\001\"q\n"
+ "\010Modality\022\030\n"
+ "\024MODALITY_UNSPECIFIED\020\000\022\022\n"
+ "\016CHAT_AND_VOICE\020\001\022\016\n\n"
+ "VOICE_ONLY\020\002\022\r\n"
- + "\tCHAT_ONLY\020\003\"3\n"
+ + "\tCHAT_ONLY\020\003\022\030\n"
+ + "\024CHAT_VOICE_AND_VIDEO\020\004\"3\n"
+ "\005Theme\022\025\n"
+ "\021THEME_UNSPECIFIED\020\000\022\t\n"
+ "\005LIGHT\020\001\022\010\n"
@@ -214,10 +215,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\032EXECUTION_TYPE_UNSPECIFIED\020\000\022\017\n"
+ "\013SYNCHRONOUS\020\001\022\020\n"
+ "\014ASYNCHRONOUS\020\002B\332\001\n"
- + "\033com.google.cloud.ces.v1betaB\013CommonProtoP"
- + "\001Z-cloud.google.com/go/ces/apiv1beta/cespb;cespb\352A|\n"
- + "\'servicedirectory.googleapis.com/Service\022Qprojects/{project}/locatio"
- + "ns/{location}/namespaces/{namespace}/services/{service}b\006proto3"
+ + "\033com.google.clou"
+ + "d.ces.v1betaB\013CommonProtoP\001Z-cloud.google.com/go/ces/apiv1beta/cespb;cespb\352A|\n"
+ + "\'servicedirectory.googleapis.com/Service\022Qprojects/{project}/locations/{location}/"
+ + "namespaces/{namespace}/services/{service}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/DeleteConversationRequest.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/DeleteConversationRequest.java
index 909389266da6..9ac29fb7f2e8 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/DeleteConversationRequest.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/DeleteConversationRequest.java
@@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* @deprecated google.cloud.ces.v1beta.DeleteConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1181
+ * google/cloud/ces/v1beta/agent_service.proto;l=1189
* @return The enum numeric value on the wire for source.
*/
@java.lang.Override
@@ -167,7 +167,7 @@ public int getSourceValue() {
*
*
* @deprecated google.cloud.ces.v1beta.DeleteConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1181
+ * google/cloud/ces/v1beta/agent_service.proto;l=1189
* @return The source.
*/
@java.lang.Override
@@ -648,7 +648,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* @deprecated google.cloud.ces.v1beta.DeleteConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1181
+ * google/cloud/ces/v1beta/agent_service.proto;l=1189
* @return The enum numeric value on the wire for source.
*/
@java.lang.Override
@@ -670,7 +670,7 @@ public int getSourceValue() {
*
*
* @deprecated google.cloud.ces.v1beta.DeleteConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1181
+ * google/cloud/ces/v1beta/agent_service.proto;l=1189
* @param value The enum numeric value on the wire for source to set.
* @return This builder for chaining.
*/
@@ -695,7 +695,7 @@ public Builder setSourceValue(int value) {
*
*
* @deprecated google.cloud.ces.v1beta.DeleteConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1181
+ * google/cloud/ces/v1beta/agent_service.proto;l=1189
* @return The source.
*/
@java.lang.Override
@@ -719,7 +719,7 @@ public com.google.cloud.ces.v1beta.Conversation.Source getSource() {
*
*
* @deprecated google.cloud.ces.v1beta.DeleteConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1181
+ * google/cloud/ces/v1beta/agent_service.proto;l=1189
* @param value The source to set.
* @return This builder for chaining.
*/
@@ -747,7 +747,7 @@ public Builder setSource(com.google.cloud.ces.v1beta.Conversation.Source value)
*
*
* @deprecated google.cloud.ces.v1beta.DeleteConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1181
+ * google/cloud/ces/v1beta/agent_service.proto;l=1189
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/DeleteConversationRequestOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/DeleteConversationRequestOrBuilder.java
index 0ed8bd81c7a4..5927517801de 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/DeleteConversationRequestOrBuilder.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/DeleteConversationRequestOrBuilder.java
@@ -69,7 +69,7 @@ public interface DeleteConversationRequestOrBuilder
*
*
* @deprecated google.cloud.ces.v1beta.DeleteConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1181
+ * google/cloud/ces/v1beta/agent_service.proto;l=1189
* @return The enum numeric value on the wire for source.
*/
@java.lang.Deprecated
@@ -88,7 +88,7 @@ public interface DeleteConversationRequestOrBuilder
*
*
* @deprecated google.cloud.ces.v1beta.DeleteConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1181
+ * google/cloud/ces/v1beta/agent_service.proto;l=1189
* @return The source.
*/
@java.lang.Deprecated
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettings.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettings.java
index 5d2b799bf2dd..b450f6e9a432 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettings.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettings.java
@@ -84,7 +84,7 @@ public enum ErrorHandlingStrategy implements com.google.protobuf.ProtocolMessage
*
*
*
- * Unspecified error handling strategy. Defaults to FALLBACK_RESPONSE.
+ * Unspecified error handling strategy.
*
*
* ERROR_HANDLING_STRATEGY_UNSPECIFIED = 0;
@@ -105,12 +105,23 @@ public enum ErrorHandlingStrategy implements com.google.protobuf.ProtocolMessage
*
*
* A fallback message will be returned to the user in case of
- * LLM errors.
+ * system errors (e.g. LLM errors).
*
*
* FALLBACK_RESPONSE = 2;
*/
FALLBACK_RESPONSE(2),
+ /**
+ *
+ *
+ *
+ * An [EndSession][google.cloud.ces.v1beta.EndSession] signal will be
+ * emitted in case of system errors (e.g. LLM errors).
+ *
+ *
+ * END_SESSION = 3;
+ */
+ END_SESSION(3),
UNRECOGNIZED(-1),
;
@@ -128,7 +139,7 @@ public enum ErrorHandlingStrategy implements com.google.protobuf.ProtocolMessage
*
*
*
- * Unspecified error handling strategy. Defaults to FALLBACK_RESPONSE.
+ * Unspecified error handling strategy.
*
*
* ERROR_HANDLING_STRATEGY_UNSPECIFIED = 0;
@@ -151,13 +162,25 @@ public enum ErrorHandlingStrategy implements com.google.protobuf.ProtocolMessage
*
*
* A fallback message will be returned to the user in case of
- * LLM errors.
+ * system errors (e.g. LLM errors).
*
*
* FALLBACK_RESPONSE = 2;
*/
public static final int FALLBACK_RESPONSE_VALUE = 2;
+ /**
+ *
+ *
+ *
+ * An [EndSession][google.cloud.ces.v1beta.EndSession] signal will be
+ * emitted in case of system errors (e.g. LLM errors).
+ *
+ *
+ * END_SESSION = 3;
+ */
+ public static final int END_SESSION_VALUE = 3;
+
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
@@ -188,6 +211,8 @@ public static ErrorHandlingStrategy forNumber(int value) {
return NONE;
case 2:
return FALLBACK_RESPONSE;
+ case 3:
+ return END_SESSION;
default:
return null;
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholds.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholds.java
index 70a8938c5050..286c9cfc83cf 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholds.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholds.java
@@ -4770,7 +4770,7 @@ public boolean hasGoldenEvaluationMetricsThresholds() {
*
*
* @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior
- * is deprecated. See google/cloud/ces/v1beta/app.proto;l=538
+ * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546
* @return The enum numeric value on the wire for hallucinationMetricBehavior.
*/
@java.lang.Override
@@ -4792,7 +4792,7 @@ public int getHallucinationMetricBehaviorValue() {
*
*
* @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior
- * is deprecated. See google/cloud/ces/v1beta/app.proto;l=538
+ * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546
* @return The hallucinationMetricBehavior.
*/
@java.lang.Override
@@ -5586,7 +5586,7 @@ public Builder clearGoldenEvaluationMetricsThresholds() {
*
*
* @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior
- * is deprecated. See google/cloud/ces/v1beta/app.proto;l=538
+ * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546
* @return The enum numeric value on the wire for hallucinationMetricBehavior.
*/
@java.lang.Override
@@ -5608,7 +5608,7 @@ public int getHallucinationMetricBehaviorValue() {
*
*
* @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior
- * is deprecated. See google/cloud/ces/v1beta/app.proto;l=538
+ * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546
* @param value The enum numeric value on the wire for hallucinationMetricBehavior to set.
* @return This builder for chaining.
*/
@@ -5633,7 +5633,7 @@ public Builder setHallucinationMetricBehaviorValue(int value) {
*
*
* @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior
- * is deprecated. See google/cloud/ces/v1beta/app.proto;l=538
+ * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546
* @return The hallucinationMetricBehavior.
*/
@java.lang.Override
@@ -5662,7 +5662,7 @@ public Builder setHallucinationMetricBehaviorValue(int value) {
*
*
* @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior
- * is deprecated. See google/cloud/ces/v1beta/app.proto;l=538
+ * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546
* @param value The hallucinationMetricBehavior to set.
* @return This builder for chaining.
*/
@@ -5691,7 +5691,7 @@ public Builder setHallucinationMetricBehavior(
*
*
* @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior
- * is deprecated. See google/cloud/ces/v1beta/app.proto;l=538
+ * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholdsOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholdsOrBuilder.java
index 46e81794d684..9220a0d0d71b 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholdsOrBuilder.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholdsOrBuilder.java
@@ -84,7 +84,7 @@ public interface EvaluationMetricsThresholdsOrBuilder
*
*
* @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior
- * is deprecated. See google/cloud/ces/v1beta/app.proto;l=538
+ * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546
* @return The enum numeric value on the wire for hallucinationMetricBehavior.
*/
@java.lang.Deprecated
@@ -103,7 +103,7 @@ public interface EvaluationMetricsThresholdsOrBuilder
*
*
* @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior
- * is deprecated. See google/cloud/ces/v1beta/app.proto;l=538
+ * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546
* @return The hallucinationMetricBehavior.
*/
@java.lang.Deprecated
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportAppRequest.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportAppRequest.java
index 440f7adb4cef..3fb9c28eebcd 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportAppRequest.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportAppRequest.java
@@ -56,6 +56,7 @@ private ExportAppRequest() {
name_ = "";
exportFormat_ = 0;
gcsUri_ = "";
+ appVersion_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -401,6 +402,67 @@ public com.google.protobuf.ByteString getGcsUriBytes() {
}
}
+ public static final int APP_VERSION_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object appVersion_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the app version to export.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
+ *
+ *
+ *
+ * string app_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The appVersion.
+ */
+ @java.lang.Override
+ public java.lang.String getAppVersion() {
+ java.lang.Object ref = appVersion_;
+ 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();
+ appVersion_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the app version to export.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
+ *
+ *
+ *
+ * string app_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for appVersion.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getAppVersionBytes() {
+ java.lang.Object ref = appVersion_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ appVersion_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -426,6 +488,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcsUri_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, gcsUri_);
}
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(appVersion_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 4, appVersion_);
+ }
getUnknownFields().writeTo(output);
}
@@ -446,6 +511,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcsUri_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, gcsUri_);
}
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(appVersion_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(4, appVersion_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -465,6 +533,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getName().equals(other.getName())) return false;
if (exportFormat_ != other.exportFormat_) return false;
if (!getGcsUri().equals(other.getGcsUri())) return false;
+ if (!getAppVersion().equals(other.getAppVersion())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -482,6 +551,8 @@ public int hashCode() {
hash = (53 * hash) + exportFormat_;
hash = (37 * hash) + GCS_URI_FIELD_NUMBER;
hash = (53 * hash) + getGcsUri().hashCode();
+ hash = (37 * hash) + APP_VERSION_FIELD_NUMBER;
+ hash = (53 * hash) + getAppVersion().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -626,6 +697,7 @@ public Builder clear() {
name_ = "";
exportFormat_ = 0;
gcsUri_ = "";
+ appVersion_ = "";
return this;
}
@@ -671,6 +743,9 @@ private void buildPartial0(com.google.cloud.ces.v1beta.ExportAppRequest result)
if (((from_bitField0_ & 0x00000004) != 0)) {
result.gcsUri_ = gcsUri_;
}
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.appVersion_ = appVersion_;
+ }
}
@java.lang.Override
@@ -698,6 +773,11 @@ public Builder mergeFrom(com.google.cloud.ces.v1beta.ExportAppRequest other) {
bitField0_ |= 0x00000004;
onChanged();
}
+ if (!other.getAppVersion().isEmpty()) {
+ appVersion_ = other.appVersion_;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -742,6 +822,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000004;
break;
} // case 26
+ case 34:
+ {
+ appVersion_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1116,6 +1202,137 @@ public Builder setGcsUriBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object appVersion_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the app version to export.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
+ *
+ *
+ *
+ * string app_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The appVersion.
+ */
+ public java.lang.String getAppVersion() {
+ java.lang.Object ref = appVersion_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ appVersion_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the app version to export.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
+ *
+ *
+ *
+ * string app_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for appVersion.
+ */
+ public com.google.protobuf.ByteString getAppVersionBytes() {
+ java.lang.Object ref = appVersion_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ appVersion_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the app version to export.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
+ *
+ *
+ *
+ * string app_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The appVersion to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAppVersion(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ appVersion_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the app version to export.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
+ *
+ *
+ *
+ * string app_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAppVersion() {
+ appVersion_ = getDefaultInstance().getAppVersion();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the app version to export.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
+ *
+ *
+ *
+ * string app_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for appVersion to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAppVersionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ appVersion_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ExportAppRequest)
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportAppRequestOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportAppRequestOrBuilder.java
index b580172fa151..543c4739c720 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportAppRequestOrBuilder.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportAppRequestOrBuilder.java
@@ -117,4 +117,38 @@ public interface ExportAppRequestOrBuilder
* @return The bytes for gcsUri.
*/
com.google.protobuf.ByteString getGcsUriBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the app version to export.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
+ *
+ *
+ *
+ * string app_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The appVersion.
+ */
+ java.lang.String getAppVersion();
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the app version to export.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
+ *
+ *
+ *
+ * string app_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for appVersion.
+ */
+ com.google.protobuf.ByteString getAppVersionBytes();
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateAppResourceResponse.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateAppResourceResponse.java
index f63cc2167032..22277f44deaa 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateAppResourceResponse.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateAppResourceResponse.java
@@ -3991,6 +3991,7 @@ public enum GeneratedResourceCase
TOOLS(5),
EVALUATIONS(6),
APP_RESOURCES(7),
+ QUALITY_REPORT(8),
GENERATEDRESOURCE_NOT_SET(0);
private final int value;
@@ -4022,6 +4023,8 @@ public static GeneratedResourceCase forNumber(int value) {
return EVALUATIONS;
case 7:
return APP_RESOURCES;
+ case 8:
+ return QUALITY_REPORT;
case 0:
return GENERATEDRESOURCE_NOT_SET;
default:
@@ -4380,6 +4383,60 @@ public com.google.cloud.ces.v1beta.GenerateAppResourceResponse.AppResources getA
.getDefaultInstance();
}
+ public static final int QUALITY_REPORT_FIELD_NUMBER = 8;
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ *
+ * @return Whether the qualityReport field is set.
+ */
+ @java.lang.Override
+ public boolean hasQualityReport() {
+ return generatedResourceCase_ == 8;
+ }
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ *
+ * @return The qualityReport.
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.QualityReport getQualityReport() {
+ if (generatedResourceCase_ == 8) {
+ return (com.google.cloud.ces.v1beta.QualityReport) generatedResource_;
+ }
+ return com.google.cloud.ces.v1beta.QualityReport.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.QualityReportOrBuilder getQualityReportOrBuilder() {
+ if (generatedResourceCase_ == 8) {
+ return (com.google.cloud.ces.v1beta.QualityReport) generatedResource_;
+ }
+ return com.google.cloud.ces.v1beta.QualityReport.getDefaultInstance();
+ }
+
public static final int GENERATE_RESULT_INFO_FIELD_NUMBER = 2;
private com.google.cloud.ces.v1beta.GenerateAppResourceResponse.GenerateResultInfo
generateResultInfo_;
@@ -4485,6 +4542,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
(com.google.cloud.ces.v1beta.GenerateAppResourceResponse.AppResources)
generatedResource_);
}
+ if (generatedResourceCase_ == 8) {
+ output.writeMessage(8, (com.google.cloud.ces.v1beta.QualityReport) generatedResource_);
+ }
getUnknownFields().writeTo(output);
}
@@ -4532,6 +4592,11 @@ public int getSerializedSize() {
(com.google.cloud.ces.v1beta.GenerateAppResourceResponse.AppResources)
generatedResource_);
}
+ if (generatedResourceCase_ == 8) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 8, (com.google.cloud.ces.v1beta.QualityReport) generatedResource_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -4572,6 +4637,9 @@ public boolean equals(final java.lang.Object obj) {
case 7:
if (!getAppResources().equals(other.getAppResources())) return false;
break;
+ case 8:
+ if (!getQualityReport().equals(other.getQualityReport())) return false;
+ break;
case 0:
default:
}
@@ -4615,6 +4683,10 @@ public int hashCode() {
hash = (37 * hash) + APP_RESOURCES_FIELD_NUMBER;
hash = (53 * hash) + getAppResources().hashCode();
break;
+ case 8:
+ hash = (37 * hash) + QUALITY_REPORT_FIELD_NUMBER;
+ hash = (53 * hash) + getQualityReport().hashCode();
+ break;
case 0:
default:
}
@@ -4787,6 +4859,9 @@ public Builder clear() {
if (appResourcesBuilder_ != null) {
appResourcesBuilder_.clear();
}
+ if (qualityReportBuilder_ != null) {
+ qualityReportBuilder_.clear();
+ }
generateResultInfo_ = null;
if (generateResultInfoBuilder_ != null) {
generateResultInfoBuilder_.dispose();
@@ -4832,7 +4907,7 @@ public com.google.cloud.ces.v1beta.GenerateAppResourceResponse buildPartial() {
private void buildPartial0(com.google.cloud.ces.v1beta.GenerateAppResourceResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000040) != 0)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
result.generateResultInfo_ =
generateResultInfoBuilder_ == null
? generateResultInfo_
@@ -4864,6 +4939,9 @@ private void buildPartialOneofs(
if (generatedResourceCase_ == 7 && appResourcesBuilder_ != null) {
result.generatedResource_ = appResourcesBuilder_.build();
}
+ if (generatedResourceCase_ == 8 && qualityReportBuilder_ != null) {
+ result.generatedResource_ = qualityReportBuilder_.build();
+ }
}
@java.lang.Override
@@ -4913,6 +4991,11 @@ public Builder mergeFrom(com.google.cloud.ces.v1beta.GenerateAppResourceResponse
mergeAppResources(other.getAppResources());
break;
}
+ case QUALITY_REPORT:
+ {
+ mergeQualityReport(other.getQualityReport());
+ break;
+ }
case GENERATEDRESOURCE_NOT_SET:
{
break;
@@ -4954,7 +5037,7 @@ public Builder mergeFrom(
{
input.readMessage(
internalGetGenerateResultInfoFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
break;
} // case 18
case 26:
@@ -4990,6 +5073,13 @@ public Builder mergeFrom(
generatedResourceCase_ = 7;
break;
} // case 58
+ case 66:
+ {
+ input.readMessage(
+ internalGetQualityReportFieldBuilder().getBuilder(), extensionRegistry);
+ generatedResourceCase_ = 8;
+ break;
+ } // case 66
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -6401,6 +6491,225 @@ public Builder clearAppResources() {
return appResourcesBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.ces.v1beta.QualityReport,
+ com.google.cloud.ces.v1beta.QualityReport.Builder,
+ com.google.cloud.ces.v1beta.QualityReportOrBuilder>
+ qualityReportBuilder_;
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ *
+ * @return Whether the qualityReport field is set.
+ */
+ @java.lang.Override
+ public boolean hasQualityReport() {
+ return generatedResourceCase_ == 8;
+ }
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ *
+ * @return The qualityReport.
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.QualityReport getQualityReport() {
+ if (qualityReportBuilder_ == null) {
+ if (generatedResourceCase_ == 8) {
+ return (com.google.cloud.ces.v1beta.QualityReport) generatedResource_;
+ }
+ return com.google.cloud.ces.v1beta.QualityReport.getDefaultInstance();
+ } else {
+ if (generatedResourceCase_ == 8) {
+ return qualityReportBuilder_.getMessage();
+ }
+ return com.google.cloud.ces.v1beta.QualityReport.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ */
+ public Builder setQualityReport(com.google.cloud.ces.v1beta.QualityReport value) {
+ if (qualityReportBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ generatedResource_ = value;
+ onChanged();
+ } else {
+ qualityReportBuilder_.setMessage(value);
+ }
+ generatedResourceCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ */
+ public Builder setQualityReport(
+ com.google.cloud.ces.v1beta.QualityReport.Builder builderForValue) {
+ if (qualityReportBuilder_ == null) {
+ generatedResource_ = builderForValue.build();
+ onChanged();
+ } else {
+ qualityReportBuilder_.setMessage(builderForValue.build());
+ }
+ generatedResourceCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ */
+ public Builder mergeQualityReport(com.google.cloud.ces.v1beta.QualityReport value) {
+ if (qualityReportBuilder_ == null) {
+ if (generatedResourceCase_ == 8
+ && generatedResource_
+ != com.google.cloud.ces.v1beta.QualityReport.getDefaultInstance()) {
+ generatedResource_ =
+ com.google.cloud.ces.v1beta.QualityReport.newBuilder(
+ (com.google.cloud.ces.v1beta.QualityReport) generatedResource_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ generatedResource_ = value;
+ }
+ onChanged();
+ } else {
+ if (generatedResourceCase_ == 8) {
+ qualityReportBuilder_.mergeFrom(value);
+ } else {
+ qualityReportBuilder_.setMessage(value);
+ }
+ }
+ generatedResourceCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ */
+ public Builder clearQualityReport() {
+ if (qualityReportBuilder_ == null) {
+ if (generatedResourceCase_ == 8) {
+ generatedResourceCase_ = 0;
+ generatedResource_ = null;
+ onChanged();
+ }
+ } else {
+ if (generatedResourceCase_ == 8) {
+ generatedResourceCase_ = 0;
+ generatedResource_ = null;
+ }
+ qualityReportBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.Builder getQualityReportBuilder() {
+ return internalGetQualityReportFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.QualityReportOrBuilder getQualityReportOrBuilder() {
+ if ((generatedResourceCase_ == 8) && (qualityReportBuilder_ != null)) {
+ return qualityReportBuilder_.getMessageOrBuilder();
+ } else {
+ if (generatedResourceCase_ == 8) {
+ return (com.google.cloud.ces.v1beta.QualityReport) generatedResource_;
+ }
+ return com.google.cloud.ces.v1beta.QualityReport.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.ces.v1beta.QualityReport,
+ com.google.cloud.ces.v1beta.QualityReport.Builder,
+ com.google.cloud.ces.v1beta.QualityReportOrBuilder>
+ internalGetQualityReportFieldBuilder() {
+ if (qualityReportBuilder_ == null) {
+ if (!(generatedResourceCase_ == 8)) {
+ generatedResource_ = com.google.cloud.ces.v1beta.QualityReport.getDefaultInstance();
+ }
+ qualityReportBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.ces.v1beta.QualityReport,
+ com.google.cloud.ces.v1beta.QualityReport.Builder,
+ com.google.cloud.ces.v1beta.QualityReportOrBuilder>(
+ (com.google.cloud.ces.v1beta.QualityReport) generatedResource_,
+ getParentForChildren(),
+ isClean());
+ generatedResource_ = null;
+ }
+ generatedResourceCase_ = 8;
+ onChanged();
+ return qualityReportBuilder_;
+ }
+
private com.google.cloud.ces.v1beta.GenerateAppResourceResponse.GenerateResultInfo
generateResultInfo_;
private com.google.protobuf.SingleFieldBuilder<
@@ -6423,7 +6732,7 @@ public Builder clearAppResources() {
* @return Whether the generateResultInfo field is set.
*/
public boolean hasGenerateResultInfo() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
@@ -6472,7 +6781,7 @@ public Builder setGenerateResultInfo(
} else {
generateResultInfoBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -6496,7 +6805,7 @@ public Builder setGenerateResultInfo(
} else {
generateResultInfoBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -6515,7 +6824,7 @@ public Builder setGenerateResultInfo(
public Builder mergeGenerateResultInfo(
com.google.cloud.ces.v1beta.GenerateAppResourceResponse.GenerateResultInfo value) {
if (generateResultInfoBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0)
+ if (((bitField0_ & 0x00000080) != 0)
&& generateResultInfo_ != null
&& generateResultInfo_
!= com.google.cloud.ces.v1beta.GenerateAppResourceResponse.GenerateResultInfo
@@ -6528,7 +6837,7 @@ public Builder mergeGenerateResultInfo(
generateResultInfoBuilder_.mergeFrom(value);
}
if (generateResultInfo_ != null) {
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
}
return this;
@@ -6546,7 +6855,7 @@ public Builder mergeGenerateResultInfo(
*
*/
public Builder clearGenerateResultInfo() {
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000080);
generateResultInfo_ = null;
if (generateResultInfoBuilder_ != null) {
generateResultInfoBuilder_.dispose();
@@ -6569,7 +6878,7 @@ public Builder clearGenerateResultInfo() {
*/
public com.google.cloud.ces.v1beta.GenerateAppResourceResponse.GenerateResultInfo.Builder
getGenerateResultInfoBuilder() {
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return internalGetGenerateResultInfoFieldBuilder().getBuilder();
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateAppResourceResponseOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateAppResourceResponseOrBuilder.java
index 1d1587a2e66d..ecd0b4ce6aa8 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateAppResourceResponseOrBuilder.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateAppResourceResponseOrBuilder.java
@@ -259,6 +259,43 @@ public interface GenerateAppResourceResponseOrBuilder
com.google.cloud.ces.v1beta.GenerateAppResourceResponse.AppResourcesOrBuilder
getAppResourcesOrBuilder();
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ *
+ * @return Whether the qualityReport field is set.
+ */
+ boolean hasQualityReport();
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ *
+ * @return The qualityReport.
+ */
+ com.google.cloud.ces.v1beta.QualityReport getQualityReport();
+
+ /**
+ *
+ *
+ *
+ * The quality report generated by the LLM assistant.
+ *
+ *
+ * .google.cloud.ces.v1beta.QualityReport quality_report = 8;
+ */
+ com.google.cloud.ces.v1beta.QualityReportOrBuilder getQualityReportOrBuilder();
+
/**
*
*
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateChatTokenRequest.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateChatTokenRequest.java
index 60b086a60db2..0a6c0d7e6e72 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateChatTokenRequest.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateChatTokenRequest.java
@@ -248,6 +248,25 @@ public com.google.protobuf.ByteString getRecaptchaTokenBytes() {
}
}
+ public static final int LIVE_HANDOFF_ENABLED_FIELD_NUMBER = 4;
+ private boolean liveHandoffEnabled_ = false;
+
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if live handoff is enabled for the session.
+ *
+ *
+ * bool live_handoff_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The liveHandoffEnabled.
+ */
+ @java.lang.Override
+ public boolean getLiveHandoffEnabled() {
+ return liveHandoffEnabled_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -271,6 +290,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(recaptchaToken_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, recaptchaToken_);
}
+ if (liveHandoffEnabled_ != false) {
+ output.writeBool(4, liveHandoffEnabled_);
+ }
getUnknownFields().writeTo(output);
}
@@ -289,6 +311,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(recaptchaToken_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, recaptchaToken_);
}
+ if (liveHandoffEnabled_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, liveHandoffEnabled_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -308,6 +333,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getName().equals(other.getName())) return false;
if (!getDeployment().equals(other.getDeployment())) return false;
if (!getRecaptchaToken().equals(other.getRecaptchaToken())) return false;
+ if (getLiveHandoffEnabled() != other.getLiveHandoffEnabled()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -325,6 +351,8 @@ public int hashCode() {
hash = (53 * hash) + getDeployment().hashCode();
hash = (37 * hash) + RECAPTCHA_TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getRecaptchaToken().hashCode();
+ hash = (37 * hash) + LIVE_HANDOFF_ENABLED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLiveHandoffEnabled());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -469,6 +497,7 @@ public Builder clear() {
name_ = "";
deployment_ = "";
recaptchaToken_ = "";
+ liveHandoffEnabled_ = false;
return this;
}
@@ -514,6 +543,9 @@ private void buildPartial0(com.google.cloud.ces.v1beta.GenerateChatTokenRequest
if (((from_bitField0_ & 0x00000004) != 0)) {
result.recaptchaToken_ = recaptchaToken_;
}
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.liveHandoffEnabled_ = liveHandoffEnabled_;
+ }
}
@java.lang.Override
@@ -544,6 +576,9 @@ public Builder mergeFrom(com.google.cloud.ces.v1beta.GenerateChatTokenRequest ot
bitField0_ |= 0x00000004;
onChanged();
}
+ if (other.getLiveHandoffEnabled() != false) {
+ setLiveHandoffEnabled(other.getLiveHandoffEnabled());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -588,6 +623,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000004;
break;
} // case 26
+ case 32:
+ {
+ liveHandoffEnabled_ = input.readBool();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -980,6 +1021,62 @@ public Builder setRecaptchaTokenBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private boolean liveHandoffEnabled_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if live handoff is enabled for the session.
+ *
+ *
+ * bool live_handoff_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The liveHandoffEnabled.
+ */
+ @java.lang.Override
+ public boolean getLiveHandoffEnabled() {
+ return liveHandoffEnabled_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if live handoff is enabled for the session.
+ *
+ *
+ * bool live_handoff_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The liveHandoffEnabled to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLiveHandoffEnabled(boolean value) {
+
+ liveHandoffEnabled_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if live handoff is enabled for the session.
+ *
+ *
+ * bool live_handoff_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearLiveHandoffEnabled() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ liveHandoffEnabled_ = false;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.GenerateChatTokenRequest)
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateChatTokenRequestOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateChatTokenRequestOrBuilder.java
index 5b959e7147f1..985d63d26244 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateChatTokenRequestOrBuilder.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateChatTokenRequestOrBuilder.java
@@ -119,4 +119,17 @@ public interface GenerateChatTokenRequestOrBuilder
* @return The bytes for recaptchaToken.
*/
com.google.protobuf.ByteString getRecaptchaTokenBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if live handoff is enabled for the session.
+ *
+ *
+ * bool live_handoff_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The liveHandoffEnabled.
+ */
+ boolean getLiveHandoffEnabled();
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GetConversationRequest.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GetConversationRequest.java
index 2ce4b3c156ce..a3270cd85633 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GetConversationRequest.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GetConversationRequest.java
@@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* @deprecated google.cloud.ces.v1beta.GetConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1164
+ * google/cloud/ces/v1beta/agent_service.proto;l=1172
* @return The enum numeric value on the wire for source.
*/
@java.lang.Override
@@ -167,7 +167,7 @@ public int getSourceValue() {
*
*
* @deprecated google.cloud.ces.v1beta.GetConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1164
+ * google/cloud/ces/v1beta/agent_service.proto;l=1172
* @return The source.
*/
@java.lang.Override
@@ -647,7 +647,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* @deprecated google.cloud.ces.v1beta.GetConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1164
+ * google/cloud/ces/v1beta/agent_service.proto;l=1172
* @return The enum numeric value on the wire for source.
*/
@java.lang.Override
@@ -669,7 +669,7 @@ public int getSourceValue() {
*
*
* @deprecated google.cloud.ces.v1beta.GetConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1164
+ * google/cloud/ces/v1beta/agent_service.proto;l=1172
* @param value The enum numeric value on the wire for source to set.
* @return This builder for chaining.
*/
@@ -694,7 +694,7 @@ public Builder setSourceValue(int value) {
*
*
* @deprecated google.cloud.ces.v1beta.GetConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1164
+ * google/cloud/ces/v1beta/agent_service.proto;l=1172
* @return The source.
*/
@java.lang.Override
@@ -718,7 +718,7 @@ public com.google.cloud.ces.v1beta.Conversation.Source getSource() {
*
*
* @deprecated google.cloud.ces.v1beta.GetConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1164
+ * google/cloud/ces/v1beta/agent_service.proto;l=1172
* @param value The source to set.
* @return This builder for chaining.
*/
@@ -746,7 +746,7 @@ public Builder setSource(com.google.cloud.ces.v1beta.Conversation.Source value)
*
*
* @deprecated google.cloud.ces.v1beta.GetConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1164
+ * google/cloud/ces/v1beta/agent_service.proto;l=1172
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GetConversationRequestOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GetConversationRequestOrBuilder.java
index 37bcfaf62c18..7749524d95a9 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GetConversationRequestOrBuilder.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GetConversationRequestOrBuilder.java
@@ -69,7 +69,7 @@ public interface GetConversationRequestOrBuilder
*
*
* @deprecated google.cloud.ces.v1beta.GetConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1164
+ * google/cloud/ces/v1beta/agent_service.proto;l=1172
* @return The enum numeric value on the wire for source.
*/
@java.lang.Deprecated
@@ -88,7 +88,7 @@ public interface GetConversationRequestOrBuilder
*
*
* @deprecated google.cloud.ces.v1beta.GetConversationRequest.source is deprecated. See
- * google/cloud/ces/v1beta/agent_service.proto;l=1164
+ * google/cloud/ces/v1beta/agent_service.proto;l=1172
* @return The source.
*/
@java.lang.Deprecated
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/LanguageSettings.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/LanguageSettings.java
index 84cee981e4ec..b6f33e3fd38c 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/LanguageSettings.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/LanguageSettings.java
@@ -230,8 +230,11 @@ public boolean getEnableMultilingualSupport() {
*
*
*
- * Optional. The action to perform when an agent receives input in an
- * unsupported language.
+ * Optional. Deprecated: This feature is no longer supported. Use
+ * `enable_multilingual_support` instead to improve handling of multilingual
+ * input.
+ * The action to perform when an agent receives input in an unsupported
+ * language.
*
* This can be a predefined action or a custom tool call.
* Valid values are:
@@ -242,11 +245,15 @@ public boolean getEnableMultilingualSupport() {
* terminate the conversation.
*
*
- * string fallback_action = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See
+ * google/cloud/ces/v1beta/app.proto;l=247
* @return The fallbackAction.
*/
@java.lang.Override
+ @java.lang.Deprecated
public java.lang.String getFallbackAction() {
java.lang.Object ref = fallbackAction_;
if (ref instanceof java.lang.String) {
@@ -263,8 +270,11 @@ public java.lang.String getFallbackAction() {
*
*
*
- * Optional. The action to perform when an agent receives input in an
- * unsupported language.
+ * Optional. Deprecated: This feature is no longer supported. Use
+ * `enable_multilingual_support` instead to improve handling of multilingual
+ * input.
+ * The action to perform when an agent receives input in an unsupported
+ * language.
*
* This can be a predefined action or a custom tool call.
* Valid values are:
@@ -275,11 +285,15 @@ public java.lang.String getFallbackAction() {
* terminate the conversation.
*
*
- * string fallback_action = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See
+ * google/cloud/ces/v1beta/app.proto;l=247
* @return The bytes for fallbackAction.
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.protobuf.ByteString getFallbackActionBytes() {
java.lang.Object ref = fallbackAction_;
if (ref instanceof java.lang.String) {
@@ -1065,8 +1079,11 @@ public Builder clearEnableMultilingualSupport() {
*
*
*
- * Optional. The action to perform when an agent receives input in an
- * unsupported language.
+ * Optional. Deprecated: This feature is no longer supported. Use
+ * `enable_multilingual_support` instead to improve handling of multilingual
+ * input.
+ * The action to perform when an agent receives input in an unsupported
+ * language.
*
* This can be a predefined action or a custom tool call.
* Valid values are:
@@ -1077,10 +1094,15 @@ public Builder clearEnableMultilingualSupport() {
* terminate the conversation.
*
*
- * string fallback_action = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See
+ * google/cloud/ces/v1beta/app.proto;l=247
* @return The fallbackAction.
*/
+ @java.lang.Deprecated
public java.lang.String getFallbackAction() {
java.lang.Object ref = fallbackAction_;
if (!(ref instanceof java.lang.String)) {
@@ -1097,8 +1119,11 @@ public java.lang.String getFallbackAction() {
*
*
*
- * Optional. The action to perform when an agent receives input in an
- * unsupported language.
+ * Optional. Deprecated: This feature is no longer supported. Use
+ * `enable_multilingual_support` instead to improve handling of multilingual
+ * input.
+ * The action to perform when an agent receives input in an unsupported
+ * language.
*
* This can be a predefined action or a custom tool call.
* Valid values are:
@@ -1109,10 +1134,15 @@ public java.lang.String getFallbackAction() {
* terminate the conversation.
*
*
- * string fallback_action = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See
+ * google/cloud/ces/v1beta/app.proto;l=247
* @return The bytes for fallbackAction.
*/
+ @java.lang.Deprecated
public com.google.protobuf.ByteString getFallbackActionBytes() {
java.lang.Object ref = fallbackAction_;
if (ref instanceof String) {
@@ -1129,8 +1159,11 @@ public com.google.protobuf.ByteString getFallbackActionBytes() {
*
*
*
- * Optional. The action to perform when an agent receives input in an
- * unsupported language.
+ * Optional. Deprecated: This feature is no longer supported. Use
+ * `enable_multilingual_support` instead to improve handling of multilingual
+ * input.
+ * The action to perform when an agent receives input in an unsupported
+ * language.
*
* This can be a predefined action or a custom tool call.
* Valid values are:
@@ -1141,11 +1174,16 @@ public com.google.protobuf.ByteString getFallbackActionBytes() {
* terminate the conversation.
*
*
- * string fallback_action = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See
+ * google/cloud/ces/v1beta/app.proto;l=247
* @param value The fallbackAction to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setFallbackAction(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
@@ -1160,8 +1198,11 @@ public Builder setFallbackAction(java.lang.String value) {
*
*
*
- * Optional. The action to perform when an agent receives input in an
- * unsupported language.
+ * Optional. Deprecated: This feature is no longer supported. Use
+ * `enable_multilingual_support` instead to improve handling of multilingual
+ * input.
+ * The action to perform when an agent receives input in an unsupported
+ * language.
*
* This can be a predefined action or a custom tool call.
* Valid values are:
@@ -1172,10 +1213,15 @@ public Builder setFallbackAction(java.lang.String value) {
* terminate the conversation.
*
*
- * string fallback_action = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See
+ * google/cloud/ces/v1beta/app.proto;l=247
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder clearFallbackAction() {
fallbackAction_ = getDefaultInstance().getFallbackAction();
bitField0_ = (bitField0_ & ~0x00000008);
@@ -1187,8 +1233,11 @@ public Builder clearFallbackAction() {
*
*
*
- * Optional. The action to perform when an agent receives input in an
- * unsupported language.
+ * Optional. Deprecated: This feature is no longer supported. Use
+ * `enable_multilingual_support` instead to improve handling of multilingual
+ * input.
+ * The action to perform when an agent receives input in an unsupported
+ * language.
*
* This can be a predefined action or a custom tool call.
* Valid values are:
@@ -1199,11 +1248,16 @@ public Builder clearFallbackAction() {
* terminate the conversation.
*
*
- * string fallback_action = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See
+ * google/cloud/ces/v1beta/app.proto;l=247
* @param value The bytes for fallbackAction to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setFallbackActionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/LanguageSettingsOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/LanguageSettingsOrBuilder.java
index 96e3953df299..cef52839839d 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/LanguageSettingsOrBuilder.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/LanguageSettingsOrBuilder.java
@@ -132,8 +132,11 @@ public interface LanguageSettingsOrBuilder
*
*
*
- * Optional. The action to perform when an agent receives input in an
- * unsupported language.
+ * Optional. Deprecated: This feature is no longer supported. Use
+ * `enable_multilingual_support` instead to improve handling of multilingual
+ * input.
+ * The action to perform when an agent receives input in an unsupported
+ * language.
*
* This can be a predefined action or a custom tool call.
* Valid values are:
@@ -144,18 +147,25 @@ public interface LanguageSettingsOrBuilder
* terminate the conversation.
*
*
- * string fallback_action = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See
+ * google/cloud/ces/v1beta/app.proto;l=247
* @return The fallbackAction.
*/
+ @java.lang.Deprecated
java.lang.String getFallbackAction();
/**
*
*
*
- * Optional. The action to perform when an agent receives input in an
- * unsupported language.
+ * Optional. Deprecated: This feature is no longer supported. Use
+ * `enable_multilingual_support` instead to improve handling of multilingual
+ * input.
+ * The action to perform when an agent receives input in an unsupported
+ * language.
*
* This can be a predefined action or a custom tool call.
* Valid values are:
@@ -166,9 +176,13 @@ public interface LanguageSettingsOrBuilder
* terminate the conversation.
*
*
- * string fallback_action = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See
+ * google/cloud/ces/v1beta/app.proto;l=247
* @return The bytes for fallbackAction.
*/
+ @java.lang.Deprecated
com.google.protobuf.ByteString getFallbackActionBytes();
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpTool.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpTool.java
index 365927b091e5..742c1e0ebafa 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpTool.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpTool.java
@@ -64,6 +64,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.internal_static_google_cloud_ces_v1beta_McpTool_descriptor;
}
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 9:
+ return internalGetCustomHeaders();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
@@ -557,6 +569,135 @@ public com.google.cloud.ces.v1beta.ServiceDirectoryConfig getServiceDirectoryCon
: serviceDirectoryConfig_;
}
+ public static final int CUSTOM_HEADERS_FIELD_NUMBER = 9;
+
+ private static final class CustomHeadersDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public boolean containsCustomHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetCustomHeaders().getMap().containsKey(key);
+ }
+
+ /** Use {@link #getCustomHeadersMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ java.lang.String getCustomHeadersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.lang.String getCustomHeadersOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public boolean containsCustomHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetCustomHeaders().getMap().containsKey(key);
+ }
+
+ /** Use {@link #getCustomHeadersMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ java.lang.String getCustomHeadersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.lang.String getCustomHeadersOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeCustomHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableCustomHeaders().getMutableMap().remove(key);
+ return this;
+ }
+
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder putCustomHeaders(java.lang.String key, java.lang.String value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableCustomHeaders().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000100;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder putAllCustomHeaders(java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getCustomHeadersCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ boolean containsCustomHeaders(java.lang.String key);
+
+ /** Use {@link #getCustomHeadersMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ /* nullable */
+ java.lang.String getCustomHeadersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue);
+
+ /**
+ *
+ *
+ *
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.lang.String getCustomHeadersOrThrow(java.lang.String key);
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolProto.java
index c62ac8593052..910444198c09 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolProto.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolProto.java
@@ -44,6 +44,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_ces_v1beta_McpTool_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_ces_v1beta_McpTool_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_ces_v1beta_McpTool_CustomHeadersEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_ces_v1beta_McpTool_CustomHeadersEntry_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -58,7 +62,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "eld_behavior.proto\032\"google/cloud/ces/v1b"
+ "eta/auth.proto\032$google/cloud/ces/v1beta/"
+ "common.proto\032$google/cloud/ces/v1beta/sc"
- + "hema.proto\"\256\003\n\007McpTool\022\021\n\004name\030\001 \001(\tB\003\340A"
+ + "hema.proto\"\266\004\n\007McpTool\022\021\n\004name\030\001 \001(\tB\003\340A"
+ "\002\022\030\n\013description\030\002 \001(\tB\003\340A\001\022:\n\014input_sch"
+ "ema\030\003 \001(\0132\037.google.cloud.ces.v1beta.Sche"
+ "maB\003\340A\001\022;\n\routput_schema\030\004 \001(\0132\037.google."
@@ -69,9 +73,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "gle.cloud.ces.v1beta.TlsConfigB\003\340A\001\022V\n\030s"
+ "ervice_directory_config\030\010 \001(\0132/.google.c"
+ "loud.ces.v1beta.ServiceDirectoryConfigB\003"
- + "\340A\001B\\\n\033com.google.cloud.ces.v1betaB\014McpT"
- + "oolProtoP\001Z-cloud.google.com/go/ces/apiv"
- + "1beta/cespb;cespbb\006proto3"
+ + "\340A\001\022P\n\016custom_headers\030\t \003(\01323.google.clo"
+ + "ud.ces.v1beta.McpTool.CustomHeadersEntry"
+ + "B\003\340A\001\0324\n\022CustomHeadersEntry\022\013\n\003key\030\001 \001(\t"
+ + "\022\r\n\005value\030\002 \001(\t:\0028\001B\\\n\033com.google.cloud."
+ + "ces.v1betaB\014McpToolProtoP\001Z-cloud.google"
+ + ".com/go/ces/apiv1beta/cespb;cespbb\006proto"
+ + "3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -95,6 +103,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ApiAuthentication",
"TlsConfig",
"ServiceDirectoryConfig",
+ "CustomHeaders",
+ });
+ internal_static_google_cloud_ces_v1beta_McpTool_CustomHeadersEntry_descriptor =
+ internal_static_google_cloud_ces_v1beta_McpTool_descriptor.getNestedType(0);
+ internal_static_google_cloud_ces_v1beta_McpTool_CustomHeadersEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_ces_v1beta_McpTool_CustomHeadersEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
});
descriptor.resolveAllFeaturesImmutable();
com.google.api.FieldBehaviorProto.getDescriptor();
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolset.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolset.java
index 2b83b88f2c01..bd31ebb2ea30 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolset.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolset.java
@@ -61,6 +61,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.internal_static_google_cloud_ces_v1beta_McpToolset_descriptor;
}
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 5:
+ return internalGetCustomHeaders();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
@@ -328,6 +340,135 @@ public com.google.cloud.ces.v1beta.TlsConfigOrBuilder getTlsConfigOrBuilder() {
: tlsConfig_;
}
+ public static final int CUSTOM_HEADERS_FIELD_NUMBER = 5;
+
+ private static final class CustomHeadersDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public boolean containsCustomHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetCustomHeaders().getMap().containsKey(key);
+ }
+
+ /** Use {@link #getCustomHeadersMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ java.lang.String getCustomHeadersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.lang.String getCustomHeadersOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public boolean containsCustomHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetCustomHeaders().getMap().containsKey(key);
+ }
+
+ /** Use {@link #getCustomHeadersMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ java.lang.String getCustomHeadersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.lang.String getCustomHeadersOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeCustomHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableCustomHeaders().getMutableMap().remove(key);
+ return this;
+ }
+
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder putCustomHeaders(java.lang.String key, java.lang.String value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableCustomHeaders().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder putAllCustomHeaders(java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getCustomHeadersCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ boolean containsCustomHeaders(java.lang.String key);
+
+ /** Use {@link #getCustomHeadersMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.Map
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ /* nullable */
+ java.lang.String getCustomHeadersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue);
+
+ /**
+ *
+ *
+ *
+ * Optional. The custom headers to send in the request to the MCP server. The
+ * values must be in the format `$context.variables.<name_of_variable>` and
+ * can be set in the session variables. See
+ * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection
+ * for more details.
+ *
+ *
+ * map<string, string> custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.lang.String getCustomHeadersOrThrow(java.lang.String key);
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolsetProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolsetProto.java
index 0078f7fb1ea9..1605a70287a6 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolsetProto.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/McpToolsetProto.java
@@ -44,6 +44,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_ces_v1beta_McpToolset_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_ces_v1beta_McpToolset_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_ces_v1beta_McpToolset_CustomHeadersEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_ces_v1beta_McpToolset_CustomHeadersEntry_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -57,16 +61,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "oto\022\027google.cloud.ces.v1beta\032\037google/api"
+ "/field_behavior.proto\032\"google/cloud/ces/"
+ "v1beta/auth.proto\032$google/cloud/ces/v1be"
- + "ta/common.proto\"\213\002\n\nMcpToolset\022\033\n\016server"
+ + "ta/common.proto\"\226\003\n\nMcpToolset\022\033\n\016server"
+ "_address\030\001 \001(\tB\003\340A\002\022K\n\022api_authenticatio"
+ "n\030\002 \001(\0132*.google.cloud.ces.v1beta.ApiAut"
+ "henticationB\003\340A\001\022V\n\030service_directory_co"
+ "nfig\030\003 \001(\0132/.google.cloud.ces.v1beta.Ser"
+ "viceDirectoryConfigB\003\340A\001\022;\n\ntls_config\030\004"
+ " \001(\0132\".google.cloud.ces.v1beta.TlsConfig"
- + "B\003\340A\001B_\n\033com.google.cloud.ces.v1betaB\017Mc"
- + "pToolsetProtoP\001Z-cloud.google.com/go/ces"
- + "/apiv1beta/cespb;cespbb\006proto3"
+ + "B\003\340A\001\022S\n\016custom_headers\030\005 \003(\01326.google.c"
+ + "loud.ces.v1beta.McpToolset.CustomHeaders"
+ + "EntryB\003\340A\001\0324\n\022CustomHeadersEntry\022\013\n\003key\030"
+ + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B_\n\033com.google.c"
+ + "loud.ces.v1betaB\017McpToolsetProtoP\001Z-clou"
+ + "d.google.com/go/ces/apiv1beta/cespb;cesp"
+ + "bb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -82,7 +90,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_ces_v1beta_McpToolset_descriptor,
new java.lang.String[] {
- "ServerAddress", "ApiAuthentication", "ServiceDirectoryConfig", "TlsConfig",
+ "ServerAddress",
+ "ApiAuthentication",
+ "ServiceDirectoryConfig",
+ "TlsConfig",
+ "CustomHeaders",
+ });
+ internal_static_google_cloud_ces_v1beta_McpToolset_CustomHeadersEntry_descriptor =
+ internal_static_google_cloud_ces_v1beta_McpToolset_descriptor.getNestedType(0);
+ internal_static_google_cloud_ces_v1beta_McpToolset_CustomHeadersEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_ces_v1beta_McpToolset_CustomHeadersEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
});
descriptor.resolveAllFeaturesImmutable();
com.google.api.FieldBehaviorProto.getDescriptor();
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/QualityReport.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/QualityReport.java
new file mode 100644
index 000000000000..f2d683aad576
--- /dev/null
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/QualityReport.java
@@ -0,0 +1,4061 @@
+/*
+ * Copyright 2026 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/ces/v1beta/agent_service.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.ces.v1beta;
+
+/**
+ *
+ *
+ *
+ * The report describing any identified quality issues in the app.
+ *
+ *
+ * Protobuf type {@code google.cloud.ces.v1beta.QualityReport}
+ */
+@com.google.protobuf.Generated
+public final class QualityReport extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.QualityReport)
+ QualityReportOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "QualityReport");
+ }
+
+ // Use QualityReport.newBuilder() to construct.
+ private QualityReport(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private QualityReport() {
+ issues_ = java.util.Collections.emptyList();
+ evaluationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ generalIssues_ = java.util.Collections.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.ces.v1beta.AgentServiceProto
+ .internal_static_google_cloud_ces_v1beta_QualityReport_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.ces.v1beta.AgentServiceProto
+ .internal_static_google_cloud_ces_v1beta_QualityReport_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.ces.v1beta.QualityReport.class,
+ com.google.cloud.ces.v1beta.QualityReport.Builder.class);
+ }
+
+ public interface IssueOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.QualityReport.Issue)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Optional. Description of the issue found.
+ *
+ *
+ * string description = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The description.
+ */
+ java.lang.String getDescription();
+
+ /**
+ *
+ *
+ *
+ * Optional. Description of the issue found.
+ *
+ *
+ * string description = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for description.
+ */
+ com.google.protobuf.ByteString getDescriptionBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. How many times this issue occurred.
+ *
+ *
+ * int32 occurrence_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The occurrenceCount.
+ */
+ int getOccurrenceCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. Proposed solution to fix the issue by modifying instructions or
+ * tools.
+ *
+ *
+ * string proposed_solution = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The proposedSolution.
+ */
+ java.lang.String getProposedSolution();
+
+ /**
+ *
+ *
+ *
+ * Optional. Proposed solution to fix the issue by modifying instructions or
+ * tools.
+ *
+ *
+ * string proposed_solution = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for proposedSolution.
+ */
+ com.google.protobuf.ByteString getProposedSolutionBytes();
+ }
+
+ /**
+ *
+ *
+ *
+ * The issue identified.
+ *
+ *
+ * Protobuf type {@code google.cloud.ces.v1beta.QualityReport.Issue}
+ */
+ public static final class Issue extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.QualityReport.Issue)
+ IssueOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "Issue");
+ }
+
+ // Use Issue.newBuilder() to construct.
+ private Issue(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private Issue() {
+ description_ = "";
+ proposedSolution_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.ces.v1beta.AgentServiceProto
+ .internal_static_google_cloud_ces_v1beta_QualityReport_Issue_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.ces.v1beta.AgentServiceProto
+ .internal_static_google_cloud_ces_v1beta_QualityReport_Issue_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.ces.v1beta.QualityReport.Issue.class,
+ com.google.cloud.ces.v1beta.QualityReport.Issue.Builder.class);
+ }
+
+ public static final int DESCRIPTION_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object description_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. Description of the issue found.
+ *
+ *
+ * string description = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The description.
+ */
+ @java.lang.Override
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Description of the issue found.
+ *
+ *
+ * string description = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for description.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int OCCURRENCE_COUNT_FIELD_NUMBER = 2;
+ private int occurrenceCount_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. How many times this issue occurred.
+ *
+ *
+ * int32 occurrence_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The occurrenceCount.
+ */
+ @java.lang.Override
+ public int getOccurrenceCount() {
+ return occurrenceCount_;
+ }
+
+ public static final int PROPOSED_SOLUTION_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object proposedSolution_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. Proposed solution to fix the issue by modifying instructions or
+ * tools.
+ *
+ *
+ * string proposed_solution = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The proposedSolution.
+ */
+ @java.lang.Override
+ public java.lang.String getProposedSolution() {
+ java.lang.Object ref = proposedSolution_;
+ 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();
+ proposedSolution_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Proposed solution to fix the issue by modifying instructions or
+ * tools.
+ *
+ *
+ * string proposed_solution = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for proposedSolution.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getProposedSolutionBytes() {
+ java.lang.Object ref = proposedSolution_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ proposedSolution_ = 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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, description_);
+ }
+ if (occurrenceCount_ != 0) {
+ output.writeInt32(2, occurrenceCount_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(proposedSolution_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, proposedSolution_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, description_);
+ }
+ if (occurrenceCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, occurrenceCount_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(proposedSolution_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, proposedSolution_);
+ }
+ size += getUnknownFields().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.ces.v1beta.QualityReport.Issue)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.ces.v1beta.QualityReport.Issue other =
+ (com.google.cloud.ces.v1beta.QualityReport.Issue) obj;
+
+ if (!getDescription().equals(other.getDescription())) return false;
+ if (getOccurrenceCount() != other.getOccurrenceCount()) return false;
+ if (!getProposedSolution().equals(other.getProposedSolution())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + DESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getDescription().hashCode();
+ hash = (37 * hash) + OCCURRENCE_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getOccurrenceCount();
+ hash = (37 * hash) + PROPOSED_SOLUTION_FIELD_NUMBER;
+ hash = (53 * hash) + getProposedSolution().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue 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.ces.v1beta.QualityReport.Issue parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue 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.ces.v1beta.QualityReport.Issue parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.ces.v1beta.QualityReport.Issue 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * The issue identified.
+ *
+ *
+ * Protobuf type {@code google.cloud.ces.v1beta.QualityReport.Issue}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Optional. Description of the issue found.
+ *
+ *
+ * string description = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The description.
+ */
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Description of the issue found.
+ *
+ *
+ * string description = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for description.
+ */
+ public com.google.protobuf.ByteString getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Description of the issue found.
+ *
+ *
+ * string description = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDescription(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ description_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Description of the issue found.
+ *
+ *
+ * string description = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDescription() {
+ description_ = getDefaultInstance().getDescription();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Description of the issue found.
+ *
+ *
+ * string description = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ description_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private int occurrenceCount_;
+
+ /**
+ *
+ *
+ *
+ * Optional. How many times this issue occurred.
+ *
+ *
+ * int32 occurrence_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The occurrenceCount.
+ */
+ @java.lang.Override
+ public int getOccurrenceCount() {
+ return occurrenceCount_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. How many times this issue occurred.
+ *
+ *
+ * int32 occurrence_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The occurrenceCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOccurrenceCount(int value) {
+
+ occurrenceCount_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. How many times this issue occurred.
+ *
+ *
+ * int32 occurrence_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearOccurrenceCount() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ occurrenceCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object proposedSolution_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. Proposed solution to fix the issue by modifying instructions or
+ * tools.
+ *
+ *
+ * string proposed_solution = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The proposedSolution.
+ */
+ public java.lang.String getProposedSolution() {
+ java.lang.Object ref = proposedSolution_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ proposedSolution_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Proposed solution to fix the issue by modifying instructions or
+ * tools.
+ *
+ *
+ * string proposed_solution = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for proposedSolution.
+ */
+ public com.google.protobuf.ByteString getProposedSolutionBytes() {
+ java.lang.Object ref = proposedSolution_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ proposedSolution_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Proposed solution to fix the issue by modifying instructions or
+ * tools.
+ *
+ *
+ * string proposed_solution = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The proposedSolution to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProposedSolution(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ proposedSolution_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Proposed solution to fix the issue by modifying instructions or
+ * tools.
+ *
+ *
+ * string proposed_solution = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearProposedSolution() {
+ proposedSolution_ = getDefaultInstance().getProposedSolution();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Proposed solution to fix the issue by modifying instructions or
+ * tools.
+ *
+ *
+ * string proposed_solution = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for proposedSolution to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProposedSolutionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ proposedSolution_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.QualityReport.Issue)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.QualityReport.Issue)
+ private static final com.google.cloud.ces.v1beta.QualityReport.Issue DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.ces.v1beta.QualityReport.Issue();
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.Issue getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Optional. The name of the agent to which the issues are related.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
+ *
+ *
+ * string agent = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The agent.
+ */
+ java.lang.String getAgent();
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the agent to which the issues are related.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
+ *
+ *
+ * string agent = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for agent.
+ */
+ com.google.protobuf.ByteString getAgentBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.ces.v1beta.QualityReport.Issue getIssues(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getIssuesCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List extends com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder>
+ getIssuesOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder getIssuesOrBuilder(int index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Issues identified for a single agent.
+ *
+ *
+ * Protobuf type {@code google.cloud.ces.v1beta.QualityReport.AgentIssues}
+ */
+ public static final class AgentIssues extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.QualityReport.AgentIssues)
+ AgentIssuesOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "AgentIssues");
+ }
+
+ // Use AgentIssues.newBuilder() to construct.
+ private AgentIssues(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private AgentIssues() {
+ agent_ = "";
+ issues_ = java.util.Collections.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.ces.v1beta.AgentServiceProto
+ .internal_static_google_cloud_ces_v1beta_QualityReport_AgentIssues_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.ces.v1beta.AgentServiceProto
+ .internal_static_google_cloud_ces_v1beta_QualityReport_AgentIssues_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.ces.v1beta.QualityReport.AgentIssues.class,
+ com.google.cloud.ces.v1beta.QualityReport.AgentIssues.Builder.class);
+ }
+
+ public static final int AGENT_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object agent_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the agent to which the issues are related.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
+ *
+ *
+ * string agent = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The agent.
+ */
+ @java.lang.Override
+ public java.lang.String getAgent() {
+ java.lang.Object ref = agent_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ agent_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the agent to which the issues are related.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
+ *
+ *
+ * string agent = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for agent.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getAgentBytes() {
+ java.lang.Object ref = agent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ agent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ISSUES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder>
+ getIssuesOrBuilderList() {
+ return issues_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getIssuesCount() {
+ return issues_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.QualityReport.Issue getIssues(int index) {
+ return issues_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder getIssuesOrBuilder(int index) {
+ return issues_.get(index);
+ }
+
+ 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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(agent_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, agent_);
+ }
+ for (int i = 0; i < issues_.size(); i++) {
+ output.writeMessage(2, issues_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(agent_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, agent_);
+ }
+ for (int i = 0; i < issues_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, issues_.get(i));
+ }
+ size += getUnknownFields().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.ces.v1beta.QualityReport.AgentIssues)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.ces.v1beta.QualityReport.AgentIssues other =
+ (com.google.cloud.ces.v1beta.QualityReport.AgentIssues) obj;
+
+ if (!getAgent().equals(other.getAgent())) return false;
+ if (!getIssuesList().equals(other.getIssuesList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + AGENT_FIELD_NUMBER;
+ hash = (53 * hash) + getAgent().hashCode();
+ if (getIssuesCount() > 0) {
+ hash = (37 * hash) + ISSUES_FIELD_NUMBER;
+ hash = (53 * hash) + getIssuesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.AgentIssues parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.AgentIssues 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.ces.v1beta.QualityReport.AgentIssues parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.AgentIssues 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.ces.v1beta.QualityReport.AgentIssues parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.AgentIssues parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.AgentIssues parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.AgentIssues parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.AgentIssues parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.AgentIssues parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.AgentIssues parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport.AgentIssues parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.ces.v1beta.QualityReport.AgentIssues 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Issues identified for a single agent.
+ *
+ *
+ * Protobuf type {@code google.cloud.ces.v1beta.QualityReport.AgentIssues}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Optional. The name of the agent to which the issues are related.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
+ *
+ *
+ * string agent = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The agent.
+ */
+ public java.lang.String getAgent() {
+ java.lang.Object ref = agent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ agent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the agent to which the issues are related.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
+ *
+ *
+ * string agent = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for agent.
+ */
+ public com.google.protobuf.ByteString getAgentBytes() {
+ java.lang.Object ref = agent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ agent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the agent to which the issues are related.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
+ *
+ *
+ * string agent = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The agent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAgent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ agent_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the agent to which the issues are related.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
+ *
+ *
+ * string agent = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAgent() {
+ agent_ = getDefaultInstance().getAgent();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the agent to which the issues are related.
+ * Format:
+ * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
+ *
+ *
+ * string agent = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for agent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAgentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ agent_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getIssuesCount() {
+ if (issuesBuilder_ == null) {
+ return issues_.size();
+ } else {
+ return issuesBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.Issue getIssues(int index) {
+ if (issuesBuilder_ == null) {
+ return issues_.get(index);
+ } else {
+ return issuesBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setIssues(int index, com.google.cloud.ces.v1beta.QualityReport.Issue value) {
+ if (issuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssuesIsMutable();
+ issues_.set(index, value);
+ onChanged();
+ } else {
+ issuesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setIssues(
+ int index, com.google.cloud.ces.v1beta.QualityReport.Issue.Builder builderForValue) {
+ if (issuesBuilder_ == null) {
+ ensureIssuesIsMutable();
+ issues_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ issuesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIssues(com.google.cloud.ces.v1beta.QualityReport.Issue value) {
+ if (issuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssuesIsMutable();
+ issues_.add(value);
+ onChanged();
+ } else {
+ issuesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIssues(int index, com.google.cloud.ces.v1beta.QualityReport.Issue value) {
+ if (issuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssuesIsMutable();
+ issues_.add(index, value);
+ onChanged();
+ } else {
+ issuesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIssues(
+ com.google.cloud.ces.v1beta.QualityReport.Issue.Builder builderForValue) {
+ if (issuesBuilder_ == null) {
+ ensureIssuesIsMutable();
+ issues_.add(builderForValue.build());
+ onChanged();
+ } else {
+ issuesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIssues(
+ int index, com.google.cloud.ces.v1beta.QualityReport.Issue.Builder builderForValue) {
+ if (issuesBuilder_ == null) {
+ ensureIssuesIsMutable();
+ issues_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ issuesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllIssues(
+ java.lang.Iterable extends com.google.cloud.ces.v1beta.QualityReport.Issue> values) {
+ if (issuesBuilder_ == null) {
+ ensureIssuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issues_);
+ onChanged();
+ } else {
+ issuesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearIssues() {
+ if (issuesBuilder_ == null) {
+ issues_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ issuesBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeIssues(int index) {
+ if (issuesBuilder_ == null) {
+ ensureIssuesIsMutable();
+ issues_.remove(index);
+ onChanged();
+ } else {
+ issuesBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.Issue.Builder getIssuesBuilder(int index) {
+ return internalGetIssuesFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder getIssuesOrBuilder(
+ int index) {
+ if (issuesBuilder_ == null) {
+ return issues_.get(index);
+ } else {
+ return issuesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List extends com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder>
+ getIssuesOrBuilderList() {
+ if (issuesBuilder_ != null) {
+ return issuesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(issues_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.Issue.Builder addIssuesBuilder() {
+ return internalGetIssuesFieldBuilder()
+ .addBuilder(com.google.cloud.ces.v1beta.QualityReport.Issue.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.Issue.Builder addIssuesBuilder(int index) {
+ return internalGetIssuesFieldBuilder()
+ .addBuilder(
+ index, com.google.cloud.ces.v1beta.QualityReport.Issue.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. List of issues found for this agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue issues = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.ces.v1beta.QualityReport.AgentIssuesOrBuilder>
+ getIssuesOrBuilderList() {
+ return issues_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getIssuesCount() {
+ return issues_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.QualityReport.AgentIssues getIssues(int index) {
+ return issues_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.QualityReport.AgentIssuesOrBuilder getIssuesOrBuilder(
+ int index) {
+ return issues_.get(index);
+ }
+
+ public static final int EVALUATION_RUNS_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.LazyStringArrayList evaluationRuns_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return A list containing the evaluationRuns.
+ */
+ public com.google.protobuf.ProtocolStringList getEvaluationRunsList() {
+ return evaluationRuns_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The count of evaluationRuns.
+ */
+ public int getEvaluationRunsCount() {
+ return evaluationRuns_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the element to return.
+ * @return The evaluationRuns at the given index.
+ */
+ public java.lang.String getEvaluationRuns(int index) {
+ return evaluationRuns_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the evaluationRuns at the given index.
+ */
+ public com.google.protobuf.ByteString getEvaluationRunsBytes(int index) {
+ return evaluationRuns_.getByteString(index);
+ }
+
+ public static final int GENERAL_ISSUES_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder>
+ getGeneralIssuesOrBuilderList() {
+ return generalIssues_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getGeneralIssuesCount() {
+ return generalIssues_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.QualityReport.Issue getGeneralIssues(int index) {
+ return generalIssues_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder getGeneralIssuesOrBuilder(
+ int index) {
+ return generalIssues_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < issues_.size(); i++) {
+ output.writeMessage(1, issues_.get(i));
+ }
+ for (int i = 0; i < evaluationRuns_.size(); i++) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, evaluationRuns_.getRaw(i));
+ }
+ for (int i = 0; i < generalIssues_.size(); i++) {
+ output.writeMessage(3, generalIssues_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < issues_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, issues_.get(i));
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < evaluationRuns_.size(); i++) {
+ dataSize += computeStringSizeNoTag(evaluationRuns_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getEvaluationRunsList().size();
+ }
+ for (int i = 0; i < generalIssues_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, generalIssues_.get(i));
+ }
+ size += getUnknownFields().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.ces.v1beta.QualityReport)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.ces.v1beta.QualityReport other =
+ (com.google.cloud.ces.v1beta.QualityReport) obj;
+
+ if (!getIssuesList().equals(other.getIssuesList())) return false;
+ if (!getEvaluationRunsList().equals(other.getEvaluationRunsList())) return false;
+ if (!getGeneralIssuesList().equals(other.getGeneralIssuesList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getIssuesCount() > 0) {
+ hash = (37 * hash) + ISSUES_FIELD_NUMBER;
+ hash = (53 * hash) + getIssuesList().hashCode();
+ }
+ if (getEvaluationRunsCount() > 0) {
+ hash = (37 * hash) + EVALUATION_RUNS_FIELD_NUMBER;
+ hash = (53 * hash) + getEvaluationRunsList().hashCode();
+ }
+ if (getGeneralIssuesCount() > 0) {
+ hash = (37 * hash) + GENERAL_ISSUES_FIELD_NUMBER;
+ hash = (53 * hash) + getGeneralIssuesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport 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.ces.v1beta.QualityReport parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport 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.ces.v1beta.QualityReport parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.ces.v1beta.QualityReport parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.ces.v1beta.QualityReport 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * The report describing any identified quality issues in the app.
+ *
+ *
+ * Protobuf type {@code google.cloud.ces.v1beta.QualityReport}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getIssuesCount() {
+ if (issuesBuilder_ == null) {
+ return issues_.size();
+ } else {
+ return issuesBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.AgentIssues getIssues(int index) {
+ if (issuesBuilder_ == null) {
+ return issues_.get(index);
+ } else {
+ return issuesBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setIssues(
+ int index, com.google.cloud.ces.v1beta.QualityReport.AgentIssues value) {
+ if (issuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssuesIsMutable();
+ issues_.set(index, value);
+ onChanged();
+ } else {
+ issuesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setIssues(
+ int index, com.google.cloud.ces.v1beta.QualityReport.AgentIssues.Builder builderForValue) {
+ if (issuesBuilder_ == null) {
+ ensureIssuesIsMutable();
+ issues_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ issuesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIssues(com.google.cloud.ces.v1beta.QualityReport.AgentIssues value) {
+ if (issuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssuesIsMutable();
+ issues_.add(value);
+ onChanged();
+ } else {
+ issuesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIssues(
+ int index, com.google.cloud.ces.v1beta.QualityReport.AgentIssues value) {
+ if (issuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssuesIsMutable();
+ issues_.add(index, value);
+ onChanged();
+ } else {
+ issuesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIssues(
+ com.google.cloud.ces.v1beta.QualityReport.AgentIssues.Builder builderForValue) {
+ if (issuesBuilder_ == null) {
+ ensureIssuesIsMutable();
+ issues_.add(builderForValue.build());
+ onChanged();
+ } else {
+ issuesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIssues(
+ int index, com.google.cloud.ces.v1beta.QualityReport.AgentIssues.Builder builderForValue) {
+ if (issuesBuilder_ == null) {
+ ensureIssuesIsMutable();
+ issues_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ issuesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllIssues(
+ java.lang.Iterable extends com.google.cloud.ces.v1beta.QualityReport.AgentIssues>
+ values) {
+ if (issuesBuilder_ == null) {
+ ensureIssuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issues_);
+ onChanged();
+ } else {
+ issuesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearIssues() {
+ if (issuesBuilder_ == null) {
+ issues_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ issuesBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeIssues(int index) {
+ if (issuesBuilder_ == null) {
+ ensureIssuesIsMutable();
+ issues_.remove(index);
+ onChanged();
+ } else {
+ issuesBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.AgentIssues.Builder getIssuesBuilder(
+ int index) {
+ return internalGetIssuesFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.AgentIssuesOrBuilder getIssuesOrBuilder(
+ int index) {
+ if (issuesBuilder_ == null) {
+ return issues_.get(index);
+ } else {
+ return issuesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List extends com.google.cloud.ces.v1beta.QualityReport.AgentIssuesOrBuilder>
+ getIssuesOrBuilderList() {
+ if (issuesBuilder_ != null) {
+ return issuesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(issues_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.AgentIssues.Builder addIssuesBuilder() {
+ return internalGetIssuesFieldBuilder()
+ .addBuilder(com.google.cloud.ces.v1beta.QualityReport.AgentIssues.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.AgentIssues.Builder addIssuesBuilder(
+ int index) {
+ return internalGetIssuesFieldBuilder()
+ .addBuilder(
+ index, com.google.cloud.ces.v1beta.QualityReport.AgentIssues.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return A list containing the evaluationRuns.
+ */
+ public com.google.protobuf.ProtocolStringList getEvaluationRunsList() {
+ evaluationRuns_.makeImmutable();
+ return evaluationRuns_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The count of evaluationRuns.
+ */
+ public int getEvaluationRunsCount() {
+ return evaluationRuns_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the element to return.
+ * @return The evaluationRuns at the given index.
+ */
+ public java.lang.String getEvaluationRuns(int index) {
+ return evaluationRuns_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the evaluationRuns at the given index.
+ */
+ public com.google.protobuf.ByteString getEvaluationRunsBytes(int index) {
+ return evaluationRuns_.getByteString(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index to set the value at.
+ * @param value The evaluationRuns to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEvaluationRuns(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEvaluationRunsIsMutable();
+ evaluationRuns_.set(index, value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The evaluationRuns to add.
+ * @return This builder for chaining.
+ */
+ public Builder addEvaluationRuns(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEvaluationRunsIsMutable();
+ evaluationRuns_.add(value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param values The evaluationRuns to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllEvaluationRuns(java.lang.Iterable
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEvaluationRuns() {
+ evaluationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ ;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes of the evaluationRuns to add.
+ * @return This builder for chaining.
+ */
+ public Builder addEvaluationRunsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureEvaluationRunsIsMutable();
+ evaluationRuns_.add(value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getGeneralIssuesCount() {
+ if (generalIssuesBuilder_ == null) {
+ return generalIssues_.size();
+ } else {
+ return generalIssuesBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.Issue getGeneralIssues(int index) {
+ if (generalIssuesBuilder_ == null) {
+ return generalIssues_.get(index);
+ } else {
+ return generalIssuesBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setGeneralIssues(
+ int index, com.google.cloud.ces.v1beta.QualityReport.Issue value) {
+ if (generalIssuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGeneralIssuesIsMutable();
+ generalIssues_.set(index, value);
+ onChanged();
+ } else {
+ generalIssuesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setGeneralIssues(
+ int index, com.google.cloud.ces.v1beta.QualityReport.Issue.Builder builderForValue) {
+ if (generalIssuesBuilder_ == null) {
+ ensureGeneralIssuesIsMutable();
+ generalIssues_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ generalIssuesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addGeneralIssues(com.google.cloud.ces.v1beta.QualityReport.Issue value) {
+ if (generalIssuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGeneralIssuesIsMutable();
+ generalIssues_.add(value);
+ onChanged();
+ } else {
+ generalIssuesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addGeneralIssues(
+ int index, com.google.cloud.ces.v1beta.QualityReport.Issue value) {
+ if (generalIssuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGeneralIssuesIsMutable();
+ generalIssues_.add(index, value);
+ onChanged();
+ } else {
+ generalIssuesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addGeneralIssues(
+ com.google.cloud.ces.v1beta.QualityReport.Issue.Builder builderForValue) {
+ if (generalIssuesBuilder_ == null) {
+ ensureGeneralIssuesIsMutable();
+ generalIssues_.add(builderForValue.build());
+ onChanged();
+ } else {
+ generalIssuesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addGeneralIssues(
+ int index, com.google.cloud.ces.v1beta.QualityReport.Issue.Builder builderForValue) {
+ if (generalIssuesBuilder_ == null) {
+ ensureGeneralIssuesIsMutable();
+ generalIssues_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ generalIssuesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllGeneralIssues(
+ java.lang.Iterable extends com.google.cloud.ces.v1beta.QualityReport.Issue> values) {
+ if (generalIssuesBuilder_ == null) {
+ ensureGeneralIssuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, generalIssues_);
+ onChanged();
+ } else {
+ generalIssuesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearGeneralIssues() {
+ if (generalIssuesBuilder_ == null) {
+ generalIssues_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ generalIssuesBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeGeneralIssues(int index) {
+ if (generalIssuesBuilder_ == null) {
+ ensureGeneralIssuesIsMutable();
+ generalIssues_.remove(index);
+ onChanged();
+ } else {
+ generalIssuesBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.Issue.Builder getGeneralIssuesBuilder(
+ int index) {
+ return internalGetGeneralIssuesFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder getGeneralIssuesOrBuilder(
+ int index) {
+ if (generalIssuesBuilder_ == null) {
+ return generalIssues_.get(index);
+ } else {
+ return generalIssuesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List extends com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder>
+ getGeneralIssuesOrBuilderList() {
+ if (generalIssuesBuilder_ != null) {
+ return generalIssuesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(generalIssues_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.Issue.Builder addGeneralIssuesBuilder() {
+ return internalGetGeneralIssuesFieldBuilder()
+ .addBuilder(com.google.cloud.ces.v1beta.QualityReport.Issue.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.QualityReport.Issue.Builder addGeneralIssuesBuilder(
+ int index) {
+ return internalGetGeneralIssuesFieldBuilder()
+ .addBuilder(index, com.google.cloud.ces.v1beta.QualityReport.Issue.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.ces.v1beta.QualityReport.AgentIssues getIssues(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getIssuesCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List extends com.google.cloud.ces.v1beta.QualityReport.AgentIssuesOrBuilder>
+ getIssuesOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Optional. The issues grouped by agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.AgentIssues issues = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.ces.v1beta.QualityReport.AgentIssuesOrBuilder getIssuesOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return A list containing the evaluationRuns.
+ */
+ java.util.List
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The count of evaluationRuns.
+ */
+ int getEvaluationRunsCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the element to return.
+ * @return The evaluationRuns at the given index.
+ */
+ java.lang.String getEvaluationRuns(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of evaluation runs used to generate the quality report.
+ * Format:
+ * `projects/{project}/locations/{location}/evaluationRuns/{evaluationRun}`.
+ *
+ *
+ * repeated string evaluation_runs = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the evaluationRuns at the given index.
+ */
+ com.google.protobuf.ByteString getEvaluationRunsBytes(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.ces.v1beta.QualityReport.Issue getGeneralIssues(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getGeneralIssuesCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List extends com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder>
+ getGeneralIssuesOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Optional. General issues not specific to any agent.
+ *
+ *
+ *
+ * repeated .google.cloud.ces.v1beta.QualityReport.Issue general_issues = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.ces.v1beta.QualityReport.IssueOrBuilder getGeneralIssuesOrBuilder(int index);
+}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/RunEvaluationOperationMetadata.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/RunEvaluationOperationMetadata.java
index d0c230c38a22..cb4199665092 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/RunEvaluationOperationMetadata.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/RunEvaluationOperationMetadata.java
@@ -25,7 +25,7 @@
*
*
* Operation metadata for
- * [EvaluationService.RunEvaluation][google.cloud.ces.v1beta.EvaluationService.RunEvaluation]
+ * [EvaluationService.RunEvaluation][google.cloud.ces.v1beta.EvaluationService.RunEvaluation].
*
*
* Protobuf type {@code google.cloud.ces.v1beta.RunEvaluationOperationMetadata}
@@ -627,7 +627,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
* Operation metadata for
- * [EvaluationService.RunEvaluation][google.cloud.ces.v1beta.EvaluationService.RunEvaluation]
+ * [EvaluationService.RunEvaluation][google.cloud.ces.v1beta.EvaluationService.RunEvaluation].
*
*
* Protobuf type {@code google.cloud.ces.v1beta.RunEvaluationOperationMetadata}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionConfig.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionConfig.java
index a8a3e83bfa95..3949ffcd52c5 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionConfig.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionConfig.java
@@ -2233,6 +2233,30 @@ public boolean hasRemoteDialogflowQueryParameters() {
: remoteDialogflowQueryParameters_;
}
+ public static final int ENABLE_TEXT_STREAMING_FIELD_NUMBER = 18;
+ private boolean enableTextStreaming_ = false;
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether to enable streaming text outputs from the model.
+ * By default, text outputs from the model are collected before sending to the
+ * client.
+ * NOTE: This is only supported for text (non-voice) sessions via
+ * [StreamRunSession][google.cloud.ces.v1beta.SessionService.StreamRunSession]
+ * or [BidiRunSession][google.cloud.ces.v1beta.SessionService.BidiRunSession].
+ *
+ *
+ * bool enable_text_streaming = 18 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The enableTextStreaming.
+ */
+ @java.lang.Override
+ public boolean getEnableTextStreaming() {
+ return enableTextStreaming_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -2274,6 +2298,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(15, getRemoteDialogflowQueryParameters());
}
+ if (enableTextStreaming_ != false) {
+ output.writeBool(18, enableTextStreaming_);
+ }
getUnknownFields().writeTo(output);
}
@@ -2313,6 +2340,9 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
15, getRemoteDialogflowQueryParameters());
}
+ if (enableTextStreaming_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(18, enableTextStreaming_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -2349,6 +2379,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getRemoteDialogflowQueryParameters().equals(other.getRemoteDialogflowQueryParameters()))
return false;
}
+ if (getEnableTextStreaming() != other.getEnableTextStreaming()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -2386,6 +2417,8 @@ public int hashCode() {
hash = (37 * hash) + REMOTE_DIALOGFLOW_QUERY_PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getRemoteDialogflowQueryParameters().hashCode();
}
+ hash = (37 * hash) + ENABLE_TEXT_STREAMING_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTextStreaming());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -2565,6 +2598,7 @@ public Builder clear() {
remoteDialogflowQueryParametersBuilder_.dispose();
remoteDialogflowQueryParametersBuilder_ = null;
}
+ enableTextStreaming_ = false;
return this;
}
@@ -2649,6 +2683,9 @@ private void buildPartial0(com.google.cloud.ces.v1beta.SessionConfig result) {
: remoteDialogflowQueryParametersBuilder_.build();
to_bitField0_ |= 0x00000004;
}
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.enableTextStreaming_ = enableTextStreaming_;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -2723,6 +2760,9 @@ public Builder mergeFrom(com.google.cloud.ces.v1beta.SessionConfig other) {
if (other.hasRemoteDialogflowQueryParameters()) {
mergeRemoteDialogflowQueryParameters(other.getRemoteDialogflowQueryParameters());
}
+ if (other.getEnableTextStreaming() != false) {
+ setEnableTextStreaming(other.getEnableTextStreaming());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -2814,6 +2854,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000100;
break;
} // case 122
+ case 144:
+ {
+ enableTextStreaming_ = input.readBool();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 144
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -4586,6 +4632,77 @@ public Builder clearRemoteDialogflowQueryParameters() {
return remoteDialogflowQueryParametersBuilder_;
}
+ private boolean enableTextStreaming_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether to enable streaming text outputs from the model.
+ * By default, text outputs from the model are collected before sending to the
+ * client.
+ * NOTE: This is only supported for text (non-voice) sessions via
+ * [StreamRunSession][google.cloud.ces.v1beta.SessionService.StreamRunSession]
+ * or [BidiRunSession][google.cloud.ces.v1beta.SessionService.BidiRunSession].
+ *
+ *
+ * bool enable_text_streaming = 18 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The enableTextStreaming.
+ */
+ @java.lang.Override
+ public boolean getEnableTextStreaming() {
+ return enableTextStreaming_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether to enable streaming text outputs from the model.
+ * By default, text outputs from the model are collected before sending to the
+ * client.
+ * NOTE: This is only supported for text (non-voice) sessions via
+ * [StreamRunSession][google.cloud.ces.v1beta.SessionService.StreamRunSession]
+ * or [BidiRunSession][google.cloud.ces.v1beta.SessionService.BidiRunSession].
+ *
+ *
+ * bool enable_text_streaming = 18 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The enableTextStreaming to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnableTextStreaming(boolean value) {
+
+ enableTextStreaming_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether to enable streaming text outputs from the model.
+ * By default, text outputs from the model are collected before sending to the
+ * client.
+ * NOTE: This is only supported for text (non-voice) sessions via
+ * [StreamRunSession][google.cloud.ces.v1beta.SessionService.StreamRunSession]
+ * or [BidiRunSession][google.cloud.ces.v1beta.SessionService.BidiRunSession].
+ *
+ *
+ * bool enable_text_streaming = 18 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEnableTextStreaming() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ enableTextStreaming_ = false;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.SessionConfig)
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionConfigOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionConfigOrBuilder.java
index d30e4e79f6fa..52a885542c56 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionConfigOrBuilder.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionConfigOrBuilder.java
@@ -405,4 +405,22 @@ public interface SessionConfigOrBuilder
*/
com.google.cloud.ces.v1beta.SessionConfig.RemoteDialogflowQueryParametersOrBuilder
getRemoteDialogflowQueryParametersOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether to enable streaming text outputs from the model.
+ * By default, text outputs from the model are collected before sending to the
+ * client.
+ * NOTE: This is only supported for text (non-voice) sessions via
+ * [StreamRunSession][google.cloud.ces.v1beta.SessionService.StreamRunSession]
+ * or [BidiRunSession][google.cloud.ces.v1beta.SessionService.BidiRunSession].
+ *
+ *
+ * bool enable_text_streaming = 18 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The enableTextStreaming.
+ */
+ boolean getEnableTextStreaming();
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionServiceProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionServiceProto.java
index aee57a1cb5d1..b1b74f36d304 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionServiceProto.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionServiceProto.java
@@ -149,7 +149,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\021OutputAudioConfig\022C\n"
+ "\016audio_encoding\030\001"
+ " \001(\0162&.google.cloud.ces.v1beta.AudioEncodingB\003\340A\002\022\036\n"
- + "\021sample_rate_hertz\030\002 \001(\005B\003\340A\002\"\335\006\n\r"
+ + "\021sample_rate_hertz\030\002 \001(\005B\003\340A\002\"\201\007\n\r"
+ "SessionConfig\0223\n"
+ "\007session\030\001 \001(\tB\"\340A\002\372A\034\n"
+ "\032ces.googleapis.com/Session\022J\n"
@@ -165,10 +165,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\ttime_zone\030\013 \001(\tB\003\340A\001\022\033\n"
+ "\016use_tool_fakes\030\016 \001(\010B\003\340A\001\022w\n"
+ "\"remote_dialogflow_query_parameters\030\017 \001(\0132F.google.cloud.ces.v1be"
- + "ta.SessionConfig.RemoteDialogflowQueryParametersB\003\340A\001\032\272\002\n"
+ + "ta.SessionConfig.RemoteDialogflowQueryParametersB\003\340A\001\022\"\n"
+ + "\025enable_text_streaming\030\022 \001(\010B\003\340A\001\032\272\002\n"
+ "\037RemoteDialogflowQueryParameters\022x\n"
- + "\017webhook_headers\030\001 \003(\0132Z.google.cloud.ces.v1beta.SessionConfig.Remot"
- + "eDialogflowQueryParameters.WebhookHeadersEntryB\003\340A\001\022-\n"
+ + "\017webhook_headers\030\001 \003(\0132Z.google."
+ + "cloud.ces.v1beta.SessionConfig.RemoteDia"
+ + "logflowQueryParameters.WebhookHeadersEntryB\003\340A\001\022-\n"
+ "\007payload\030\002 \001(\0132\027.google.protobuf.StructB\003\340A\001\0227\n"
+ "\021end_user_metadata\030\003"
+ " \001(\0132\027.google.protobuf.StructB\003\340A\001\0325\n"
@@ -178,14 +180,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\tToolCalls\022:\n\n"
+ "tool_calls\030\001 \003(\0132!.google.cloud.ces.v1beta.ToolCallB\003\340A\001\"S\n\r"
+ "ToolResponses\022B\n"
- + "\016tool_responses\030\001"
- + " \003(\0132%.google.cloud.ces.v1beta.ToolResponseB\003\340A\001\"\210\001\n"
+ + "\016tool_responses\030\001 \003(\013"
+ + "2%.google.cloud.ces.v1beta.ToolResponseB\003\340A\001\"\210\001\n"
+ "\tCitations\022C\n"
- + "\014cited_chunks\030\001"
- + " \003(\0132-.google.cloud.ces.v1beta.Citations.CitedChunk\0326\n\n"
+ + "\014cited_chunks\030\001 \003(\013"
+ + "2-.google.cloud.ces.v1beta.Citations.CitedChunk\0326\n\n"
+ "CitedChunk\022\013\n"
- + "\003uri\030\001 \001(\t\022\r"
- + "\n"
+ + "\003uri\030\001 \001(\t\022\r\n"
+ "\005title\030\002 \001(\t\022\014\n"
+ "\004text\030\003 \001(\t\"\033\n"
+ "\005Event\022\022\n"
@@ -194,8 +195,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004text\030\001 \001(\tB\003\340A\001H\000\022\023\n"
+ "\004dtmf\030\006 \001(\tB\003\340A\001H\000\022\024\n"
+ "\005audio\030\002 \001(\014B\003\340A\001H\000\022E\n"
- + "\016tool_responses\030\003 \001("
- + "\0132&.google.cloud.ces.v1beta.ToolResponsesB\003\340A\001H\000\0224\n"
+ + "\016tool_responses\030\003 \001(\0132&."
+ + "google.cloud.ces.v1beta.ToolResponsesB\003\340A\001H\000\0224\n"
+ "\005image\030\004"
+ " \001(\0132\036.google.cloud.ces.v1beta.ImageB\003\340A\001H\000\0222\n"
+ "\004blob\030\007 \001(\0132\035.google.cloud.ces.v1beta.BlobB\003\340A\001H\000\0221\n"
@@ -215,8 +216,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\007payload\030\013 \001(\0132\027.google.protobuf.StructH\000\022\022\n\n"
+ "turn_index\030\006 \001(\005\022\026\n"
+ "\016turn_completed\030\004 \001(\010\022S\n"
- + "\017diagnostic_info\030\007"
- + " \001(\01325.google.cloud.ces.v1beta.SessionOutput.DiagnosticInfoB\003\340A\001\032v\n"
+ + "\017diagnostic_info\030\007 "
+ + "\001(\01325.google.cloud.ces.v1beta.SessionOutput.DiagnosticInfoB\003\340A\001\032v\n"
+ "\016DiagnosticInfo\0222\n"
+ "\010messages\030\001 \003(\0132 .google.cloud.ces.v1beta.Message\0220\n"
+ "\troot_span\030\003 \001(\0132\035.google.cloud.ces.v1beta.SpanB\r\n"
@@ -229,8 +230,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010metadata\030\001 \001(\0132\027.google.protobuf.StructB\003\340A\001\"\010\n"
+ "\006GoAway\"\214\001\n"
+ "\021RunSessionRequest\022;\n"
- + "\006config\030\001 \001(\0132&"
- + ".google.cloud.ces.v1beta.SessionConfigB\003\340A\002\022:\n"
+ + "\006config\030\001 \001(\0132&.goo"
+ + "gle.cloud.ces.v1beta.SessionConfigB\003\340A\002\022:\n"
+ "\006inputs\030\003 \003(\0132%.google.cloud.ces.v1beta.SessionInputB\003\340A\002\"M\n"
+ "\022RunSessionResponse\0227\n"
+ "\007outputs\030\001 \003(\0132&.google.cloud.ces.v1beta.SessionOutput\"\257\001\n"
@@ -247,8 +248,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ " \001(\0132*.google.cloud.ces.v1beta.RecognitionResultB\003\340A\001H\000\022O\n"
+ "\023interruption_signal\030\003"
+ " \001(\0132+.google.cloud.ces.v1beta.InterruptionSignalB\003\340A\001H\000\022?\n"
- + "\013end_session\030\005 \001("
- + "\0132#.google.cloud.ces.v1beta.EndSessionB\003\340A\001H\000\0227\n"
+ + "\013end_session\030\005 \001(\0132#."
+ + "google.cloud.ces.v1beta.EndSessionB\003\340A\001H\000\0227\n"
+ "\007go_away\030\006"
+ " \001(\0132\037.google.cloud.ces.v1beta.GoAwayB\003\340A\001H\000B\016\n"
+ "\014message_type*R\n\r"
@@ -256,21 +257,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\032AUDIO_ENCODING_UNSPECIFIED\020\000\022\014\n"
+ "\010LINEAR16\020\001\022\t\n"
+ "\005MULAW\020\002\022\010\n"
- + "\004ALAW\020\0032\273\003\n"
+ + "\004ALAW\020\0032\212\005\n"
+ "\016SessionService\022\276\001\n\n"
- + "RunSession\022*.google.cloud.ces.v1beta.RunSessionRequest"
- + "\032+.google.cloud.ces.v1beta.RunSessionRes"
- + "ponse\"W\202\323\344\223\002Q\"L/v1beta/{config.session=p"
- + "rojects/*/locations/*/apps/*/sessions/*}:runSession:\001*\022|\n"
- + "\016BidiRunSession\0221.google.cloud.ces.v1beta.BidiSessionClientMess"
- + "age\0321.google.cloud.ces.v1beta.BidiSessio"
- + "nServerMessage\"\000(\0010\001\032j\312A\022ces.googleapis."
- + "com\322ARhttps://www.googleapis.com/auth/ce"
- + "s,https://www.googleapis.com/auth/cloud-platformB\311\001\n"
- + "\033com.google.cloud.ces.v1beta"
- + "B\023SessionServiceProtoP\001Z-cloud.google.com/go/ces/apiv1beta/cespb;cespb\352Ac\n"
- + "\032ces.googleapis.com/Session\022Eprojects/{project"
- + "}/locations/{location}/apps/{app}/sessions/{session}b\006proto3"
+ + "RunSession\022*.google.cloud.ces.v1beta.RunSessionRequest\032+.g"
+ + "oogle.cloud.ces.v1beta.RunSessionRespons"
+ + "e\"W\202\323\344\223\002Q\"L/v1beta/{config.session=proje"
+ + "cts/*/locations/*/apps/*/sessions/*}:runSession:\001*\022\314\001\n"
+ + "\020StreamRunSession\022*.google.cloud.ces.v1beta.RunSessionRequest\032+.go"
+ + "ogle.cloud.ces.v1beta.RunSessionResponse"
+ + "\"]\202\323\344\223\002W\"R/v1beta/{config.session=projec"
+ + "ts/*/locations/*/apps/*/sessions/*}:streamRunSession:\001*0\001\022|\n"
+ + "\016BidiRunSession\0221.google.cloud.ces.v1beta.BidiSessionClientM"
+ + "essage\0321.google.cloud.ces.v1beta.BidiSes"
+ + "sionServerMessage\"\000(\0010\001\032j\312A\022ces.googleap"
+ + "is.com\322ARhttps://www.googleapis.com/auth"
+ + "/ces,https://www.googleapis.com/auth/cloud-platformB\311\001\n"
+ + "\033com.google.cloud.ces.v1b"
+ + "etaB\023SessionServiceProtoP\001Z-cloud.google.com/go/ces/apiv1beta/cespb;cespb\352Ac\n"
+ + "\032ces.googleapis.com/Session\022Eprojects/{proj"
+ + "ect}/locations/{location}/apps/{app}/sessions/{session}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -316,6 +321,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TimeZone",
"UseToolFakes",
"RemoteDialogflowQueryParameters",
+ "EnableTextStreaming",
});
internal_static_google_cloud_ces_v1beta_SessionConfig_RemoteDialogflowQueryParameters_descriptor =
internal_static_google_cloud_ces_v1beta_SessionConfig_descriptor.getNestedType(0);
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetServiceProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetServiceProto.java
index 51bce0b3b6a9..b3d37988910a 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetServiceProto.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetServiceProto.java
@@ -62,25 +62,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "api/annotations.proto\032\027google/api/client"
+ ".proto\032\037google/api/field_behavior.proto\032"
+ "\031google/api/resource.proto\032\037google/proto"
- + "buf/timestamp.proto\"\245\001\n\030GenerateChatToke"
+ + "buf/timestamp.proto\"\310\001\n\030GenerateChatToke"
+ "nRequest\0220\n\004name\030\001 \001(\tB\"\340A\002\372A\034\n\032ces.goog"
+ "leapis.com/Session\0229\n\ndeployment\030\002 \001(\tB%"
+ "\340A\002\372A\037\n\035ces.googleapis.com/Deployment\022\034\n"
- + "\017recaptcha_token\030\003 \001(\tB\003\340A\001\"`\n\031GenerateC"
- + "hatTokenResponse\022\022\n\nchat_token\030\001 \001(\t\022/\n\013"
- + "expire_time\030\002 \001(\0132\032.google.protobuf.Time"
- + "stamp2\316\002\n\rWidgetService\022\320\001\n\021GenerateChat"
- + "Token\0221.google.cloud.ces.v1beta.Generate"
- + "ChatTokenRequest\0322.google.cloud.ces.v1be"
- + "ta.GenerateChatTokenResponse\"T\202\323\344\223\002N\"I/v"
- + "1beta/{name=projects/*/locations/*/apps/"
- + "*/sessions/*}:generateChatToken:\001*\032j\312A\022c"
- + "es.googleapis.com\322ARhttps://www.googleap"
- + "is.com/auth/ces,https://www.googleapis.c"
- + "om/auth/cloud-platformBb\n\033com.google.clo"
- + "ud.ces.v1betaB\022WidgetServiceProtoP\001Z-clo"
- + "ud.google.com/go/ces/apiv1beta/cespb;ces"
- + "pbb\006proto3"
+ + "\017recaptcha_token\030\003 \001(\tB\003\340A\001\022!\n\024live_hand"
+ + "off_enabled\030\004 \001(\010B\003\340A\001\"`\n\031GenerateChatTo"
+ + "kenResponse\022\022\n\nchat_token\030\001 \001(\t\022/\n\013expir"
+ + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp"
+ + "2\316\002\n\rWidgetService\022\320\001\n\021GenerateChatToken"
+ + "\0221.google.cloud.ces.v1beta.GenerateChatT"
+ + "okenRequest\0322.google.cloud.ces.v1beta.Ge"
+ + "nerateChatTokenResponse\"T\202\323\344\223\002N\"I/v1beta"
+ + "/{name=projects/*/locations/*/apps/*/ses"
+ + "sions/*}:generateChatToken:\001*\032j\312A\022ces.go"
+ + "ogleapis.com\322ARhttps://www.googleapis.co"
+ + "m/auth/ces,https://www.googleapis.com/au"
+ + "th/cloud-platformBb\n\033com.google.cloud.ce"
+ + "s.v1betaB\022WidgetServiceProtoP\001Z-cloud.go"
+ + "ogle.com/go/ces/apiv1beta/cespb;cespbb\006p"
+ + "roto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -98,7 +99,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_ces_v1beta_GenerateChatTokenRequest_descriptor,
new java.lang.String[] {
- "Name", "Deployment", "RecaptchaToken",
+ "Name", "Deployment", "RecaptchaToken", "LiveHandoffEnabled",
});
internal_static_google_cloud_ces_v1beta_GenerateChatTokenResponse_descriptor =
getDescriptor().getMessageType(1);
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetTool.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetTool.java
index dcdd2d555703..45a2d6180c67 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetTool.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetTool.java
@@ -475,6 +475,2086 @@ private WidgetType(int value) {
// @@protoc_insertion_point(enum_scope:google.cloud.ces.v1beta.WidgetTool.WidgetType)
}
+ public interface DataMappingOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.WidgetTool.DataMapping)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the tool that provides the data for the
+ * widget (e.g., a search tool or a custom function). Format:
+ * `projects/{project}/locations/{location}/agents/{agent}/tools/{tool}`
+ *
+ *
+ * string source_tool_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The sourceToolName.
+ */
+ java.lang.String getSourceToolName();
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the tool that provides the data for the
+ * widget (e.g., a search tool or a custom function). Format:
+ * `projects/{project}/locations/{location}/agents/{agent}/tools/{tool}`
+ *
+ *
+ * string source_tool_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for sourceToolName.
+ */
+ com.google.protobuf.ByteString getSourceToolNameBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getFieldMappingsCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ boolean containsFieldMappings(java.lang.String key);
+
+ /** Use {@link #getFieldMappingsMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.Map
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ /* nullable */
+ java.lang.String getFieldMappingsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue);
+
+ /**
+ *
+ *
+ *
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.lang.String getFieldMappingsOrThrow(java.lang.String key);
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the pythonFunction field is set.
+ */
+ boolean hasPythonFunction();
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The pythonFunction.
+ */
+ com.google.cloud.ces.v1beta.PythonFunction getPythonFunction();
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.ces.v1beta.PythonFunctionOrBuilder getPythonFunctionOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. The mode of the data mapping.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode mode = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for mode.
+ */
+ int getModeValue();
+
+ /**
+ *
+ *
+ *
+ * Optional. The mode of the data mapping.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode mode = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The mode.
+ */
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode getMode();
+
+ /**
+ *
+ *
+ *
+ * Deprecated: Use `python_function` instead.
+ *
+ *
+ * string python_script = 3 [deprecated = true];
+ *
+ * @deprecated google.cloud.ces.v1beta.WidgetTool.DataMapping.python_script is deprecated. See
+ * google/cloud/ces/v1beta/widget_tool.proto;l=66
+ * @return The pythonScript.
+ */
+ @java.lang.Deprecated
+ java.lang.String getPythonScript();
+
+ /**
+ *
+ *
+ *
+ * Deprecated: Use `python_function` instead.
+ *
+ *
+ * string python_script = 3 [deprecated = true];
+ *
+ * @deprecated google.cloud.ces.v1beta.WidgetTool.DataMapping.python_script is deprecated. See
+ * google/cloud/ces/v1beta/widget_tool.proto;l=66
+ * @return The bytes for pythonScript.
+ */
+ @java.lang.Deprecated
+ com.google.protobuf.ByteString getPythonScriptBytes();
+ }
+
+ /**
+ *
+ *
+ *
+ * Configuration for mapping data from a source tool to the widget's input
+ * parameters.
+ *
+ *
+ * Protobuf type {@code google.cloud.ces.v1beta.WidgetTool.DataMapping}
+ */
+ public static final class DataMapping extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.WidgetTool.DataMapping)
+ DataMappingOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "DataMapping");
+ }
+
+ // Use DataMapping.newBuilder() to construct.
+ private DataMapping(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private DataMapping() {
+ sourceToolName_ = "";
+ mode_ = 0;
+ pythonScript_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.ces.v1beta.WidgetToolProto
+ .internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 2:
+ return internalGetFieldMappings();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.ces.v1beta.WidgetToolProto
+ .internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.class,
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Builder.class);
+ }
+
+ /**
+ *
+ *
+ *
+ * The strategy used to map data from the source tool to the widget.
+ *
+ *
+ * Protobuf enum {@code google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode}
+ */
+ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * Unspecified mode.
+ *
+ *
+ * MODE_UNSPECIFIED = 0;
+ */
+ MODE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * Use the `field_mappings` map for data transformation.
+ *
+ *
+ * FIELD_MAPPING = 1;
+ */
+ FIELD_MAPPING(1),
+ /**
+ *
+ *
+ *
+ * Use the `python_script` for data transformation.
+ *
+ *
+ * PYTHON_SCRIPT = 2;
+ */
+ PYTHON_SCRIPT(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "Mode");
+ }
+
+ /**
+ *
+ *
+ *
+ * Unspecified mode.
+ *
+ *
+ * MODE_UNSPECIFIED = 0;
+ */
+ public static final int MODE_UNSPECIFIED_VALUE = 0;
+
+ /**
+ *
+ *
+ *
+ * Use the `field_mappings` map for data transformation.
+ *
+ *
+ * FIELD_MAPPING = 1;
+ */
+ public static final int FIELD_MAPPING_VALUE = 1;
+
+ /**
+ *
+ *
+ *
+ * Use the `python_script` for data transformation.
+ *
+ *
+ * PYTHON_SCRIPT = 2;
+ */
+ public static final int PYTHON_SCRIPT_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 Mode 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 Mode forNumber(int value) {
+ switch (value) {
+ case 0:
+ return MODE_UNSPECIFIED;
+ case 1:
+ return FIELD_MAPPING;
+ case 2:
+ return PYTHON_SCRIPT;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Optional. The resource name of the tool that provides the data for the
+ * widget (e.g., a search tool or a custom function). Format:
+ * `projects/{project}/locations/{location}/agents/{agent}/tools/{tool}`
+ *
+ *
+ * string source_tool_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The sourceToolName.
+ */
+ @java.lang.Override
+ public java.lang.String getSourceToolName() {
+ java.lang.Object ref = sourceToolName_;
+ 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();
+ sourceToolName_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the tool that provides the data for the
+ * widget (e.g., a search tool or a custom function). Format:
+ * `projects/{project}/locations/{location}/agents/{agent}/tools/{tool}`
+ *
+ *
+ * string source_tool_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for sourceToolName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getSourceToolNameBytes() {
+ java.lang.Object ref = sourceToolName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ sourceToolName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FIELD_MAPPINGS_FIELD_NUMBER = 2;
+
+ private static final class FieldMappingsDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public boolean containsFieldMappings(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetFieldMappings().getMap().containsKey(key);
+ }
+
+ /** Use {@link #getFieldMappingsMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ java.lang.String getFieldMappingsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.lang.String getFieldMappingsOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the pythonFunction field is set.
+ */
+ @java.lang.Override
+ public boolean hasPythonFunction() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The pythonFunction.
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.PythonFunction getPythonFunction() {
+ return pythonFunction_ == null
+ ? com.google.cloud.ces.v1beta.PythonFunction.getDefaultInstance()
+ : pythonFunction_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.PythonFunctionOrBuilder getPythonFunctionOrBuilder() {
+ return pythonFunction_ == null
+ ? com.google.cloud.ces.v1beta.PythonFunction.getDefaultInstance()
+ : pythonFunction_;
+ }
+
+ public static final int MODE_FIELD_NUMBER = 4;
+ private int mode_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. The mode of the data mapping.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode mode = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for mode.
+ */
+ @java.lang.Override
+ public int getModeValue() {
+ return mode_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mode of the data mapping.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode mode = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The mode.
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode getMode() {
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode result =
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode.forNumber(mode_);
+ return result == null
+ ? com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int PYTHON_SCRIPT_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object pythonScript_ = "";
+
+ /**
+ *
+ *
+ *
+ * Deprecated: Use `python_function` instead.
+ *
+ *
+ * string python_script = 3 [deprecated = true];
+ *
+ * @deprecated google.cloud.ces.v1beta.WidgetTool.DataMapping.python_script is deprecated. See
+ * google/cloud/ces/v1beta/widget_tool.proto;l=66
+ * @return The pythonScript.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.lang.String getPythonScript() {
+ java.lang.Object ref = pythonScript_;
+ 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();
+ pythonScript_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Deprecated: Use `python_function` instead.
+ *
+ *
+ * string python_script = 3 [deprecated = true];
+ *
+ * @deprecated google.cloud.ces.v1beta.WidgetTool.DataMapping.python_script is deprecated. See
+ * google/cloud/ces/v1beta/widget_tool.proto;l=66
+ * @return The bytes for pythonScript.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public com.google.protobuf.ByteString getPythonScriptBytes() {
+ java.lang.Object ref = pythonScript_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pythonScript_ = 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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(sourceToolName_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, sourceToolName_);
+ }
+ com.google.protobuf.GeneratedMessage.serializeStringMapTo(
+ output, internalGetFieldMappings(), FieldMappingsDefaultEntryHolder.defaultEntry, 2);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pythonScript_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, pythonScript_);
+ }
+ if (mode_
+ != com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode.MODE_UNSPECIFIED.getNumber()) {
+ output.writeEnum(4, mode_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(5, getPythonFunction());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sourceToolName_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, sourceToolName_);
+ }
+ for (java.util.Map.Entry
+ * Configuration for mapping data from a source tool to the widget's input
+ * parameters.
+ *
+ *
+ * Protobuf type {@code google.cloud.ces.v1beta.WidgetTool.DataMapping}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Optional. The resource name of the tool that provides the data for the
+ * widget (e.g., a search tool or a custom function). Format:
+ * `projects/{project}/locations/{location}/agents/{agent}/tools/{tool}`
+ *
+ *
+ * string source_tool_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The sourceToolName.
+ */
+ public java.lang.String getSourceToolName() {
+ java.lang.Object ref = sourceToolName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ sourceToolName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the tool that provides the data for the
+ * widget (e.g., a search tool or a custom function). Format:
+ * `projects/{project}/locations/{location}/agents/{agent}/tools/{tool}`
+ *
+ *
+ * string source_tool_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for sourceToolName.
+ */
+ public com.google.protobuf.ByteString getSourceToolNameBytes() {
+ java.lang.Object ref = sourceToolName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ sourceToolName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the tool that provides the data for the
+ * widget (e.g., a search tool or a custom function). Format:
+ * `projects/{project}/locations/{location}/agents/{agent}/tools/{tool}`
+ *
+ *
+ * string source_tool_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The sourceToolName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSourceToolName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sourceToolName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the tool that provides the data for the
+ * widget (e.g., a search tool or a custom function). Format:
+ * `projects/{project}/locations/{location}/agents/{agent}/tools/{tool}`
+ *
+ *
+ * string source_tool_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSourceToolName() {
+ sourceToolName_ = getDefaultInstance().getSourceToolName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the tool that provides the data for the
+ * widget (e.g., a search tool or a custom function). Format:
+ * `projects/{project}/locations/{location}/agents/{agent}/tools/{tool}`
+ *
+ *
+ * string source_tool_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for sourceToolName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSourceToolNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ sourceToolName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.MapField
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public boolean containsFieldMappings(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetFieldMappings().getMap().containsKey(key);
+ }
+
+ /** Use {@link #getFieldMappingsMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ java.lang.String getFieldMappingsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.lang.String getFieldMappingsOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeFieldMappings(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableFieldMappings().getMutableMap().remove(key);
+ return this;
+ }
+
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder putFieldMappings(java.lang.String key, java.lang.String value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableFieldMappings().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A map of widget input parameter fields to the corresponding
+ * output fields of the source tool.
+ *
+ *
+ *
+ * map<string, string> field_mappings = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder putAllFieldMappings(java.util.Map
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the pythonFunction field is set.
+ */
+ public boolean hasPythonFunction() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The pythonFunction.
+ */
+ public com.google.cloud.ces.v1beta.PythonFunction getPythonFunction() {
+ if (pythonFunctionBuilder_ == null) {
+ return pythonFunction_ == null
+ ? com.google.cloud.ces.v1beta.PythonFunction.getDefaultInstance()
+ : pythonFunction_;
+ } else {
+ return pythonFunctionBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setPythonFunction(com.google.cloud.ces.v1beta.PythonFunction value) {
+ if (pythonFunctionBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ pythonFunction_ = value;
+ } else {
+ pythonFunctionBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setPythonFunction(
+ com.google.cloud.ces.v1beta.PythonFunction.Builder builderForValue) {
+ if (pythonFunctionBuilder_ == null) {
+ pythonFunction_ = builderForValue.build();
+ } else {
+ pythonFunctionBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergePythonFunction(com.google.cloud.ces.v1beta.PythonFunction value) {
+ if (pythonFunctionBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)
+ && pythonFunction_ != null
+ && pythonFunction_
+ != com.google.cloud.ces.v1beta.PythonFunction.getDefaultInstance()) {
+ getPythonFunctionBuilder().mergeFrom(value);
+ } else {
+ pythonFunction_ = value;
+ }
+ } else {
+ pythonFunctionBuilder_.mergeFrom(value);
+ }
+ if (pythonFunction_ != null) {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearPythonFunction() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ pythonFunction_ = null;
+ if (pythonFunctionBuilder_ != null) {
+ pythonFunctionBuilder_.dispose();
+ pythonFunctionBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.PythonFunction.Builder getPythonFunctionBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return internalGetPythonFunctionFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.PythonFunctionOrBuilder getPythonFunctionOrBuilder() {
+ if (pythonFunctionBuilder_ != null) {
+ return pythonFunctionBuilder_.getMessageOrBuilder();
+ } else {
+ return pythonFunction_ == null
+ ? com.google.cloud.ces.v1beta.PythonFunction.getDefaultInstance()
+ : pythonFunction_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for a Python function used to transform the
+ * source tool's output into the widget's input format.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.PythonFunction python_function = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.ces.v1beta.PythonFunction,
+ com.google.cloud.ces.v1beta.PythonFunction.Builder,
+ com.google.cloud.ces.v1beta.PythonFunctionOrBuilder>
+ internalGetPythonFunctionFieldBuilder() {
+ if (pythonFunctionBuilder_ == null) {
+ pythonFunctionBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.ces.v1beta.PythonFunction,
+ com.google.cloud.ces.v1beta.PythonFunction.Builder,
+ com.google.cloud.ces.v1beta.PythonFunctionOrBuilder>(
+ getPythonFunction(), getParentForChildren(), isClean());
+ pythonFunction_ = null;
+ }
+ return pythonFunctionBuilder_;
+ }
+
+ private int mode_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. The mode of the data mapping.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode mode = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for mode.
+ */
+ @java.lang.Override
+ public int getModeValue() {
+ return mode_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mode of the data mapping.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode mode = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The enum numeric value on the wire for mode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setModeValue(int value) {
+ mode_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mode of the data mapping.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode mode = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The mode.
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode getMode() {
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode result =
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode.forNumber(mode_);
+ return result == null
+ ? com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode.UNRECOGNIZED
+ : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mode of the data mapping.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode mode = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The mode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMode(com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
+ mode_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mode of the data mapping.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping.Mode mode = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMode() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ mode_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object pythonScript_ = "";
+
+ /**
+ *
+ *
+ *
+ * Deprecated: Use `python_function` instead.
+ *
+ *
+ * string python_script = 3 [deprecated = true];
+ *
+ * @deprecated google.cloud.ces.v1beta.WidgetTool.DataMapping.python_script is deprecated. See
+ * google/cloud/ces/v1beta/widget_tool.proto;l=66
+ * @return The pythonScript.
+ */
+ @java.lang.Deprecated
+ public java.lang.String getPythonScript() {
+ java.lang.Object ref = pythonScript_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ pythonScript_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Deprecated: Use `python_function` instead.
+ *
+ *
+ * string python_script = 3 [deprecated = true];
+ *
+ * @deprecated google.cloud.ces.v1beta.WidgetTool.DataMapping.python_script is deprecated. See
+ * google/cloud/ces/v1beta/widget_tool.proto;l=66
+ * @return The bytes for pythonScript.
+ */
+ @java.lang.Deprecated
+ public com.google.protobuf.ByteString getPythonScriptBytes() {
+ java.lang.Object ref = pythonScript_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pythonScript_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Deprecated: Use `python_function` instead.
+ *
+ *
+ * string python_script = 3 [deprecated = true];
+ *
+ * @deprecated google.cloud.ces.v1beta.WidgetTool.DataMapping.python_script is deprecated. See
+ * google/cloud/ces/v1beta/widget_tool.proto;l=66
+ * @param value The pythonScript to set.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated
+ public Builder setPythonScript(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ pythonScript_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Deprecated: Use `python_function` instead.
+ *
+ *
+ * string python_script = 3 [deprecated = true];
+ *
+ * @deprecated google.cloud.ces.v1beta.WidgetTool.DataMapping.python_script is deprecated. See
+ * google/cloud/ces/v1beta/widget_tool.proto;l=66
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated
+ public Builder clearPythonScript() {
+ pythonScript_ = getDefaultInstance().getPythonScript();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Deprecated: Use `python_function` instead.
+ *
+ *
+ * string python_script = 3 [deprecated = true];
+ *
+ * @deprecated google.cloud.ces.v1beta.WidgetTool.DataMapping.python_script is deprecated. See
+ * google/cloud/ces/v1beta/widget_tool.proto;l=66
+ * @param value The bytes for pythonScript to set.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated
+ public Builder setPythonScriptBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ pythonScript_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.WidgetTool.DataMapping)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.WidgetTool.DataMapping)
+ private static final com.google.cloud.ces.v1beta.WidgetTool.DataMapping DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.ces.v1beta.WidgetTool.DataMapping();
+ }
+
+ public static com.google.cloud.ces.v1beta.WidgetTool.DataMapping getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the uiConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasUiConfig() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The uiConfig.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Struct getUiConfig() {
+ return uiConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : uiConfig_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ @java.lang.Override
+ public com.google.protobuf.StructOrBuilder getUiConfigOrBuilder() {
+ return uiConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : uiConfig_;
+ }
+
+ public static final int DATA_MAPPING_FIELD_NUMBER = 6;
+ private com.google.cloud.ces.v1beta.WidgetTool.DataMapping dataMapping_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the dataMapping field is set.
+ */
+ @java.lang.Override
+ public boolean hasDataMapping() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The dataMapping.
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.WidgetTool.DataMapping getDataMapping() {
+ return dataMapping_ == null
+ ? com.google.cloud.ces.v1beta.WidgetTool.DataMapping.getDefaultInstance()
+ : dataMapping_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.ces.v1beta.WidgetTool.DataMappingOrBuilder getDataMappingOrBuilder() {
+ return dataMapping_ == null
+ ? com.google.cloud.ces.v1beta.WidgetTool.DataMapping.getDefaultInstance()
+ : dataMapping_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -755,6 +2946,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (inputCase_ == 4) {
output.writeMessage(4, (com.google.cloud.ces.v1beta.Schema) input_);
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(5, getUiConfig());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(6, getDataMapping());
+ }
getUnknownFields().writeTo(output);
}
@@ -779,6 +2976,12 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
4, (com.google.cloud.ces.v1beta.Schema) input_);
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUiConfig());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDataMapping());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -797,6 +3000,14 @@ public boolean equals(final java.lang.Object obj) {
if (!getName().equals(other.getName())) return false;
if (!getDescription().equals(other.getDescription())) return false;
if (widgetType_ != other.widgetType_) return false;
+ if (hasUiConfig() != other.hasUiConfig()) return false;
+ if (hasUiConfig()) {
+ if (!getUiConfig().equals(other.getUiConfig())) return false;
+ }
+ if (hasDataMapping() != other.hasDataMapping()) return false;
+ if (hasDataMapping()) {
+ if (!getDataMapping().equals(other.getDataMapping())) return false;
+ }
if (!getInputCase().equals(other.getInputCase())) return false;
switch (inputCase_) {
case 4:
@@ -822,6 +3033,14 @@ public int hashCode() {
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + WIDGET_TYPE_FIELD_NUMBER;
hash = (53 * hash) + widgetType_;
+ if (hasUiConfig()) {
+ hash = (37 * hash) + UI_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getUiConfig().hashCode();
+ }
+ if (hasDataMapping()) {
+ hash = (37 * hash) + DATA_MAPPING_FIELD_NUMBER;
+ hash = (53 * hash) + getDataMapping().hashCode();
+ }
switch (inputCase_) {
case 4:
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
@@ -963,10 +3182,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
// Construct using com.google.cloud.ces.v1beta.WidgetTool.newBuilder()
- private Builder() {}
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ internalGetUiConfigFieldBuilder();
+ internalGetDataMappingFieldBuilder();
+ }
}
@java.lang.Override
@@ -979,6 +3208,16 @@ public Builder clear() {
name_ = "";
description_ = "";
widgetType_ = 0;
+ uiConfig_ = null;
+ if (uiConfigBuilder_ != null) {
+ uiConfigBuilder_.dispose();
+ uiConfigBuilder_ = null;
+ }
+ dataMapping_ = null;
+ if (dataMappingBuilder_ != null) {
+ dataMappingBuilder_.dispose();
+ dataMappingBuilder_ = null;
+ }
inputCase_ = 0;
input_ = null;
return this;
@@ -1027,6 +3266,17 @@ private void buildPartial0(com.google.cloud.ces.v1beta.WidgetTool result) {
if (((from_bitField0_ & 0x00000008) != 0)) {
result.widgetType_ = widgetType_;
}
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.uiConfig_ = uiConfigBuilder_ == null ? uiConfig_ : uiConfigBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.dataMapping_ =
+ dataMappingBuilder_ == null ? dataMapping_ : dataMappingBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(com.google.cloud.ces.v1beta.WidgetTool result) {
@@ -1062,6 +3312,12 @@ public Builder mergeFrom(com.google.cloud.ces.v1beta.WidgetTool other) {
if (other.widgetType_ != 0) {
setWidgetTypeValue(other.getWidgetTypeValue());
}
+ if (other.hasUiConfig()) {
+ mergeUiConfig(other.getUiConfig());
+ }
+ if (other.hasDataMapping()) {
+ mergeDataMapping(other.getDataMapping());
+ }
switch (other.getInputCase()) {
case PARAMETERS:
{
@@ -1124,6 +3380,20 @@ public Builder mergeFrom(
inputCase_ = 4;
break;
} // case 34
+ case 42:
+ {
+ input.readMessage(
+ internalGetUiConfigFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 42
+ case 50:
+ {
+ input.readMessage(
+ internalGetDataMappingFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 50
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1723,6 +3993,419 @@ public Builder clearWidgetType() {
return this;
}
+ private com.google.protobuf.Struct uiConfig_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>
+ uiConfigBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the uiConfig field is set.
+ */
+ public boolean hasUiConfig() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The uiConfig.
+ */
+ public com.google.protobuf.Struct getUiConfig() {
+ if (uiConfigBuilder_ == null) {
+ return uiConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : uiConfig_;
+ } else {
+ return uiConfigBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public Builder setUiConfig(com.google.protobuf.Struct value) {
+ if (uiConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ uiConfig_ = value;
+ } else {
+ uiConfigBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public Builder setUiConfig(com.google.protobuf.Struct.Builder builderForValue) {
+ if (uiConfigBuilder_ == null) {
+ uiConfig_ = builderForValue.build();
+ } else {
+ uiConfigBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public Builder mergeUiConfig(com.google.protobuf.Struct value) {
+ if (uiConfigBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) != 0)
+ && uiConfig_ != null
+ && uiConfig_ != com.google.protobuf.Struct.getDefaultInstance()) {
+ getUiConfigBuilder().mergeFrom(value);
+ } else {
+ uiConfig_ = value;
+ }
+ } else {
+ uiConfigBuilder_.mergeFrom(value);
+ }
+ if (uiConfig_ != null) {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public Builder clearUiConfig() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ uiConfig_ = null;
+ if (uiConfigBuilder_ != null) {
+ uiConfigBuilder_.dispose();
+ uiConfigBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public com.google.protobuf.Struct.Builder getUiConfigBuilder() {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return internalGetUiConfigFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public com.google.protobuf.StructOrBuilder getUiConfigOrBuilder() {
+ if (uiConfigBuilder_ != null) {
+ return uiConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return uiConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : uiConfig_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>
+ internalGetUiConfigFieldBuilder() {
+ if (uiConfigBuilder_ == null) {
+ uiConfigBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>(
+ getUiConfig(), getParentForChildren(), isClean());
+ uiConfig_ = null;
+ }
+ return uiConfigBuilder_;
+ }
+
+ private com.google.cloud.ces.v1beta.WidgetTool.DataMapping dataMapping_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping,
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Builder,
+ com.google.cloud.ces.v1beta.WidgetTool.DataMappingOrBuilder>
+ dataMappingBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the dataMapping field is set.
+ */
+ public boolean hasDataMapping() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The dataMapping.
+ */
+ public com.google.cloud.ces.v1beta.WidgetTool.DataMapping getDataMapping() {
+ if (dataMappingBuilder_ == null) {
+ return dataMapping_ == null
+ ? com.google.cloud.ces.v1beta.WidgetTool.DataMapping.getDefaultInstance()
+ : dataMapping_;
+ } else {
+ return dataMappingBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setDataMapping(com.google.cloud.ces.v1beta.WidgetTool.DataMapping value) {
+ if (dataMappingBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ dataMapping_ = value;
+ } else {
+ dataMappingBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setDataMapping(
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Builder builderForValue) {
+ if (dataMappingBuilder_ == null) {
+ dataMapping_ = builderForValue.build();
+ } else {
+ dataMappingBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeDataMapping(com.google.cloud.ces.v1beta.WidgetTool.DataMapping value) {
+ if (dataMappingBuilder_ == null) {
+ if (((bitField0_ & 0x00000020) != 0)
+ && dataMapping_ != null
+ && dataMapping_
+ != com.google.cloud.ces.v1beta.WidgetTool.DataMapping.getDefaultInstance()) {
+ getDataMappingBuilder().mergeFrom(value);
+ } else {
+ dataMapping_ = value;
+ }
+ } else {
+ dataMappingBuilder_.mergeFrom(value);
+ }
+ if (dataMapping_ != null) {
+ bitField0_ |= 0x00000020;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearDataMapping() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ dataMapping_ = null;
+ if (dataMappingBuilder_ != null) {
+ dataMappingBuilder_.dispose();
+ dataMappingBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Builder getDataMappingBuilder() {
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return internalGetDataMappingFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.ces.v1beta.WidgetTool.DataMappingOrBuilder getDataMappingOrBuilder() {
+ if (dataMappingBuilder_ != null) {
+ return dataMappingBuilder_.getMessageOrBuilder();
+ } else {
+ return dataMapping_ == null
+ ? com.google.cloud.ces.v1beta.WidgetTool.DataMapping.getDefaultInstance()
+ : dataMapping_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping,
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Builder,
+ com.google.cloud.ces.v1beta.WidgetTool.DataMappingOrBuilder>
+ internalGetDataMappingFieldBuilder() {
+ if (dataMappingBuilder_ == null) {
+ dataMappingBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping,
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping.Builder,
+ com.google.cloud.ces.v1beta.WidgetTool.DataMappingOrBuilder>(
+ getDataMapping(), getParentForChildren(), isClean());
+ dataMapping_ = null;
+ }
+ return dataMappingBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.WidgetTool)
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetToolOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetToolOrBuilder.java
index 490bcc35e4fe..d96df5a7133b 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetToolOrBuilder.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetToolOrBuilder.java
@@ -150,5 +150,88 @@ public interface WidgetToolOrBuilder
*/
com.google.cloud.ces.v1beta.WidgetTool.WidgetType getWidgetType();
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the uiConfig field is set.
+ */
+ boolean hasUiConfig();
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The uiConfig.
+ */
+ com.google.protobuf.Struct getUiConfig();
+
+ /**
+ *
+ *
+ *
+ * Optional. Configuration for rendering the widget.
+ *
+ *
+ * .google.protobuf.Struct ui_config = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ com.google.protobuf.StructOrBuilder getUiConfigOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the dataMapping field is set.
+ */
+ boolean hasDataMapping();
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The dataMapping.
+ */
+ com.google.cloud.ces.v1beta.WidgetTool.DataMapping getDataMapping();
+
+ /**
+ *
+ *
+ *
+ * Optional. The mapping that defines how data from a source tool is mapped to
+ * the widget's input parameters.
+ *
+ *
+ *
+ * .google.cloud.ces.v1beta.WidgetTool.DataMapping data_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.ces.v1beta.WidgetTool.DataMappingOrBuilder getDataMappingOrBuilder();
+
com.google.cloud.ces.v1beta.WidgetTool.InputCase getInputCase();
}
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetToolProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetToolProto.java
index b3e2856ad2a9..ac42f7aeebd3 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetToolProto.java
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/WidgetToolProto.java
@@ -44,6 +44,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_ces_v1beta_WidgetTool_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_ces_v1beta_WidgetTool_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_FieldMappingsEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_FieldMappingsEntry_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -56,14 +64,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n"
+ ")google/cloud/ces/v1beta/widget_tool.pr"
+ "oto\022\027google.cloud.ces.v1beta\032\037google/api"
- + "/field_behavior.proto\032$google/cloud/ces/v1beta/schema.proto\"\367\003\n\n"
+ + "/field_behavior.proto\032-google/cloud/ces/v1beta/python_function.proto\032$google/clo"
+ + "ud/ces/v1beta/schema.proto\032\034google/protobuf/struct.proto\"\251\010\n\n"
+ "WidgetTool\022:\n\n"
+ "parameters\030\004"
+ " \001(\0132\037.google.cloud.ces.v1beta.SchemaB\003\340A\001H\000\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\002\022\030\n"
+ "\013description\030\002 \001(\tB\003\340A\001\022H\n"
- + "\013widget_type\030\003 \001(\016"
- + "2..google.cloud.ces.v1beta.WidgetTool.WidgetTypeB\003\340A\001\"\254\002\n\n"
+ + "\013widget_type\030\003 \001(\0162.."
+ + "google.cloud.ces.v1beta.WidgetTool.WidgetTypeB\003\340A\001\022/\n"
+ + "\tui_config\030\005 \001(\0132\027.google.protobuf.StructB\003\340A\001\022J\n"
+ + "\014data_mapping\030\006 \001("
+ + "\0132/.google.cloud.ces.v1beta.WidgetTool.DataMappingB\003\340A\001\032\262\003\n"
+ + "\013DataMapping\022\035\n"
+ + "\020source_tool_name\030\001 \001(\tB\003\340A\001\022_\n"
+ + "\016field_mappings\030\002 \003(\0132B.google.cloud.ces.v1beta.WidgetT"
+ + "ool.DataMapping.FieldMappingsEntryB\003\340A\001\022E\n"
+ + "\017python_function\030\005"
+ + " \001(\0132\'.google.cloud.ces.v1beta.PythonFunctionB\003\340A\001\022G\n"
+ + "\004mode\030\004"
+ + " \001(\01624.google.cloud.ces.v1beta.WidgetTool.DataMapping.ModeB\003\340A\001\022\031\n\r"
+ + "python_script\030\003 \001(\tB\002\030\001\0324\n"
+ + "\022FieldMappingsEntry\022\013\n"
+ + "\003key\030\001 \001(\t\022\r\n"
+ + "\005value\030\002 \001(\t:\0028\001\"B\n"
+ + "\004Mode\022\024\n"
+ + "\020MODE_UNSPECIFIED\020\000\022\021\n\r"
+ + "FIELD_MAPPING\020\001\022\021\n\r"
+ + "PYTHON_SCRIPT\020\002\"\254\002\n\n"
+ "WidgetType\022\033\n"
+ "\027WIDGET_TYPE_UNSPECIFIED\020\000\022\n\n"
+ "\006CUSTOM\020\001\022\024\n"
@@ -80,15 +108,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\025APPOINTMENT_SCHEDULER\020\013\022\020\n"
+ "\014CONTACT_FORM\020\014B\007\n"
+ "\005inputB_\n"
- + "\033com.google.cloud.ces.v1betaB\017WidgetToolProtoP\001Z-cloud.google.com/go/ces"
- + "/apiv1beta/cespb;cespbb\006proto3"
+ + "\033com.google.cloud.ces.v1betaB\017WidgetToolProtoP\001Z-cloud.google.com/go/ces/"
+ + "apiv1beta/cespb;cespbb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.cloud.ces.v1beta.PythonFunctionProto.getDescriptor(),
com.google.cloud.ces.v1beta.SchemaProto.getDescriptor(),
+ com.google.protobuf.StructProto.getDescriptor(),
});
internal_static_google_cloud_ces_v1beta_WidgetTool_descriptor =
getDescriptor().getMessageType(0);
@@ -96,11 +126,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_ces_v1beta_WidgetTool_descriptor,
new java.lang.String[] {
- "Parameters", "Name", "Description", "WidgetType", "Input",
+ "Parameters", "Name", "Description", "WidgetType", "UiConfig", "DataMapping", "Input",
+ });
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_descriptor =
+ internal_static_google_cloud_ces_v1beta_WidgetTool_descriptor.getNestedType(0);
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_descriptor,
+ new java.lang.String[] {
+ "SourceToolName", "FieldMappings", "PythonFunction", "Mode", "PythonScript",
+ });
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_FieldMappingsEntry_descriptor =
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_descriptor.getNestedType(0);
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_FieldMappingsEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_ces_v1beta_WidgetTool_DataMapping_FieldMappingsEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
});
descriptor.resolveAllFeaturesImmutable();
com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.cloud.ces.v1beta.PythonFunctionProto.getDescriptor();
com.google.cloud.ces.v1beta.SchemaProto.getDescriptor();
+ com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/agent_service.proto b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/agent_service.proto
index ad68fdbaa4fc..db9661b816a3 100644
--- a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/agent_service.proto
+++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/agent_service.proto
@@ -650,6 +650,14 @@ message ExportAppRequest {
// app. The format of this URI must be `gs://
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1749,13 +1758,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1788,13 +1804,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ChangelogsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ChangelogsClient.java index 06dd86f40231..5da2bf417658 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ChangelogsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ChangelogsClient.java @@ -108,8 +108,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -561,13 +570,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -601,13 +617,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClient.java index dfc43ac495e1..0354ba305357 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClient.java @@ -129,8 +129,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -717,13 +726,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -757,13 +773,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeploymentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeploymentsClient.java index 89c921ca993d..516534f6b4e4 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeploymentsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeploymentsClient.java @@ -109,8 +109,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -584,13 +593,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -624,13 +640,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java index 3db0bc88545b..0f5b43633956 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java @@ -203,8 +203,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1231,13 +1240,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1271,13 +1287,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentsClient.java index c400ca2ed800..5230585990f6 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentsClient.java @@ -252,8 +252,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1827,13 +1836,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1867,13 +1883,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExamplesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExamplesClient.java index 99a24409f023..5fc01b9a17d0 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExamplesClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExamplesClient.java @@ -166,8 +166,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -952,13 +961,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -991,13 +1007,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExperimentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExperimentsClient.java index 25cc53c8300b..dcf41b27540f 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExperimentsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExperimentsClient.java @@ -205,8 +205,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1271,13 +1280,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1311,13 +1327,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java index b4cf2d9415a1..fa4c53d7788c 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java @@ -265,8 +265,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1711,13 +1720,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1750,13 +1766,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GeneratorsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GeneratorsClient.java index 4e76d83e945d..f4ee0f01d038 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GeneratorsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GeneratorsClient.java @@ -166,8 +166,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -950,13 +959,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -990,13 +1006,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClient.java index 2e4937e21815..3d43cf54872f 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClient.java @@ -206,8 +206,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1258,13 +1267,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1297,13 +1313,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PagesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PagesClient.java index c9ba8889f966..52e68125e739 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PagesClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PagesClient.java @@ -165,8 +165,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -940,13 +949,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -979,13 +995,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybooksClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybooksClient.java index 00c65af588ec..4dc7c4e875d1 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybooksClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybooksClient.java @@ -299,8 +299,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1955,13 +1964,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1994,13 +2010,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsServiceClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsServiceClient.java index 5b3b10957ad3..1ac82caced29 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsServiceClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsServiceClient.java @@ -169,8 +169,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1018,13 +1027,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1059,13 +1075,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesClient.java index c67e034e0306..901612ffb983 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesClient.java @@ -169,8 +169,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1045,13 +1054,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1085,13 +1101,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsClient.java index f8047f8e44f2..21ce784cebd3 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsClient.java @@ -160,8 +160,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -702,13 +711,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -741,13 +757,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCasesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCasesClient.java index b7278eed9ba4..83964b72542f 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCasesClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCasesClient.java @@ -292,8 +292,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1930,13 +1939,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1969,13 +1985,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ToolsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ToolsClient.java index fee96be43253..40d7f4d614dd 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ToolsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ToolsClient.java @@ -281,8 +281,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1804,13 +1813,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1843,13 +1859,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteGroupsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteGroupsClient.java index d15bf39a9b53..0edee41fedd3 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteGroupsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteGroupsClient.java @@ -175,8 +175,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1203,13 +1212,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1244,13 +1260,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java index 89a4aa62aa06..9e27db6e267e 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java @@ -215,8 +215,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1434,13 +1443,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -1473,13 +1489,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhooksClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhooksClient.java index 1706ecce1d45..4ae643a5d6eb 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhooksClient.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhooksClient.java @@ -165,8 +165,10 @@ *
ListLocations
Lists information about the supported locations for this service.This method can be called in two ways: - *
* **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *
* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
** **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -929,13 +938,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code: * @@ -968,13 +984,20 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service.This method can be called in - * two ways: + * Lists information about the supported locations for this service. + * + *
This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *
* **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. * - *
* **List all public locations:** Use the path `GET /v1/locations`.* - * **List project-visible locations:** Use the path`GET - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or - * other locations specifically visibleto the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. * *
Sample code:
*
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.cx.v3beta1/reflect-config.json b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.cx.v3beta1/reflect-config.json
index 8045590d03d6..32f820f2a7e1 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.cx.v3beta1/reflect-config.json
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.cx.v3beta1/reflect-config.json
@@ -3401,6 +3401,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.dialogflow.cx.v3beta1.FlowTransition",
"queryAllDeclaredConstructors": true,
@@ -6344,6 +6362,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.dialogflow.cx.v3beta1.PlaybookTransition",
"queryAllDeclaredConstructors": true,
@@ -7262,6 +7298,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings",
"queryAllDeclaredConstructors": true,
@@ -8171,6 +8225,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.dialogflow.cx.v3beta1.TraceBlock",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.dialogflow.cx.v3beta1.TraceBlock$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.dialogflow.cx.v3beta1.TrainFlowRequest",
"queryAllDeclaredConstructors": true,
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClientHttpJsonTest.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClientHttpJsonTest.java
index 9874c790a503..9eddfacfad68 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClientHttpJsonTest.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClientHttpJsonTest.java
@@ -198,6 +198,7 @@ public void getIntentTest() throws Exception {
.setIsFallback(true)
.putAllLabels(new HashMap
+ * Metadata of the flow trace.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata}
+ */
+@com.google.protobuf.Generated
+public final class FlowTraceMetadata extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata)
+ FlowTraceMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "FlowTraceMetadata");
+ }
+
+ // Use FlowTraceMetadata.newBuilder() to construct.
+ private FlowTraceMetadata(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private FlowTraceMetadata() {
+ flow_ = "";
+ displayName_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.TraceProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_FlowTraceMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.TraceProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_FlowTraceMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.class,
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.Builder.class);
+ }
+
+ public static final int FLOW_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object flow_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the flow.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
+ *
+ *
+ *
+ * string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.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;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the flow.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
+ *
+ *
+ *
+ * string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.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;
+ }
+ }
+
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the flow.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The displayName.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ 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();
+ displayName_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the flow.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for displayName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = 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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(flow_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, flow_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(flow_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, flow_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_);
+ }
+ size += getUnknownFields().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.FlowTraceMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata other =
+ (com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata) obj;
+
+ if (!getFlow().equals(other.getFlow())) return false;
+ if (!getDisplayName().equals(other.getDisplayName())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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 = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayName().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata 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.FlowTraceMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata 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.FlowTraceMetadata parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata 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.FlowTraceMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.FlowTraceMetadata 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Required. The unique identifier of the flow.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
+ *
+ *
+ *
+ * string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.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;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the flow.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
+ *
+ *
+ *
+ * string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.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;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the flow.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
+ *
+ *
+ *
+ * string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.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;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the flow.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
+ *
+ *
+ *
+ * string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearFlow() {
+ flow_ = getDefaultInstance().getFlow();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the flow.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
+ *
+ *
+ *
+ * string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.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;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object displayName_ = "";
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the flow.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The displayName.
+ */
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the flow.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for displayName.
+ */
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the flow.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ displayName_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the flow.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayName() {
+ displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the flow.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ displayName_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The unique identifier of the flow.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
+ *
+ *
+ *
+ * string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The flow.
+ */
+ java.lang.String getFlow();
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the flow.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
+ *
+ *
+ *
+ * string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for flow.
+ */
+ com.google.protobuf.ByteString getFlowBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the flow.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The displayName.
+ */
+ java.lang.String getDisplayName();
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the flow.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for displayName.
+ */
+ com.google.protobuf.ByteString getDisplayNameBytes();
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowTransition.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowTransition.java
index 346c85f76288..0d924570459e 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowTransition.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowTransition.java
@@ -200,7 +200,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.FlowTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=408
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=485
* @return Whether the inputActionParameters field is set.
*/
@java.lang.Override
@@ -219,7 +219,7 @@ public boolean hasInputActionParameters() {
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.FlowTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=408
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=485
* @return The inputActionParameters.
*/
@java.lang.Override
@@ -890,7 +890,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.FlowTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=408
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=485
* @return Whether the inputActionParameters field is set.
*/
@java.lang.Deprecated
@@ -908,7 +908,7 @@ public boolean hasInputActionParameters() {
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.FlowTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=408
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=485
* @return The inputActionParameters.
*/
@java.lang.Deprecated
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowTransitionOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowTransitionOrBuilder.java
index 3c00c9a09c0a..7359065b3d16 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowTransitionOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowTransitionOrBuilder.java
@@ -96,7 +96,7 @@ public interface FlowTransitionOrBuilder
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.FlowTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=408
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=485
* @return Whether the inputActionParameters field is set.
*/
@java.lang.Deprecated
@@ -112,7 +112,7 @@ public interface FlowTransitionOrBuilder
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.FlowTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=408
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=485
* @return The inputActionParameters.
*/
@java.lang.Deprecated
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java
index 649be7066175..540a7dfb7472 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java
@@ -61,6 +61,7 @@ private Intent() {
trainingPhrases_ = java.util.Collections.emptyList();
parameters_ = java.util.Collections.emptyList();
description_ = "";
+ dtmfPattern_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -4588,6 +4589,59 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
}
}
+ public static final int DTMF_PATTERN_FIELD_NUMBER = 16;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object dtmfPattern_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. Matching DTMF pattern for the intent.
+ *
+ *
+ * string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The dtmfPattern.
+ */
+ @java.lang.Override
+ public java.lang.String getDtmfPattern() {
+ java.lang.Object ref = dtmfPattern_;
+ 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();
+ dtmfPattern_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Matching DTMF pattern for the intent.
+ *
+ *
+ * string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for dtmfPattern.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDtmfPatternBytes() {
+ java.lang.Object ref = dtmfPattern_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ dtmfPattern_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -4625,6 +4679,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 8, description_);
}
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(dtmfPattern_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 16, dtmfPattern_);
+ }
getUnknownFields().writeTo(output);
}
@@ -4665,6 +4722,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(8, description_);
}
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(dtmfPattern_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(16, dtmfPattern_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -4689,6 +4749,7 @@ public boolean equals(final java.lang.Object obj) {
if (getIsFallback() != other.getIsFallback()) return false;
if (!internalGetLabels().equals(other.internalGetLabels())) return false;
if (!getDescription().equals(other.getDescription())) return false;
+ if (!getDtmfPattern().equals(other.getDtmfPattern())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -4722,6 +4783,8 @@ public int hashCode() {
}
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
+ hash = (37 * hash) + DTMF_PATTERN_FIELD_NUMBER;
+ hash = (53 * hash) + getDtmfPattern().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -4908,6 +4971,7 @@ public Builder clear() {
isFallback_ = false;
internalGetMutableLabels().clear();
description_ = "";
+ dtmfPattern_ = "";
return this;
}
@@ -4985,6 +5049,9 @@ private void buildPartial0(com.google.cloud.dialogflow.cx.v3beta1.Intent result)
if (((from_bitField0_ & 0x00000080) != 0)) {
result.description_ = description_;
}
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.dtmfPattern_ = dtmfPattern_;
+ }
}
@java.lang.Override
@@ -5076,6 +5143,11 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Intent other) {
bitField0_ |= 0x00000080;
onChanged();
}
+ if (!other.getDtmfPattern().isEmpty()) {
+ dtmfPattern_ = other.dtmfPattern_;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -5172,6 +5244,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000080;
break;
} // case 66
+ case 130:
+ {
+ dtmfPattern_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 130
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -6783,6 +6861,117 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object dtmfPattern_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. Matching DTMF pattern for the intent.
+ *
+ *
+ * string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The dtmfPattern.
+ */
+ public java.lang.String getDtmfPattern() {
+ java.lang.Object ref = dtmfPattern_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ dtmfPattern_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Matching DTMF pattern for the intent.
+ *
+ *
+ * string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for dtmfPattern.
+ */
+ public com.google.protobuf.ByteString getDtmfPatternBytes() {
+ java.lang.Object ref = dtmfPattern_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ dtmfPattern_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Matching DTMF pattern for the intent.
+ *
+ *
+ * string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The dtmfPattern to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDtmfPattern(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ dtmfPattern_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Matching DTMF pattern for the intent.
+ *
+ *
+ * string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDtmfPattern() {
+ dtmfPattern_ = getDefaultInstance().getDtmfPattern();
+ bitField0_ = (bitField0_ & ~0x00000100);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Matching DTMF pattern for the intent.
+ *
+ *
+ * string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for dtmfPattern to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDtmfPatternBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ dtmfPattern_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.Intent)
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java
index 0cb78ce786b1..13f2db057f08 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java
@@ -400,4 +400,30 @@ java.lang.String getLabelsOrDefault(
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. Matching DTMF pattern for the intent.
+ *
+ *
+ * string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The dtmfPattern.
+ */
+ java.lang.String getDtmfPattern();
+
+ /**
+ *
+ *
+ *
+ * Optional. Matching DTMF pattern for the intent.
+ *
+ *
+ * string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for dtmfPattern.
+ */
+ com.google.protobuf.ByteString getDtmfPatternBytes();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java
index 7ae3ef34fe73..ba2d36467e80 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java
@@ -128,7 +128,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ehavior.proto\032\031google/api/resource.proto"
+ "\032/google/cloud/dialogflow/cx/v3beta1/inl"
+ "ine.proto\032#google/longrunning/operations.proto\032\033google/protobuf/empty.proto\032"
- + " google/protobuf/field_mask.proto\"\265\006\n"
+ + " google/protobuf/field_mask.proto\"\320\006\n"
+ "\006Intent\022\014\n"
+ "\004name\030\001 \001(\t\022\031\n"
+ "\014display_name\030\002 \001(\tB\003\340A\002\022S\n"
@@ -140,11 +140,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013is_fallback\030\006 \001(\010\022F\n"
+ "\006labels\030\007"
+ " \003(\01326.google.cloud.dialogflow.cx.v3beta1.Intent.LabelsEntry\022\023\n"
- + "\013description\030\010 \001(\t\032\274\001\n"
+ + "\013description\030\010 \001(\t\022\031\n"
+ + "\014dtmf_pattern\030\020 \001(\tB\003\340A\001\032\274\001\n"
+ "\016TrainingPhrase\022\017\n"
+ "\002id\030\001 \001(\tB\003\340A\003\022R\n"
- + "\005parts\030\002 \003(\0132>.google.cloud.d"
- + "ialogflow.cx.v3beta1.Intent.TrainingPhrase.PartB\003\340A\002\022\024\n"
+ + "\005parts\030\002 \003(\0132>.google.cloud.dialogflow.cx."
+ + "v3beta1.Intent.TrainingPhrase.PartB\003\340A\002\022\024\n"
+ "\014repeat_count\030\003 \001(\005\032/\n"
+ "\004Part\022\021\n"
+ "\004text\030\001 \001(\tB\003\340A\002\022\024\n"
@@ -158,8 +159,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013LabelsEntry\022\013\n"
+ "\003key\030\001 \001(\t\022\r\n"
+ "\005value\030\002 \001(\t:\0028\001:n\352Ak\n"
- + " dialogflow.googleapis.com/Intent\022Gprojects/{project}"
- + "/locations/{location}/agents/{agent}/intents/{intent}\"\321\001\n"
+ + " dialogflow.googleapis.com/Intent\022Gprojects/{project}/locations/{l"
+ + "ocation}/agents/{agent}/intents/{intent}\"\321\001\n"
+ "\022ListIntentsRequest\0228\n"
+ "\006parent\030\001 \001(\tB(\340A\002\372A\"\022"
+ " dialogflow.googleapis.com/Intent\022\025\n\r"
@@ -173,17 +174,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\017next_page_token\030\002 \001(\t\"a\n"
+ "\020GetIntentRequest\0226\n"
+ "\004name\030\001 \001(\tB(\340A\002\372A\"\n"
- + " dialogflow.googleapis.com/Intent\022\025\n\r"
+ + " dialogflow.googleapis.com/Intent\022\025\n"
+ + "\r"
+ "language_code\030\002 \001(\t\"\247\001\n"
+ "\023CreateIntentRequest\0228\n"
+ "\006parent\030\001 \001(\tB(\340A\002\372A\"\022"
+ " dialogflow.googleapis.com/Intent\022?\n"
- + "\006intent\030\002"
- + " \001(\0132*.google.cloud.dialogflow.cx.v3beta1.IntentB\003\340A\002\022\025\n\r"
+ + "\006intent\030\002 \001(\0132*"
+ + ".google.cloud.dialogflow.cx.v3beta1.IntentB\003\340A\002\022\025\n\r"
+ "language_code\030\003 \001(\t\"\236\001\n"
+ "\023UpdateIntentRequest\022?\n"
- + "\006intent\030\001 "
- + "\001(\0132*.google.cloud.dialogflow.cx.v3beta1.IntentB\003\340A\002\022\025\n\r"
+ + "\006intent\030\001 \001(\0132*.google."
+ + "cloud.dialogflow.cx.v3beta1.IntentB\003\340A\002\022\025\n\r"
+ "language_code\030\002 \001(\t\022/\n"
+ "\013update_mask\030\003 \001(\0132\032.google.protobuf.FieldMask\"M\n"
+ "\023DeleteIntentRequest\0226\n"
@@ -193,10 +195,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\006parent\030\001 \001(\tB(\340A\002\372A\"\022"
+ " dialogflow.googleapis.com/Intent\022\025\n"
+ "\013intents_uri\030\002 \001(\tH\000\022K\n"
- + "\017intents_content\030\003"
- + " \001(\01320.google.cloud.dialogflow.cx.v3beta1.InlineSourceH\000\022Z\n"
- + "\014merge_option\030\004 \001(\0162D.google.cloud.dialogflow.cx.v3"
- + "beta1.ImportIntentsRequest.MergeOption\"~\n"
+ + "\017intents_content\030\003 \001("
+ + "\01320.google.cloud.dialogflow.cx.v3beta1.InlineSourceH\000\022Z\n"
+ + "\014merge_option\030\004 \001(\0162D.go"
+ + "ogle.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.MergeOption\"~\n"
+ "\013MergeOption\022\034\n"
+ "\030MERGE_OPTION_UNSPECIFIED\020\000\022\016\n"
+ "\006REJECT\020\001\032\002\010\001\022\013\n"
@@ -209,8 +211,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\025ImportIntentsResponse\0226\n"
+ "\007intents\030\001 \003(\tB%\372A\"\n"
+ " dialogflow.googleapis.com/Intent\022m\n"
- + "\025conflicting_resources\030\002 \001(\0132N.google.cloud.dialogflow.cx."
- + "v3beta1.ImportIntentsResponse.ConflictingResources\032R\n"
+ + "\025conflicting_resources\030\002 \001(\0132N."
+ + "google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources\032R\n"
+ "\024ConflictingResources\022\034\n"
+ "\024intent_display_names\030\001 \003(\t\022\034\n"
+ "\024entity_display_names\030\002 \003(\t\"\027\n"
@@ -221,8 +223,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\007intents\030\002 \003(\tB\003\340A\002\022\032\n"
+ "\013intents_uri\030\003 \001(\tB\003\340A\001H\000\022%\n"
+ "\026intents_content_inline\030\004 \001(\010B\003\340A\001H\000\022]\n"
- + "\013data_format\030\005 \001(\0162C.googl"
- + "e.cloud.dialogflow.cx.v3beta1.ExportIntentsRequest.DataFormatB\003\340A\001\"F\n\n"
+ + "\013data_format\030\005 \001(\0162C.google.cloud.dialo"
+ + "gflow.cx.v3beta1.ExportIntentsRequest.DataFormatB\003\340A\001\"F\n\n"
+ "DataFormat\022\033\n"
+ "\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n"
+ "\004BLOB\020\001\022\010\n"
@@ -231,8 +233,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013destination\"\213\001\n"
+ "\025ExportIntentsResponse\022\025\n"
+ "\013intents_uri\030\001 \001(\tH\000\022P\n"
- + "\017intents_content\030\002 \001(\01325.google.clo"
- + "ud.dialogflow.cx.v3beta1.InlineDestinationH\000B\t\n"
+ + "\017intents_content\030\002"
+ + " \001(\01325.google.cloud.dialogflow.cx.v3beta1.InlineDestinationH\000B\t\n"
+ "\007intents\"\027\n"
+ "\025ExportIntentsMetadata*X\n\n"
+ "IntentView\022\033\n"
@@ -240,43 +242,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\023INTENT_VIEW_PARTIAL\020\001\022\024\n"
+ "\020INTENT_VIEW_FULL\020\0022\266\014\n"
+ "\007Intents\022\312\001\n"
- + "\013ListIntents\0226.google.cloud.dialogflow.cx.v3beta1.List"
- + "IntentsRequest\0327.google.cloud.dialogflow"
- + ".cx.v3beta1.ListIntentsResponse\"J\332A\006pare"
- + "nt\202\323\344\223\002;\0229/v3beta1/{parent=projects/*/locations/*/agents/*}/intents\022\267\001\n"
- + "\tGetIntent\0224.google.cloud.dialogflow.cx.v3beta1.G"
- + "etIntentRequest\032*.google.cloud.dialogflo"
- + "w.cx.v3beta1.Intent\"H\332A\004name\202\323\344\223\002;\0229/v3b"
- + "eta1/{name=projects/*/locations/*/agents/*/intents/*}\022\316\001\n"
- + "\014CreateIntent\0227.google.cloud.dialogflow.cx.v3beta1.CreateIntent"
- + "Request\032*.google.cloud.dialogflow.cx.v3beta1.Intent\"Y\332A\r"
- + "parent,intent\202\323\344\223\002C\"9/v3"
- + "beta1/{parent=projects/*/locations/*/agents/*}/intents:\006intent\022\332\001\n"
- + "\014UpdateIntent\0227.google.cloud.dialogflow.cx.v3beta1.Upd"
- + "ateIntentRequest\032*.google.cloud.dialogfl"
- + "ow.cx.v3beta1.Intent\"e\332A\022intent,update_m"
- + "ask\202\323\344\223\002J2@/v3beta1/{intent.name=project"
- + "s/*/locations/*/agents/*/intents/*}:\006intent\022\251\001\n"
- + "\014DeleteIntent\0227.google.cloud.dialogflow.cx.v3beta1.DeleteIntentRequest\032\026."
- + "google.protobuf.Empty\"H\332A\004name\202\323\344\223\002;*9/v"
- + "3beta1/{name=projects/*/locations/*/agents/*/intents/*}\022\346\001\n\r"
- + "ImportIntents\0228.google.cloud.dialogflow.cx.v3beta1.ImportInt"
- + "entsRequest\032\035.google.longrunning.Operation\"|\312A.\n"
- + "\025ImportIntentsResponse\022\025ImportIn"
- + "tentsMetadata\202\323\344\223\002E\"@/v3beta1/{parent=pr"
- + "ojects/*/locations/*/agents/*}/intents:import:\001*\022\346\001\n\r"
- + "ExportIntents\0228.google.cloud.dialogflow.cx.v3beta1.ExportIntentsReq"
- + "uest\032\035.google.longrunning.Operation\"|\312A.\n"
- + "\025ExportIntentsResponse\022\025ExportIntentsMe"
- + "tadata\202\323\344\223\002E\"@/v3beta1/{parent=projects/"
- + "*/locations/*/agents/*}/intents:export:\001"
- + "*\032x\312A\031dialogflow.googleapis.com\322AYhttps:"
- + "//www.googleapis.com/auth/cloud-platform"
- + ",https://www.googleapis.com/auth/dialogflowB\302\001\n"
- + "&com.google.cloud.dialogflow.cx.v3beta1B\013IntentProtoP\001Z6cloud.google.com/"
- + "go/dialogflow/cx/apiv3beta1/cxpb;cxpb\242\002\002"
- + "DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Beta1\352"
- + "\002&Google::Cloud::Dialogflow::CX::V3beta1b\006proto3"
+ + "\013ListIntents\0226.google.cloud.dialogflow.cx.v3beta1.ListIntentsReques"
+ + "t\0327.google.cloud.dialogflow.cx.v3beta1.L"
+ + "istIntentsResponse\"J\332A\006parent\202\323\344\223\002;\0229/v3"
+ + "beta1/{parent=projects/*/locations/*/agents/*}/intents\022\267\001\n"
+ + "\tGetIntent\0224.google.cloud.dialogflow.cx.v3beta1.GetIntentReque"
+ + "st\032*.google.cloud.dialogflow.cx.v3beta1."
+ + "Intent\"H\332A\004name\202\323\344\223\002;\0229/v3beta1/{name=pr"
+ + "ojects/*/locations/*/agents/*/intents/*}\022\316\001\n"
+ + "\014CreateIntent\0227.google.cloud.dialogflow.cx.v3beta1.CreateIntentRequest\032*.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.Intent\"Y\332A\r"
+ + "parent,intent\202\323\344\223\002C\"9/v3beta1/{parent"
+ + "=projects/*/locations/*/agents/*}/intents:\006intent\022\332\001\n"
+ + "\014UpdateIntent\0227.google.cloud.dialogflow.cx.v3beta1.UpdateIntentRequ"
+ + "est\032*.google.cloud.dialogflow.cx.v3beta1"
+ + ".Intent\"e\332A\022intent,update_mask\202\323\344\223\002J2@/v"
+ + "3beta1/{intent.name=projects/*/locations/*/agents/*/intents/*}:\006intent\022\251\001\n"
+ + "\014DeleteIntent\0227.google.cloud.dialogflow.cx.v3b"
+ + "eta1.DeleteIntentRequest\032\026.google.protob"
+ + "uf.Empty\"H\332A\004name\202\323\344\223\002;*9/v3beta1/{name="
+ + "projects/*/locations/*/agents/*/intents/*}\022\346\001\n\r"
+ + "ImportIntents\0228.google.cloud.dial"
+ + "ogflow.cx.v3beta1.ImportIntentsRequest\032\035.google.longrunning.Operation\"|\312A.\n"
+ + "\025ImportIntentsResponse\022\025ImportIntentsMetadata"
+ + "\202\323\344\223\002E\"@/v3beta1/{parent=projects/*/locations/*/agents/*}/intents:import:\001*\022\346\001\n\r"
+ + "ExportIntents\0228.google.cloud.dialogflow."
+ + "cx.v3beta1.ExportIntentsRequest\032\035.google.longrunning.Operation\"|\312A.\n"
+ + "\025ExportIntentsResponse\022\025ExportIntentsMetadata\202\323\344\223\002E\""
+ + "@/v3beta1/{parent=projects/*/locations/*"
+ + "/agents/*}/intents:export:\001*\032x\312A\031dialogf"
+ + "low.googleapis.com\322AYhttps://www.googlea"
+ + "pis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\302\001\n"
+ + "&com.google.cloud.dialogflow.cx.v3beta1B\013Inten"
+ + "tProtoP\001Z6cloud.google.com/go/dialogflow"
+ + "/cx/apiv3beta1/cxpb;cxpb\242\002\002DF\252\002\"Google.C"
+ + "loud.Dialogflow.Cx.V3Beta1\352\002&Google::Cloud::Dialogflow::CX::V3beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -305,6 +305,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"IsFallback",
"Labels",
"Description",
+ "DtmfPattern",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_TrainingPhrase_descriptor =
internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_descriptor.getNestedType(0);
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookOutput.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookOutput.java
index fa8bef5e7418..58d3e36dc611 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookOutput.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookOutput.java
@@ -357,7 +357,7 @@ public com.google.protobuf.ByteString getExecutionSummaryBytes() {
*
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
+ * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
* @return The enum numeric value on the wire for state.
*/
@java.lang.Override
@@ -377,7 +377,7 @@ public int getStateValue() {
*
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
+ * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
* @return The state.
*/
@java.lang.Override
@@ -952,7 +952,7 @@ public Builder setExecutionSummaryBytes(com.google.protobuf.ByteString value) {
*
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
+ * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
* @return The enum numeric value on the wire for state.
*/
@java.lang.Override
@@ -972,7 +972,7 @@ public int getStateValue() {
*
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
+ * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
* @param value The enum numeric value on the wire for state to set.
* @return This builder for chaining.
*/
@@ -995,7 +995,7 @@ public Builder setStateValue(int value) {
*
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
+ * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
* @return The state.
*/
@java.lang.Override
@@ -1019,7 +1019,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State getState() {
*
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
+ * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
* @param value The state to set.
* @return This builder for chaining.
*/
@@ -1045,7 +1045,7 @@ public Builder setState(com.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.St
*
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
+ * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookOutputOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookOutputOrBuilder.java
index 150f47b8692e..8f95bb0a741a 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookOutputOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookOutputOrBuilder.java
@@ -63,7 +63,7 @@ public interface PlaybookOutputOrBuilder
*
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
+ * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
* @return The enum numeric value on the wire for state.
*/
@java.lang.Deprecated
@@ -80,7 +80,7 @@ public interface PlaybookOutputOrBuilder
*
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
+ * google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
* @return The state.
*/
@java.lang.Deprecated
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTraceMetadata.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTraceMetadata.java
new file mode 100644
index 000000000000..5c234c325004
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTraceMetadata.java
@@ -0,0 +1,818 @@
+/*
+ * Copyright 2026 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/dialogflow/cx/v3beta1/trace.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+/**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata}
+ */
+@com.google.protobuf.Generated
+public final class PlaybookTraceMetadata extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata)
+ PlaybookTraceMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "PlaybookTraceMetadata");
+ }
+
+ // Use PlaybookTraceMetadata.newBuilder() to construct.
+ private PlaybookTraceMetadata(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private PlaybookTraceMetadata() {
+ playbook_ = "";
+ displayName_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.TraceProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookTraceMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.TraceProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookTraceMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.class,
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.Builder.class);
+ }
+
+ public static final int PLAYBOOK_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object playbook_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the playbook.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ *
+ *
+ *
+ * string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The playbook.
+ */
+ @java.lang.Override
+ public java.lang.String getPlaybook() {
+ java.lang.Object ref = playbook_;
+ 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();
+ playbook_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the playbook.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ *
+ *
+ *
+ * string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for playbook.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getPlaybookBytes() {
+ java.lang.Object ref = playbook_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ playbook_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the playbook.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The displayName.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ 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();
+ displayName_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the playbook.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for displayName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = 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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(playbook_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, playbook_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(playbook_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, playbook_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_);
+ }
+ size += getUnknownFields().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.PlaybookTraceMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata other =
+ (com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata) obj;
+
+ if (!getPlaybook().equals(other.getPlaybook())) return false;
+ if (!getDisplayName().equals(other.getDisplayName())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + PLAYBOOK_FIELD_NUMBER;
+ hash = (53 * hash) + getPlaybook().hashCode();
+ hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayName().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata 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.PlaybookTraceMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata 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.PlaybookTraceMetadata parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata 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.PlaybookTraceMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.PlaybookTraceMetadata 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Required. The unique identifier of the playbook.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ *
+ *
+ *
+ * string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The playbook.
+ */
+ public java.lang.String getPlaybook() {
+ java.lang.Object ref = playbook_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ playbook_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the playbook.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ *
+ *
+ *
+ * string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for playbook.
+ */
+ public com.google.protobuf.ByteString getPlaybookBytes() {
+ java.lang.Object ref = playbook_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ playbook_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the playbook.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ *
+ *
+ *
+ * string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The playbook to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlaybook(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ playbook_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the playbook.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ *
+ *
+ *
+ * string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPlaybook() {
+ playbook_ = getDefaultInstance().getPlaybook();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the playbook.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ *
+ *
+ *
+ * string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for playbook to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlaybookBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ playbook_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object displayName_ = "";
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the playbook.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The displayName.
+ */
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the playbook.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for displayName.
+ */
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the playbook.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ displayName_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the playbook.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayName() {
+ displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the playbook.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ displayName_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The unique identifier of the playbook.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ *
+ *
+ *
+ * string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The playbook.
+ */
+ java.lang.String getPlaybook();
+
+ /**
+ *
+ *
+ *
+ * Required. The unique identifier of the playbook.
+ * Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ *
+ *
+ *
+ * string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for playbook.
+ */
+ com.google.protobuf.ByteString getPlaybookBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the playbook.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The displayName.
+ */
+ java.lang.String getDisplayName();
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the playbook.
+ *
+ *
+ * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for displayName.
+ */
+ com.google.protobuf.ByteString getDisplayNameBytes();
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTransition.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTransition.java
index a029fbe00a8b..725178fae459 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTransition.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTransition.java
@@ -200,7 +200,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=390
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=467
* @return Whether the inputActionParameters field is set.
*/
@java.lang.Override
@@ -219,7 +219,7 @@ public boolean hasInputActionParameters() {
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=390
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=467
* @return The inputActionParameters.
*/
@java.lang.Override
@@ -890,7 +890,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=390
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=467
* @return Whether the inputActionParameters field is set.
*/
@java.lang.Deprecated
@@ -908,7 +908,7 @@ public boolean hasInputActionParameters() {
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=390
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=467
* @return The inputActionParameters.
*/
@java.lang.Deprecated
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTransitionOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTransitionOrBuilder.java
index ec95ed61b280..6cf9e5c71e03 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTransitionOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PlaybookTransitionOrBuilder.java
@@ -96,7 +96,7 @@ public interface PlaybookTransitionOrBuilder
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=390
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=467
* @return Whether the inputActionParameters field is set.
*/
@java.lang.Deprecated
@@ -112,7 +112,7 @@ public interface PlaybookTransitionOrBuilder
* .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.PlaybookTransition.input_action_parameters is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=390
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=467
* @return The inputActionParameters.
*/
@java.lang.Deprecated
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java
index ed3784b9987a..5d41629de8d2 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java
@@ -1349,7 +1349,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SearchConfigOrBuilder getSearchCon
*
* @deprecated
* google.cloud.dialogflow.cx.v3beta1.QueryParameters.populate_data_store_connection_signals
- * is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=774
+ * is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=775
* @return The populateDataStoreConnectionSignals.
*/
@java.lang.Override
@@ -5953,7 +5953,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SearchConfigOrBuilder getSearchCon
*
* @deprecated
* google.cloud.dialogflow.cx.v3beta1.QueryParameters.populate_data_store_connection_signals
- * is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=774
+ * is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=775
* @return The populateDataStoreConnectionSignals.
*/
@java.lang.Override
@@ -5978,7 +5978,7 @@ public boolean getPopulateDataStoreConnectionSignals() {
*
* @deprecated
* google.cloud.dialogflow.cx.v3beta1.QueryParameters.populate_data_store_connection_signals
- * is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=774
+ * is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=775
* @param value The populateDataStoreConnectionSignals to set.
* @return This builder for chaining.
*/
@@ -6007,7 +6007,7 @@ public Builder setPopulateDataStoreConnectionSignals(boolean value) {
*
* @deprecated
* google.cloud.dialogflow.cx.v3beta1.QueryParameters.populate_data_store_connection_signals
- * is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=774
+ * is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=775
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java
index 79c8eb18ca74..9d30e22700e6 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java
@@ -965,7 +965,7 @@ java.lang.String getWebhookHeadersOrDefault(
*
* @deprecated
* google.cloud.dialogflow.cx.v3beta1.QueryParameters.populate_data_store_connection_signals
- * is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=774
+ * is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=775
* @return The populateDataStoreConnectionSignals.
*/
@java.lang.Deprecated
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java
index 4c0e3942f792..a10adbba0c78 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java
@@ -60,6 +60,7 @@ private QueryResult() {
webhookTags_ = com.google.protobuf.LazyStringArrayList.emptyList();
webhookStatuses_ = java.util.Collections.emptyList();
webhookPayloads_ = java.util.Collections.emptyList();
+ traceBlocks_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -1336,7 +1337,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getCurrentFlowOrBuil
* .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1110
+ * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1111
* @return Whether the intent field is set.
*/
@java.lang.Override
@@ -1360,7 +1361,7 @@ public boolean hasIntent() {
* .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1110
+ * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1111
* @return The intent.
*/
@java.lang.Override
@@ -1414,7 +1415,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentOrBuilder
* float intent_detection_confidence = 9 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1121
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1122
* @return The intentDetectionConfidence.
*/
@java.lang.Override
@@ -1852,6 +1853,108 @@ public boolean hasDataStoreConnectionSignals() {
: dataStoreConnectionSignals_;
}
+ public static final int TRACE_BLOCKS_FIELD_NUMBER = 37;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.dialogflow.cx.v3beta1.TraceBlockOrBuilder>
+ getTraceBlocksOrBuilderList() {
+ return traceBlocks_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getTraceBlocksCount() {
+ return traceBlocks_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.TraceBlock getTraceBlocks(int index) {
+ return traceBlocks_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.TraceBlockOrBuilder getTraceBlocksOrBuilder(
+ int index) {
+ return traceBlocks_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1941,6 +2044,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000200) != 0)) {
output.writeMessage(35, getDataStoreConnectionSignals());
}
+ for (int i = 0; i < traceBlocks_.size(); i++) {
+ output.writeMessage(37, traceBlocks_.get(i));
+ }
getUnknownFields().writeTo(output);
}
@@ -2047,6 +2153,9 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
35, getDataStoreConnectionSignals());
}
+ for (int i = 0; i < traceBlocks_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(37, traceBlocks_.get(i));
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -2115,6 +2224,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getDataStoreConnectionSignals().equals(other.getDataStoreConnectionSignals()))
return false;
}
+ if (!getTraceBlocksList().equals(other.getTraceBlocksList())) return false;
if (!getQueryCase().equals(other.getQueryCase())) return false;
switch (queryCase_) {
case 1:
@@ -2220,6 +2330,10 @@ public int hashCode() {
hash = (37 * hash) + DATA_STORE_CONNECTION_SIGNALS_FIELD_NUMBER;
hash = (53 * hash) + getDataStoreConnectionSignals().hashCode();
}
+ if (getTraceBlocksCount() > 0) {
+ hash = (37 * hash) + TRACE_BLOCKS_FIELD_NUMBER;
+ hash = (53 * hash) + getTraceBlocksList().hashCode();
+ }
switch (queryCase_) {
case 1:
hash = (37 * hash) + TEXT_FIELD_NUMBER;
@@ -2399,6 +2513,7 @@ private void maybeForceBuilderInitialization() {
internalGetSentimentAnalysisResultFieldBuilder();
internalGetAdvancedSettingsFieldBuilder();
internalGetDataStoreConnectionSignalsFieldBuilder();
+ internalGetTraceBlocksFieldBuilder();
}
}
@@ -2493,6 +2608,13 @@ public Builder clear() {
dataStoreConnectionSignalsBuilder_.dispose();
dataStoreConnectionSignalsBuilder_ = null;
}
+ if (traceBlocksBuilder_ == null) {
+ traceBlocks_ = java.util.Collections.emptyList();
+ } else {
+ traceBlocks_ = null;
+ traceBlocksBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x02000000);
queryCase_ = 0;
query_ = null;
return this;
@@ -2569,6 +2691,15 @@ private void buildPartialRepeatedFields(
} else {
result.webhookPayloads_ = webhookPayloadsBuilder_.build();
}
+ if (traceBlocksBuilder_ == null) {
+ if (((bitField0_ & 0x02000000) != 0)) {
+ traceBlocks_ = java.util.Collections.unmodifiableList(traceBlocks_);
+ bitField0_ = (bitField0_ & ~0x02000000);
+ }
+ result.traceBlocks_ = traceBlocks_;
+ } else {
+ result.traceBlocks_ = traceBlocksBuilder_.build();
+ }
}
private void buildPartial0(com.google.cloud.dialogflow.cx.v3beta1.QueryResult result) {
@@ -2849,6 +2980,33 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.QueryResult othe
if (other.hasDataStoreConnectionSignals()) {
mergeDataStoreConnectionSignals(other.getDataStoreConnectionSignals());
}
+ if (traceBlocksBuilder_ == null) {
+ if (!other.traceBlocks_.isEmpty()) {
+ if (traceBlocks_.isEmpty()) {
+ traceBlocks_ = other.traceBlocks_;
+ bitField0_ = (bitField0_ & ~0x02000000);
+ } else {
+ ensureTraceBlocksIsMutable();
+ traceBlocks_.addAll(other.traceBlocks_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.traceBlocks_.isEmpty()) {
+ if (traceBlocksBuilder_.isEmpty()) {
+ traceBlocksBuilder_.dispose();
+ traceBlocksBuilder_ = null;
+ traceBlocks_ = other.traceBlocks_;
+ bitField0_ = (bitField0_ & ~0x02000000);
+ traceBlocksBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+ ? internalGetTraceBlocksFieldBuilder()
+ : null;
+ } else {
+ traceBlocksBuilder_.addAllMessages(other.traceBlocks_);
+ }
+ }
+ }
switch (other.getQueryCase()) {
case TEXT:
{
@@ -3107,6 +3265,20 @@ public Builder mergeFrom(
bitField0_ |= 0x01000000;
break;
} // case 282
+ case 298:
+ {
+ com.google.cloud.dialogflow.cx.v3beta1.TraceBlock m =
+ input.readMessage(
+ com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.parser(),
+ extensionRegistry);
+ if (traceBlocksBuilder_ == null) {
+ ensureTraceBlocksIsMutable();
+ traceBlocks_.add(m);
+ } else {
+ traceBlocksBuilder_.addMessage(m);
+ }
+ break;
+ } // case 298
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -7002,7 +7174,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getCurrentFlowOrBuil
* .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1110
+ * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1111
* @return Whether the intent field is set.
*/
@java.lang.Deprecated
@@ -7025,7 +7197,7 @@ public boolean hasIntent() {
* .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1110
+ * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1111
* @return The intent.
*/
@java.lang.Deprecated
@@ -7252,7 +7424,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentOrBuilder
* float intent_detection_confidence = 9 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1121
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1122
* @return The intentDetectionConfidence.
*/
@java.lang.Override
@@ -7279,7 +7451,7 @@ public float getIntentDetectionConfidence() {
* float intent_detection_confidence = 9 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1121
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1122
* @param value The intentDetectionConfidence to set.
* @return This builder for chaining.
*/
@@ -7310,7 +7482,7 @@ public Builder setIntentDetectionConfidence(float value) {
* float intent_detection_confidence = 9 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1121
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1122
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -8824,6 +8996,471 @@ public Builder clearDataStoreConnectionSignals() {
return dataStoreConnectionSignalsBuilder_;
}
+ private java.util.List
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getTraceBlocksCount() {
+ if (traceBlocksBuilder_ == null) {
+ return traceBlocks_.size();
+ } else {
+ return traceBlocksBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.TraceBlock getTraceBlocks(int index) {
+ if (traceBlocksBuilder_ == null) {
+ return traceBlocks_.get(index);
+ } else {
+ return traceBlocksBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setTraceBlocks(
+ int index, com.google.cloud.dialogflow.cx.v3beta1.TraceBlock value) {
+ if (traceBlocksBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTraceBlocksIsMutable();
+ traceBlocks_.set(index, value);
+ onChanged();
+ } else {
+ traceBlocksBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setTraceBlocks(
+ int index, com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.Builder builderForValue) {
+ if (traceBlocksBuilder_ == null) {
+ ensureTraceBlocksIsMutable();
+ traceBlocks_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ traceBlocksBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addTraceBlocks(com.google.cloud.dialogflow.cx.v3beta1.TraceBlock value) {
+ if (traceBlocksBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTraceBlocksIsMutable();
+ traceBlocks_.add(value);
+ onChanged();
+ } else {
+ traceBlocksBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addTraceBlocks(
+ int index, com.google.cloud.dialogflow.cx.v3beta1.TraceBlock value) {
+ if (traceBlocksBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTraceBlocksIsMutable();
+ traceBlocks_.add(index, value);
+ onChanged();
+ } else {
+ traceBlocksBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addTraceBlocks(
+ com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.Builder builderForValue) {
+ if (traceBlocksBuilder_ == null) {
+ ensureTraceBlocksIsMutable();
+ traceBlocks_.add(builderForValue.build());
+ onChanged();
+ } else {
+ traceBlocksBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addTraceBlocks(
+ int index, com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.Builder builderForValue) {
+ if (traceBlocksBuilder_ == null) {
+ ensureTraceBlocksIsMutable();
+ traceBlocks_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ traceBlocksBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllTraceBlocks(
+ java.lang.Iterable extends com.google.cloud.dialogflow.cx.v3beta1.TraceBlock> values) {
+ if (traceBlocksBuilder_ == null) {
+ ensureTraceBlocksIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, traceBlocks_);
+ onChanged();
+ } else {
+ traceBlocksBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearTraceBlocks() {
+ if (traceBlocksBuilder_ == null) {
+ traceBlocks_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x02000000);
+ onChanged();
+ } else {
+ traceBlocksBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeTraceBlocks(int index) {
+ if (traceBlocksBuilder_ == null) {
+ ensureTraceBlocksIsMutable();
+ traceBlocks_.remove(index);
+ onChanged();
+ } else {
+ traceBlocksBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.Builder getTraceBlocksBuilder(
+ int index) {
+ return internalGetTraceBlocksFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.TraceBlockOrBuilder getTraceBlocksOrBuilder(
+ int index) {
+ if (traceBlocksBuilder_ == null) {
+ return traceBlocks_.get(index);
+ } else {
+ return traceBlocksBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List extends com.google.cloud.dialogflow.cx.v3beta1.TraceBlockOrBuilder>
+ getTraceBlocksOrBuilderList() {
+ if (traceBlocksBuilder_ != null) {
+ return traceBlocksBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(traceBlocks_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.Builder addTraceBlocksBuilder() {
+ return internalGetTraceBlocksFieldBuilder()
+ .addBuilder(com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.Builder addTraceBlocksBuilder(
+ int index) {
+ return internalGetTraceBlocksFieldBuilder()
+ .addBuilder(
+ index, com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1110
+ * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1111
* @return Whether the intent field is set.
*/
@java.lang.Deprecated
@@ -894,7 +894,7 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa
* .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See
- * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1110
+ * google/cloud/dialogflow/cx/v3beta1/session.proto;l=1111
* @return The intent.
*/
@java.lang.Deprecated
@@ -935,7 +935,7 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa
* float intent_detection_confidence = 9 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1121
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1122
* @return The intentDetectionConfidence.
*/
@java.lang.Deprecated
@@ -1263,5 +1263,86 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa
com.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignalsOrBuilder
getDataStoreConnectionSignalsOrBuilder();
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.TraceBlock getTraceBlocks(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getTraceBlocksCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List extends com.google.cloud.dialogflow.cx.v3beta1.TraceBlockOrBuilder>
+ getTraceBlocksOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Optional. Contains the sequence of trace blocks from the current
+ * conversation turn. Trace blocks are ordered chronologically and contain
+ * detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ * playbook invocations, agent utterances and user utterances.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.TraceBlockOrBuilder getTraceBlocksOrBuilder(int index);
+
com.google.cloud.dialogflow.cx.v3beta1.QueryResult.QueryCase getQueryCase();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java
index daedb53be1d2..f6ab3007ca68 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java
@@ -177,342 +177,378 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
- "\n0google/cloud/dialogflow/cx/v3beta1/ses"
- + "sion.proto\022\"google.cloud.dialogflow.cx.v"
+ "\n"
+ + "0google/cloud/dialogflow/cx/v3beta1/session.proto\022\"google.cloud.dialogflow.cx.v"
+ "3beta1\032\034google/api/annotations.proto\032\027go"
+ "ogle/api/client.proto\032\037google/api/field_"
+ "behavior.proto\032\031google/api/resource.prot"
- + "o\032:google/cloud/dialogflow/cx/v3beta1/ad"
- + "vanced_settings.proto\0325google/cloud/dial"
- + "ogflow/cx/v3beta1/audio_config.proto\032>go"
- + "ogle/cloud/dialogflow/cx/v3beta1/data_st"
- + "ore_connection.proto\0320google/cloud/dialo"
- + "gflow/cx/v3beta1/example.proto\032-google/c"
- + "loud/dialogflow/cx/v3beta1/flow.proto\032
+ * Metadata of the speech-to-text and text-to-speech processing.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata}
+ */
+@com.google.protobuf.Generated
+public final class SpeechProcessingMetadata extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata)
+ SpeechProcessingMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "SpeechProcessingMetadata");
+ }
+
+ // Use SpeechProcessingMetadata.newBuilder() to construct.
+ private SpeechProcessingMetadata(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private SpeechProcessingMetadata() {
+ displayName_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.TraceProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_SpeechProcessingMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.TraceProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_SpeechProcessingMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.class,
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.Builder.class);
+ }
+
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the speech processing.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The displayName.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ 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();
+ displayName_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the speech processing.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for displayName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = 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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, displayName_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, displayName_);
+ }
+ size += getUnknownFields().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.SpeechProcessingMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata other =
+ (com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata) obj;
+
+ if (!getDisplayName().equals(other.getDisplayName())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayName().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata 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.SpeechProcessingMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata 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.SpeechProcessingMetadata parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata 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.SpeechProcessingMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.SpeechProcessingMetadata 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and text-to-speech processing.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Output only. The display name of the speech processing.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The displayName.
+ */
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the speech processing.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for displayName.
+ */
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the speech processing.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ displayName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the speech processing.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayName() {
+ displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the speech processing.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ displayName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Output only. The display name of the speech processing.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The displayName.
+ */
+ java.lang.String getDisplayName();
+
+ /**
+ *
+ *
+ *
+ * Output only. The display name of the speech processing.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for displayName.
+ */
+ com.google.protobuf.ByteString getDisplayNameBytes();
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TraceBlock.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TraceBlock.java
new file mode 100644
index 000000000000..0d115d0bcc93
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TraceBlock.java
@@ -0,0 +1,3374 @@
+/*
+ * Copyright 2026 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/dialogflow/cx/v3beta1/trace.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+/**
+ *
+ *
+ *
+ * The trace block tracks a sequence of actions taken by the agent in a flow or
+ * a playbook.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TraceBlock}
+ */
+@com.google.protobuf.Generated
+public final class TraceBlock extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.TraceBlock)
+ TraceBlockOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "TraceBlock");
+ }
+
+ // Use TraceBlock.newBuilder() to construct.
+ private TraceBlock(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private TraceBlock() {
+ actions_ = java.util.Collections.emptyList();
+ endState_ = 0;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.TraceProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_TraceBlock_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.TraceProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_TraceBlock_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.class,
+ com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.Builder.class);
+ }
+
+ private int bitField0_;
+ private int traceMetadataCase_ = 0;
+
+ @SuppressWarnings("serial")
+ private java.lang.Object traceMetadata_;
+
+ public enum TraceMetadataCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
+ PLAYBOOK_TRACE_METADATA(1),
+ FLOW_TRACE_METADATA(2),
+ SPEECH_PROCESSING_METADATA(8),
+ TRACEMETADATA_NOT_SET(0);
+ private final int value;
+
+ private TraceMetadataCase(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 TraceMetadataCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static TraceMetadataCase forNumber(int value) {
+ switch (value) {
+ case 1:
+ return PLAYBOOK_TRACE_METADATA;
+ case 2:
+ return FLOW_TRACE_METADATA;
+ case 8:
+ return SPEECH_PROCESSING_METADATA;
+ case 0:
+ return TRACEMETADATA_NOT_SET;
+ default:
+ return null;
+ }
+ }
+
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public TraceMetadataCase getTraceMetadataCase() {
+ return TraceMetadataCase.forNumber(traceMetadataCase_);
+ }
+
+ public static final int PLAYBOOK_TRACE_METADATA_FIELD_NUMBER = 1;
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ *
+ * @return Whether the playbookTraceMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasPlaybookTraceMetadata() {
+ return traceMetadataCase_ == 1;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ *
+ * @return The playbookTraceMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata getPlaybookTraceMetadata() {
+ if (traceMetadataCase_ == 1) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadataOrBuilder
+ getPlaybookTraceMetadataOrBuilder() {
+ if (traceMetadataCase_ == 1) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.getDefaultInstance();
+ }
+
+ public static final int FLOW_TRACE_METADATA_FIELD_NUMBER = 2;
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ *
+ * @return Whether the flowTraceMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasFlowTraceMetadata() {
+ return traceMetadataCase_ == 2;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ *
+ * @return The flowTraceMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata getFlowTraceMetadata() {
+ if (traceMetadataCase_ == 2) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadataOrBuilder
+ getFlowTraceMetadataOrBuilder() {
+ if (traceMetadataCase_ == 2) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.getDefaultInstance();
+ }
+
+ public static final int SPEECH_PROCESSING_METADATA_FIELD_NUMBER = 8;
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ *
+ * @return Whether the speechProcessingMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasSpeechProcessingMetadata() {
+ return traceMetadataCase_ == 8;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ *
+ * @return The speechProcessingMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata
+ getSpeechProcessingMetadata() {
+ if (traceMetadataCase_ == 8) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadataOrBuilder
+ getSpeechProcessingMetadataOrBuilder() {
+ if (traceMetadataCase_ == 8) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.getDefaultInstance();
+ }
+
+ public static final int ACTIONS_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ @java.lang.Override
+ public java.util.List
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.dialogflow.cx.v3beta1.ActionOrBuilder>
+ getActionsOrBuilderList() {
+ return actions_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ @java.lang.Override
+ public int getActionsCount() {
+ return actions_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.Action getActions(int index) {
+ return actions_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ActionOrBuilder getActionsOrBuilder(int index) {
+ return actions_.get(index);
+ }
+
+ public static final int START_TIME_FIELD_NUMBER = 4;
+ private com.google.protobuf.Timestamp startTime_;
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the startTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasStartTime() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The startTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getStartTime() {
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+ }
+
+ public static final int COMPLETE_TIME_FIELD_NUMBER = 5;
+ private com.google.protobuf.Timestamp completeTime_;
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the completeTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasCompleteTime() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The completeTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getCompleteTime() {
+ return completeTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : completeTime_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder() {
+ return completeTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : completeTime_;
+ }
+
+ public static final int INPUT_PARAMETERS_FIELD_NUMBER = 9;
+ private com.google.protobuf.Struct inputParameters_;
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the inputParameters field is set.
+ */
+ @java.lang.Override
+ public boolean hasInputParameters() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The inputParameters.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Struct getInputParameters() {
+ return inputParameters_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : inputParameters_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.StructOrBuilder getInputParametersOrBuilder() {
+ return inputParameters_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : inputParameters_;
+ }
+
+ public static final int OUTPUT_PARAMETERS_FIELD_NUMBER = 6;
+ private com.google.protobuf.Struct outputParameters_;
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the outputParameters field is set.
+ */
+ @java.lang.Override
+ public boolean hasOutputParameters() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The outputParameters.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Struct getOutputParameters() {
+ return outputParameters_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : outputParameters_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.StructOrBuilder getOutputParametersOrBuilder() {
+ return outputParameters_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : outputParameters_;
+ }
+
+ public static final int END_STATE_FIELD_NUMBER = 7;
+ private int endState_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. Output only. The end state of the trace block.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for endState.
+ */
+ @java.lang.Override
+ public int getEndStateValue() {
+ return endState_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Output only. The end state of the trace block.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The endState.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.OutputState getEndState() {
+ com.google.cloud.dialogflow.cx.v3beta1.OutputState result =
+ com.google.cloud.dialogflow.cx.v3beta1.OutputState.forNumber(endState_);
+ return result == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.OutputState.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 (traceMetadataCase_ == 1) {
+ output.writeMessage(
+ 1, (com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata) traceMetadata_);
+ }
+ if (traceMetadataCase_ == 2) {
+ output.writeMessage(
+ 2, (com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata) traceMetadata_);
+ }
+ for (int i = 0; i < actions_.size(); i++) {
+ output.writeMessage(3, actions_.get(i));
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(4, getStartTime());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(5, getCompleteTime());
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ output.writeMessage(6, getOutputParameters());
+ }
+ if (endState_
+ != com.google.cloud.dialogflow.cx.v3beta1.OutputState.OUTPUT_STATE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(7, endState_);
+ }
+ if (traceMetadataCase_ == 8) {
+ output.writeMessage(
+ 8, (com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata) traceMetadata_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeMessage(9, getInputParameters());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (traceMetadataCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, (com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata) traceMetadata_);
+ }
+ if (traceMetadataCase_ == 2) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, (com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata) traceMetadata_);
+ }
+ for (int i = 0; i < actions_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, actions_.get(i));
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCompleteTime());
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getOutputParameters());
+ }
+ if (endState_
+ != com.google.cloud.dialogflow.cx.v3beta1.OutputState.OUTPUT_STATE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, endState_);
+ }
+ if (traceMetadataCase_ == 8) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 8, (com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata) traceMetadata_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getInputParameters());
+ }
+ size += getUnknownFields().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.TraceBlock)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3beta1.TraceBlock other =
+ (com.google.cloud.dialogflow.cx.v3beta1.TraceBlock) obj;
+
+ if (!getActionsList().equals(other.getActionsList())) return false;
+ if (hasStartTime() != other.hasStartTime()) return false;
+ if (hasStartTime()) {
+ if (!getStartTime().equals(other.getStartTime())) return false;
+ }
+ if (hasCompleteTime() != other.hasCompleteTime()) return false;
+ if (hasCompleteTime()) {
+ if (!getCompleteTime().equals(other.getCompleteTime())) return false;
+ }
+ if (hasInputParameters() != other.hasInputParameters()) return false;
+ if (hasInputParameters()) {
+ if (!getInputParameters().equals(other.getInputParameters())) return false;
+ }
+ if (hasOutputParameters() != other.hasOutputParameters()) return false;
+ if (hasOutputParameters()) {
+ if (!getOutputParameters().equals(other.getOutputParameters())) return false;
+ }
+ if (endState_ != other.endState_) return false;
+ if (!getTraceMetadataCase().equals(other.getTraceMetadataCase())) return false;
+ switch (traceMetadataCase_) {
+ case 1:
+ if (!getPlaybookTraceMetadata().equals(other.getPlaybookTraceMetadata())) return false;
+ break;
+ case 2:
+ if (!getFlowTraceMetadata().equals(other.getFlowTraceMetadata())) return false;
+ break;
+ case 8:
+ if (!getSpeechProcessingMetadata().equals(other.getSpeechProcessingMetadata()))
+ return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getActionsCount() > 0) {
+ hash = (37 * hash) + ACTIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getActionsList().hashCode();
+ }
+ if (hasStartTime()) {
+ hash = (37 * hash) + START_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getStartTime().hashCode();
+ }
+ if (hasCompleteTime()) {
+ hash = (37 * hash) + COMPLETE_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getCompleteTime().hashCode();
+ }
+ if (hasInputParameters()) {
+ hash = (37 * hash) + INPUT_PARAMETERS_FIELD_NUMBER;
+ hash = (53 * hash) + getInputParameters().hashCode();
+ }
+ if (hasOutputParameters()) {
+ hash = (37 * hash) + OUTPUT_PARAMETERS_FIELD_NUMBER;
+ hash = (53 * hash) + getOutputParameters().hashCode();
+ }
+ hash = (37 * hash) + END_STATE_FIELD_NUMBER;
+ hash = (53 * hash) + endState_;
+ switch (traceMetadataCase_) {
+ case 1:
+ hash = (37 * hash) + PLAYBOOK_TRACE_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + getPlaybookTraceMetadata().hashCode();
+ break;
+ case 2:
+ hash = (37 * hash) + FLOW_TRACE_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + getFlowTraceMetadata().hashCode();
+ break;
+ case 8:
+ hash = (37 * hash) + SPEECH_PROCESSING_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + getSpeechProcessingMetadata().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TraceBlock parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TraceBlock 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.TraceBlock parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TraceBlock 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.TraceBlock parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TraceBlock 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.TraceBlock parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TraceBlock parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TraceBlock parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TraceBlock parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TraceBlock parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TraceBlock parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.TraceBlock 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * The trace block tracks a sequence of actions taken by the agent in a flow or
+ * a playbook.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TraceBlock}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ *
+ * @return Whether the playbookTraceMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasPlaybookTraceMetadata() {
+ return traceMetadataCase_ == 1;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ *
+ * @return The playbookTraceMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata getPlaybookTraceMetadata() {
+ if (playbookTraceMetadataBuilder_ == null) {
+ if (traceMetadataCase_ == 1) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.getDefaultInstance();
+ } else {
+ if (traceMetadataCase_ == 1) {
+ return playbookTraceMetadataBuilder_.getMessage();
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ */
+ public Builder setPlaybookTraceMetadata(
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata value) {
+ if (playbookTraceMetadataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ traceMetadata_ = value;
+ onChanged();
+ } else {
+ playbookTraceMetadataBuilder_.setMessage(value);
+ }
+ traceMetadataCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ */
+ public Builder setPlaybookTraceMetadata(
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.Builder builderForValue) {
+ if (playbookTraceMetadataBuilder_ == null) {
+ traceMetadata_ = builderForValue.build();
+ onChanged();
+ } else {
+ playbookTraceMetadataBuilder_.setMessage(builderForValue.build());
+ }
+ traceMetadataCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ */
+ public Builder mergePlaybookTraceMetadata(
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata value) {
+ if (playbookTraceMetadataBuilder_ == null) {
+ if (traceMetadataCase_ == 1
+ && traceMetadata_
+ != com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata
+ .getDefaultInstance()) {
+ traceMetadata_ =
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.newBuilder(
+ (com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata) traceMetadata_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ traceMetadata_ = value;
+ }
+ onChanged();
+ } else {
+ if (traceMetadataCase_ == 1) {
+ playbookTraceMetadataBuilder_.mergeFrom(value);
+ } else {
+ playbookTraceMetadataBuilder_.setMessage(value);
+ }
+ }
+ traceMetadataCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ */
+ public Builder clearPlaybookTraceMetadata() {
+ if (playbookTraceMetadataBuilder_ == null) {
+ if (traceMetadataCase_ == 1) {
+ traceMetadataCase_ = 0;
+ traceMetadata_ = null;
+ onChanged();
+ }
+ } else {
+ if (traceMetadataCase_ == 1) {
+ traceMetadataCase_ = 0;
+ traceMetadata_ = null;
+ }
+ playbookTraceMetadataBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.Builder
+ getPlaybookTraceMetadataBuilder() {
+ return internalGetPlaybookTraceMetadataFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadataOrBuilder
+ getPlaybookTraceMetadataOrBuilder() {
+ if ((traceMetadataCase_ == 1) && (playbookTraceMetadataBuilder_ != null)) {
+ return playbookTraceMetadataBuilder_.getMessageOrBuilder();
+ } else {
+ if (traceMetadataCase_ == 1) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata,
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadataOrBuilder>
+ internalGetPlaybookTraceMetadataFieldBuilder() {
+ if (playbookTraceMetadataBuilder_ == null) {
+ if (!(traceMetadataCase_ == 1)) {
+ traceMetadata_ =
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.getDefaultInstance();
+ }
+ playbookTraceMetadataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata,
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadataOrBuilder>(
+ (com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata) traceMetadata_,
+ getParentForChildren(),
+ isClean());
+ traceMetadata_ = null;
+ }
+ traceMetadataCase_ = 1;
+ onChanged();
+ return playbookTraceMetadataBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata,
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadataOrBuilder>
+ flowTraceMetadataBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ *
+ * @return Whether the flowTraceMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasFlowTraceMetadata() {
+ return traceMetadataCase_ == 2;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ *
+ * @return The flowTraceMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata getFlowTraceMetadata() {
+ if (flowTraceMetadataBuilder_ == null) {
+ if (traceMetadataCase_ == 2) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.getDefaultInstance();
+ } else {
+ if (traceMetadataCase_ == 2) {
+ return flowTraceMetadataBuilder_.getMessage();
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ */
+ public Builder setFlowTraceMetadata(
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata value) {
+ if (flowTraceMetadataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ traceMetadata_ = value;
+ onChanged();
+ } else {
+ flowTraceMetadataBuilder_.setMessage(value);
+ }
+ traceMetadataCase_ = 2;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ */
+ public Builder setFlowTraceMetadata(
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.Builder builderForValue) {
+ if (flowTraceMetadataBuilder_ == null) {
+ traceMetadata_ = builderForValue.build();
+ onChanged();
+ } else {
+ flowTraceMetadataBuilder_.setMessage(builderForValue.build());
+ }
+ traceMetadataCase_ = 2;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ */
+ public Builder mergeFlowTraceMetadata(
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata value) {
+ if (flowTraceMetadataBuilder_ == null) {
+ if (traceMetadataCase_ == 2
+ && traceMetadata_
+ != com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.getDefaultInstance()) {
+ traceMetadata_ =
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.newBuilder(
+ (com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata) traceMetadata_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ traceMetadata_ = value;
+ }
+ onChanged();
+ } else {
+ if (traceMetadataCase_ == 2) {
+ flowTraceMetadataBuilder_.mergeFrom(value);
+ } else {
+ flowTraceMetadataBuilder_.setMessage(value);
+ }
+ }
+ traceMetadataCase_ = 2;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ */
+ public Builder clearFlowTraceMetadata() {
+ if (flowTraceMetadataBuilder_ == null) {
+ if (traceMetadataCase_ == 2) {
+ traceMetadataCase_ = 0;
+ traceMetadata_ = null;
+ onChanged();
+ }
+ } else {
+ if (traceMetadataCase_ == 2) {
+ traceMetadataCase_ = 0;
+ traceMetadata_ = null;
+ }
+ flowTraceMetadataBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.Builder
+ getFlowTraceMetadataBuilder() {
+ return internalGetFlowTraceMetadataFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadataOrBuilder
+ getFlowTraceMetadataOrBuilder() {
+ if ((traceMetadataCase_ == 2) && (flowTraceMetadataBuilder_ != null)) {
+ return flowTraceMetadataBuilder_.getMessageOrBuilder();
+ } else {
+ if (traceMetadataCase_ == 2) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata,
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadataOrBuilder>
+ internalGetFlowTraceMetadataFieldBuilder() {
+ if (flowTraceMetadataBuilder_ == null) {
+ if (!(traceMetadataCase_ == 2)) {
+ traceMetadata_ =
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.getDefaultInstance();
+ }
+ flowTraceMetadataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata,
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadataOrBuilder>(
+ (com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata) traceMetadata_,
+ getParentForChildren(),
+ isClean());
+ traceMetadata_ = null;
+ }
+ traceMetadataCase_ = 2;
+ onChanged();
+ return flowTraceMetadataBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata,
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadataOrBuilder>
+ speechProcessingMetadataBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ *
+ * @return Whether the speechProcessingMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasSpeechProcessingMetadata() {
+ return traceMetadataCase_ == 8;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ *
+ * @return The speechProcessingMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata
+ getSpeechProcessingMetadata() {
+ if (speechProcessingMetadataBuilder_ == null) {
+ if (traceMetadataCase_ == 8) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.getDefaultInstance();
+ } else {
+ if (traceMetadataCase_ == 8) {
+ return speechProcessingMetadataBuilder_.getMessage();
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ */
+ public Builder setSpeechProcessingMetadata(
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata value) {
+ if (speechProcessingMetadataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ traceMetadata_ = value;
+ onChanged();
+ } else {
+ speechProcessingMetadataBuilder_.setMessage(value);
+ }
+ traceMetadataCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ */
+ public Builder setSpeechProcessingMetadata(
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.Builder builderForValue) {
+ if (speechProcessingMetadataBuilder_ == null) {
+ traceMetadata_ = builderForValue.build();
+ onChanged();
+ } else {
+ speechProcessingMetadataBuilder_.setMessage(builderForValue.build());
+ }
+ traceMetadataCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ */
+ public Builder mergeSpeechProcessingMetadata(
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata value) {
+ if (speechProcessingMetadataBuilder_ == null) {
+ if (traceMetadataCase_ == 8
+ && traceMetadata_
+ != com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata
+ .getDefaultInstance()) {
+ traceMetadata_ =
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.newBuilder(
+ (com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata)
+ traceMetadata_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ traceMetadata_ = value;
+ }
+ onChanged();
+ } else {
+ if (traceMetadataCase_ == 8) {
+ speechProcessingMetadataBuilder_.mergeFrom(value);
+ } else {
+ speechProcessingMetadataBuilder_.setMessage(value);
+ }
+ }
+ traceMetadataCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ */
+ public Builder clearSpeechProcessingMetadata() {
+ if (speechProcessingMetadataBuilder_ == null) {
+ if (traceMetadataCase_ == 8) {
+ traceMetadataCase_ = 0;
+ traceMetadata_ = null;
+ onChanged();
+ }
+ } else {
+ if (traceMetadataCase_ == 8) {
+ traceMetadataCase_ = 0;
+ traceMetadata_ = null;
+ }
+ speechProcessingMetadataBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.Builder
+ getSpeechProcessingMetadataBuilder() {
+ return internalGetSpeechProcessingMetadataFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadataOrBuilder
+ getSpeechProcessingMetadataOrBuilder() {
+ if ((traceMetadataCase_ == 8) && (speechProcessingMetadataBuilder_ != null)) {
+ return speechProcessingMetadataBuilder_.getMessageOrBuilder();
+ } else {
+ if (traceMetadataCase_ == 8) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata) traceMetadata_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata,
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadataOrBuilder>
+ internalGetSpeechProcessingMetadataFieldBuilder() {
+ if (speechProcessingMetadataBuilder_ == null) {
+ if (!(traceMetadataCase_ == 8)) {
+ traceMetadata_ =
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.getDefaultInstance();
+ }
+ speechProcessingMetadataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata,
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadataOrBuilder>(
+ (com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata) traceMetadata_,
+ getParentForChildren(),
+ isClean());
+ traceMetadata_ = null;
+ }
+ traceMetadataCase_ = 8;
+ onChanged();
+ return speechProcessingMetadataBuilder_;
+ }
+
+ private java.util.List
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public java.util.List
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public int getActionsCount() {
+ if (actionsBuilder_ == null) {
+ return actions_.size();
+ } else {
+ return actionsBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.Action getActions(int index) {
+ if (actionsBuilder_ == null) {
+ return actions_.get(index);
+ } else {
+ return actionsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public Builder setActions(int index, com.google.cloud.dialogflow.cx.v3beta1.Action value) {
+ if (actionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureActionsIsMutable();
+ actions_.set(index, value);
+ onChanged();
+ } else {
+ actionsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public Builder setActions(
+ int index, com.google.cloud.dialogflow.cx.v3beta1.Action.Builder builderForValue) {
+ if (actionsBuilder_ == null) {
+ ensureActionsIsMutable();
+ actions_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ actionsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public Builder addActions(com.google.cloud.dialogflow.cx.v3beta1.Action value) {
+ if (actionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureActionsIsMutable();
+ actions_.add(value);
+ onChanged();
+ } else {
+ actionsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public Builder addActions(int index, com.google.cloud.dialogflow.cx.v3beta1.Action value) {
+ if (actionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureActionsIsMutable();
+ actions_.add(index, value);
+ onChanged();
+ } else {
+ actionsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public Builder addActions(
+ com.google.cloud.dialogflow.cx.v3beta1.Action.Builder builderForValue) {
+ if (actionsBuilder_ == null) {
+ ensureActionsIsMutable();
+ actions_.add(builderForValue.build());
+ onChanged();
+ } else {
+ actionsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public Builder addActions(
+ int index, com.google.cloud.dialogflow.cx.v3beta1.Action.Builder builderForValue) {
+ if (actionsBuilder_ == null) {
+ ensureActionsIsMutable();
+ actions_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ actionsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public Builder addAllActions(
+ java.lang.Iterable extends com.google.cloud.dialogflow.cx.v3beta1.Action> values) {
+ if (actionsBuilder_ == null) {
+ ensureActionsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_);
+ onChanged();
+ } else {
+ actionsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public Builder clearActions() {
+ if (actionsBuilder_ == null) {
+ actions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ } else {
+ actionsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public Builder removeActions(int index) {
+ if (actionsBuilder_ == null) {
+ ensureActionsIsMutable();
+ actions_.remove(index);
+ onChanged();
+ } else {
+ actionsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.Action.Builder getActionsBuilder(int index) {
+ return internalGetActionsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.ActionOrBuilder getActionsOrBuilder(int index) {
+ if (actionsBuilder_ == null) {
+ return actions_.get(index);
+ } else {
+ return actionsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public java.util.List extends com.google.cloud.dialogflow.cx.v3beta1.ActionOrBuilder>
+ getActionsOrBuilderList() {
+ if (actionsBuilder_ != null) {
+ return actionsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(actions_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.Action.Builder addActionsBuilder() {
+ return internalGetActionsFieldBuilder()
+ .addBuilder(com.google.cloud.dialogflow.cx.v3beta1.Action.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.Action.Builder addActionsBuilder(int index) {
+ return internalGetActionsFieldBuilder()
+ .addBuilder(index, com.google.cloud.dialogflow.cx.v3beta1.Action.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ public java.util.List
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the startTime field is set.
+ */
+ public boolean hasStartTime() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The startTime.
+ */
+ public com.google.protobuf.Timestamp getStartTime() {
+ if (startTimeBuilder_ == null) {
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+ } else {
+ return startTimeBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setStartTime(com.google.protobuf.Timestamp value) {
+ if (startTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ startTime_ = value;
+ } else {
+ startTimeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (startTimeBuilder_ == null) {
+ startTime_ = builderForValue.build();
+ } else {
+ startTimeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
+ if (startTimeBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) != 0)
+ && startTime_ != null
+ && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getStartTimeBuilder().mergeFrom(value);
+ } else {
+ startTime_ = value;
+ }
+ } else {
+ startTimeBuilder_.mergeFrom(value);
+ }
+ if (startTime_ != null) {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearStartTime() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ startTime_ = null;
+ if (startTimeBuilder_ != null) {
+ startTimeBuilder_.dispose();
+ startTimeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return internalGetStartTimeFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
+ if (startTimeBuilder_ != null) {
+ return startTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ internalGetStartTimeFieldBuilder() {
+ if (startTimeBuilder_ == null) {
+ startTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getStartTime(), getParentForChildren(), isClean());
+ startTime_ = null;
+ }
+ return startTimeBuilder_;
+ }
+
+ private com.google.protobuf.Timestamp completeTime_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ completeTimeBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the completeTime field is set.
+ */
+ public boolean hasCompleteTime() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The completeTime.
+ */
+ public com.google.protobuf.Timestamp getCompleteTime() {
+ if (completeTimeBuilder_ == null) {
+ return completeTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : completeTime_;
+ } else {
+ return completeTimeBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setCompleteTime(com.google.protobuf.Timestamp value) {
+ if (completeTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ completeTime_ = value;
+ } else {
+ completeTimeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (completeTimeBuilder_ == null) {
+ completeTime_ = builderForValue.build();
+ } else {
+ completeTimeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeCompleteTime(com.google.protobuf.Timestamp value) {
+ if (completeTimeBuilder_ == null) {
+ if (((bitField0_ & 0x00000020) != 0)
+ && completeTime_ != null
+ && completeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCompleteTimeBuilder().mergeFrom(value);
+ } else {
+ completeTime_ = value;
+ }
+ } else {
+ completeTimeBuilder_.mergeFrom(value);
+ }
+ if (completeTime_ != null) {
+ bitField0_ |= 0x00000020;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearCompleteTime() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ completeTime_ = null;
+ if (completeTimeBuilder_ != null) {
+ completeTimeBuilder_.dispose();
+ completeTimeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.Timestamp.Builder getCompleteTimeBuilder() {
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return internalGetCompleteTimeFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder() {
+ if (completeTimeBuilder_ != null) {
+ return completeTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return completeTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : completeTime_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ internalGetCompleteTimeFieldBuilder() {
+ if (completeTimeBuilder_ == null) {
+ completeTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getCompleteTime(), getParentForChildren(), isClean());
+ completeTime_ = null;
+ }
+ return completeTimeBuilder_;
+ }
+
+ private com.google.protobuf.Struct inputParameters_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>
+ inputParametersBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the inputParameters field is set.
+ */
+ public boolean hasInputParameters() {
+ return ((bitField0_ & 0x00000040) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The inputParameters.
+ */
+ public com.google.protobuf.Struct getInputParameters() {
+ if (inputParametersBuilder_ == null) {
+ return inputParameters_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : inputParameters_;
+ } else {
+ return inputParametersBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setInputParameters(com.google.protobuf.Struct value) {
+ if (inputParametersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ inputParameters_ = value;
+ } else {
+ inputParametersBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setInputParameters(com.google.protobuf.Struct.Builder builderForValue) {
+ if (inputParametersBuilder_ == null) {
+ inputParameters_ = builderForValue.build();
+ } else {
+ inputParametersBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeInputParameters(com.google.protobuf.Struct value) {
+ if (inputParametersBuilder_ == null) {
+ if (((bitField0_ & 0x00000040) != 0)
+ && inputParameters_ != null
+ && inputParameters_ != com.google.protobuf.Struct.getDefaultInstance()) {
+ getInputParametersBuilder().mergeFrom(value);
+ } else {
+ inputParameters_ = value;
+ }
+ } else {
+ inputParametersBuilder_.mergeFrom(value);
+ }
+ if (inputParameters_ != null) {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearInputParameters() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ inputParameters_ = null;
+ if (inputParametersBuilder_ != null) {
+ inputParametersBuilder_.dispose();
+ inputParametersBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.Struct.Builder getInputParametersBuilder() {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return internalGetInputParametersFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.StructOrBuilder getInputParametersOrBuilder() {
+ if (inputParametersBuilder_ != null) {
+ return inputParametersBuilder_.getMessageOrBuilder();
+ } else {
+ return inputParameters_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : inputParameters_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>
+ internalGetInputParametersFieldBuilder() {
+ if (inputParametersBuilder_ == null) {
+ inputParametersBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>(
+ getInputParameters(), getParentForChildren(), isClean());
+ inputParameters_ = null;
+ }
+ return inputParametersBuilder_;
+ }
+
+ private com.google.protobuf.Struct outputParameters_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>
+ outputParametersBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the outputParameters field is set.
+ */
+ public boolean hasOutputParameters() {
+ return ((bitField0_ & 0x00000080) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The outputParameters.
+ */
+ public com.google.protobuf.Struct getOutputParameters() {
+ if (outputParametersBuilder_ == null) {
+ return outputParameters_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : outputParameters_;
+ } else {
+ return outputParametersBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setOutputParameters(com.google.protobuf.Struct value) {
+ if (outputParametersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ outputParameters_ = value;
+ } else {
+ outputParametersBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setOutputParameters(com.google.protobuf.Struct.Builder builderForValue) {
+ if (outputParametersBuilder_ == null) {
+ outputParameters_ = builderForValue.build();
+ } else {
+ outputParametersBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeOutputParameters(com.google.protobuf.Struct value) {
+ if (outputParametersBuilder_ == null) {
+ if (((bitField0_ & 0x00000080) != 0)
+ && outputParameters_ != null
+ && outputParameters_ != com.google.protobuf.Struct.getDefaultInstance()) {
+ getOutputParametersBuilder().mergeFrom(value);
+ } else {
+ outputParameters_ = value;
+ }
+ } else {
+ outputParametersBuilder_.mergeFrom(value);
+ }
+ if (outputParameters_ != null) {
+ bitField0_ |= 0x00000080;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearOutputParameters() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ outputParameters_ = null;
+ if (outputParametersBuilder_ != null) {
+ outputParametersBuilder_.dispose();
+ outputParametersBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.Struct.Builder getOutputParametersBuilder() {
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return internalGetOutputParametersFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.StructOrBuilder getOutputParametersOrBuilder() {
+ if (outputParametersBuilder_ != null) {
+ return outputParametersBuilder_.getMessageOrBuilder();
+ } else {
+ return outputParameters_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : outputParameters_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>
+ internalGetOutputParametersFieldBuilder() {
+ if (outputParametersBuilder_ == null) {
+ outputParametersBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>(
+ getOutputParameters(), getParentForChildren(), isClean());
+ outputParameters_ = null;
+ }
+ return outputParametersBuilder_;
+ }
+
+ private int endState_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. Output only. The end state of the trace block.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for endState.
+ */
+ @java.lang.Override
+ public int getEndStateValue() {
+ return endState_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Output only. The end state of the trace block.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The enum numeric value on the wire for endState to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndStateValue(int value) {
+ endState_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Output only. The end state of the trace block.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The endState.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.OutputState getEndState() {
+ com.google.cloud.dialogflow.cx.v3beta1.OutputState result =
+ com.google.cloud.dialogflow.cx.v3beta1.OutputState.forNumber(endState_);
+ return result == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.OutputState.UNRECOGNIZED
+ : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Output only. The end state of the trace block.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The endState to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndState(com.google.cloud.dialogflow.cx.v3beta1.OutputState value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000100;
+ endState_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Output only. The end state of the trace block.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEndState() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ endState_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.TraceBlock)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.TraceBlock)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.TraceBlock DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.TraceBlock();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TraceBlock getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ *
+ * @return Whether the playbookTraceMetadata field is set.
+ */
+ boolean hasPlaybookTraceMetadata();
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ *
+ * @return The playbookTraceMetadata.
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata getPlaybookTraceMetadata();
+
+ /**
+ *
+ *
+ *
+ * Metadata of the playbook trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadataOrBuilder
+ getPlaybookTraceMetadataOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ *
+ * @return Whether the flowTraceMetadata field is set.
+ */
+ boolean hasFlowTraceMetadata();
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ *
+ * @return The flowTraceMetadata.
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata getFlowTraceMetadata();
+
+ /**
+ *
+ *
+ *
+ * Metadata of the flow trace.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadataOrBuilder getFlowTraceMetadataOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ *
+ * @return Whether the speechProcessingMetadata field is set.
+ */
+ boolean hasSpeechProcessingMetadata();
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ *
+ * @return The speechProcessingMetadata.
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata getSpeechProcessingMetadata();
+
+ /**
+ *
+ *
+ *
+ * Metadata of the speech-to-text and speech-to-text processing.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadataOrBuilder
+ getSpeechProcessingMetadataOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ java.util.List
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.Action getActions(int index);
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ int getActionsCount();
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ java.util.List extends com.google.cloud.dialogflow.cx.v3beta1.ActionOrBuilder>
+ getActionsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * The actions performed by the agent and the user during this session.
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.ActionOrBuilder getActionsOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the startTime field is set.
+ */
+ boolean hasStartTime();
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The startTime.
+ */
+ com.google.protobuf.Timestamp getStartTime();
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the start of the trace block.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the completeTime field is set.
+ */
+ boolean hasCompleteTime();
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The completeTime.
+ */
+ com.google.protobuf.Timestamp getCompleteTime();
+
+ /**
+ *
+ *
+ *
+ * Output only. Timestamp of the end of the trace block.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the inputParameters field is set.
+ */
+ boolean hasInputParameters();
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The inputParameters.
+ */
+ com.google.protobuf.Struct getInputParameters();
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of input parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.protobuf.StructOrBuilder getInputParametersOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the outputParameters field is set.
+ */
+ boolean hasOutputParameters();
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The outputParameters.
+ */
+ com.google.protobuf.Struct getOutputParameters();
+
+ /**
+ *
+ *
+ *
+ * Optional. A list of output parameters of the trace block.
+ *
+ *
+ * .google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.protobuf.StructOrBuilder getOutputParametersOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. Output only. The end state of the trace block.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for endState.
+ */
+ int getEndStateValue();
+
+ /**
+ *
+ *
+ *
+ * Optional. Output only. The end state of the trace block.
+ *
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The endState.
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.OutputState getEndState();
+
+ com.google.cloud.dialogflow.cx.v3beta1.TraceBlock.TraceMetadataCase getTraceMetadataCase();
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TraceProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TraceProto.java
index cfcd61ca66e6..4a411ef8887d 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TraceProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TraceProto.java
@@ -40,6 +40,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TraceBlock_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TraceBlock_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3beta1_SpeechProcessingMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3beta1_SpeechProcessingMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookTraceMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookTraceMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3beta1_FlowTraceMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3beta1_FlowTraceMetadata_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Action_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -161,44 +177,71 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ".google/cloud/dialogflow/cx/v3beta1/trace.proto\022\"google.cloud.dialogflow.cx.v3b"
+ "eta1\032\037google/api/field_behavior.proto\032\031g"
+ "oogle/api/resource.proto\032>google/cloud/dialogflow/cx/v3beta1/data_store_connecti"
- + "on.proto\032\034google/protobuf/struct.proto\032\037google/protobuf/timestamp.proto\"\310\017\n"
+ + "on.proto\032\034google/protobuf/struct.proto\032\037google/protobuf/timestamp.proto\"\235\005\n\n"
+ + "TraceBlock\022\\\n"
+ + "\027playbook_trace_metadata\030\001 \001(\0132"
+ + "9.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadataH\000\022T\n"
+ + "\023flow_trace_metadata\030\002"
+ + " \001(\01325.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadataH\000\022b\n"
+ + "\032speech_processing_metadata\030\010 \001(\0132<.google.cloud.di"
+ + "alogflow.cx.v3beta1.SpeechProcessingMetadataH\000\022;\n"
+ + "\007actions\030\003 \003(\0132*.google.cloud.dialogflow.cx.v3beta1.Action\0223\n\n"
+ + "start_time\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0226\n\r"
+ + "complete_time\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0226\n"
+ + "\020input_parameters\030\t \001(\0132\027.google.protobuf.StructB\003\340A\001\0227\n"
+ + "\021output_parameters\030\006"
+ + " \001(\0132\027.google.protobuf.StructB\003\340A\001\022J\n"
+ + "\tend_state\030\007 \001(\0162/.google.cl"
+ + "oud.dialogflow.cx.v3beta1.OutputStateB\006\340A\003\340A\001B\020\n"
+ + "\016trace_metadata\"5\n"
+ + "\030SpeechProcessingMetadata\022\031\n"
+ + "\014display_name\030\001 \001(\tB\003\340A\003\"p\n"
+ + "\025PlaybookTraceMetadata\022<\n"
+ + "\010playbook\030\001 \001(\tB*\340A\002\372A$\n"
+ + "\"dialogflow.googleapis.com/Playbook\022\031\n"
+ + "\014display_name\030\002 \001(\tB\003\340A\003\"d\n"
+ + "\021FlowTraceMetadata\0224\n"
+ + "\004flow\030\001 \001(\tB&\340A\002\372A \n"
+ + "\036dialogflow.googleapis.com/Flow\022\031\n"
+ + "\014display_name\030\002 \001(\tB\003\340A\003\"\310\017\n"
+ "\006Action\022P\n"
- + "\016user_utterance\030\001 \001(\01321.google.clou"
- + "d.dialogflow.cx.v3beta1.UserUtteranceB\003\340A\001H\000\022?\n"
- + "\005event\030\007"
- + " \001(\0132).google.cloud.dialogflow.cx.v3beta1.EventB\003\340A\001H\000\022R\n"
- + "\017agent_utterance\030\002"
- + " \001(\01322.google.cloud.dialogflow.cx.v3beta1.AgentUtteranceB\003\340A\001H\000\022D\n"
- + "\010tool_use\030\003"
- + " \001(\0132+.google.cloud.dialogflow.cx.v3beta1.ToolUseB\003\340A\001H\000\022G\n"
- + "\010llm_call\030\016 \001("
- + "\0132+.google.cloud.dialogflow.cx.v3beta1.LlmCallB\006\340A\003\340A\001H\000\022V\n"
- + "\014intent_match\030\021 \001(\01326"
- + ".google.cloud.dialogflow.cx.v3beta1.Action.IntentMatchB\006\340A\003\340A\001H\000\022_\n"
- + "\021flow_state_update\030\022 \001(\0132:.google.cloud.dialogflow.cx"
- + ".v3beta1.Action.FlowStateUpdateB\006\340A\003\340A\001H\000\022Z\n"
- + "\023playbook_invocation\030\004 \001(\01326.google."
- + "cloud.dialogflow.cx.v3beta1.PlaybookInvocationB\003\340A\001H\000\022R\n"
- + "\017flow_invocation\030\005 \001(\01322"
- + ".google.cloud.dialogflow.cx.v3beta1.FlowInvocationB\003\340A\001H\000\022Z\n"
- + "\023playbook_transition\030\014"
- + " \001(\01326.google.cloud.dialogflow.cx.v3beta1.PlaybookTransitionB\003\340A\001H\000\022R\n"
+ + "\016user_utterance\030\001"
+ + " \001(\01321.google.cloud.dialogflow.cx.v3beta1.UserUtteranceB\003\340A\001H\000\022?\n"
+ + "\005event\030\007 \001"
+ + "(\0132).google.cloud.dialogflow.cx.v3beta1.EventB\003\340A\001H\000\022R\n"
+ + "\017agent_utterance\030\002 \001(\01322."
+ + "google.cloud.dialogflow.cx.v3beta1.AgentUtteranceB\003\340A\001H\000\022D\n"
+ + "\010tool_use\030\003 \001(\0132+.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.ToolUseB\003\340A\001H\000\022G\n"
+ + "\010llm_call\030\016 \001(\0132+.google.cloud."
+ + "dialogflow.cx.v3beta1.LlmCallB\006\340A\003\340A\001H\000\022V\n"
+ + "\014intent_match\030\021 \001(\01326.google.cloud.dia"
+ + "logflow.cx.v3beta1.Action.IntentMatchB\006\340A\003\340A\001H\000\022_\n"
+ + "\021flow_state_update\030\022 \001(\0132:.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdateB\006\340A\003\340A\001H\000\022Z\n"
+ + "\023playbook_invocation\030\004"
+ + " \001(\01326.google.cloud.dialogflow.cx.v3beta1.PlaybookInvocationB\003\340A\001H\000\022R\n"
+ + "\017flow_invocation\030\005 \001(\01322.google.cloud.dia"
+ + "logflow.cx.v3beta1.FlowInvocationB\003\340A\001H\000\022Z\n"
+ + "\023playbook_transition\030\014 \001(\01326.google.c"
+ + "loud.dialogflow.cx.v3beta1.PlaybookTransitionB\003\340A\001H\000\022R\n"
+ "\017flow_transition\030\r"
- + " \001(\01322.google.cloud.dialogflow.cx.v3beta1.FlowTransitionB\003\340A\001H\000\022B\n"
- + "\003tts\030\023"
- + " \001(\0132..google.cloud.dialogflow.cx.v3beta1.Action.TTSB\003\340A\001H\000\022B\n"
- + "\003stt\030\024 \001(\0132..goo"
- + "gle.cloud.dialogflow.cx.v3beta1.Action.STTB\003\340A\001H\000\022\031\n"
+ + " \001(\01322."
+ + "google.cloud.dialogflow.cx.v3beta1.FlowTransitionB\003\340A\001H\000\022B\n"
+ + "\003tts\030\023 \001(\0132..google.c"
+ + "loud.dialogflow.cx.v3beta1.Action.TTSB\003\340A\001H\000\022B\n"
+ + "\003stt\030\024"
+ + " \001(\0132..google.cloud.dialogflow.cx.v3beta1.Action.STTB\003\340A\001H\000\022\031\n"
+ "\014display_name\030\017 \001(\tB\003\340A\003\0223\n\n"
+ "start_time\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0226\n\r"
+ "complete_time\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022J\n"
- + "\023sub_execution_steps\030\013"
- + " \003(\0132(.google.cloud.dialogflow.cx.v3beta1.SpanB\003\340A\001\022B\n"
- + "\006status\030\020 \001(\0132*."
- + "google.cloud.dialogflow.cx.v3beta1.StatusB\006\340A\001\340A\003\032\353\001\n"
+ + "\023sub_execution_steps\030\013 \003(\0132(."
+ + "google.cloud.dialogflow.cx.v3beta1.SpanB\003\340A\001\022B\n"
+ + "\006status\030\020"
+ + " \001(\0132*.google.cloud.dialogflow.cx.v3beta1.StatusB\006\340A\001\340A\003\032\353\001\n"
+ "\013IntentMatch\022]\n"
- + "\017matched_intents\030\001 \003(\0132D.google.cloud.dialogflow.cx."
- + "v3beta1.Action.IntentMatch.MatchedIntent\032}\n\r"
+ + "\017matched_intents\030\001 \003(\0132D.goog"
+ + "le.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent\032}\n\r"
+ "MatchedIntent\022\021\n"
+ "\tintent_id\030\001 \001(\t\022\024\n"
+ "\014display_name\030\002 \001(\t\022\r\n"
@@ -206,12 +249,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\023generative_fallback\030\004 \001(\0132\027.google.protobuf.Struct\032\210\003\n"
+ "\017FlowStateUpdate\022\022\n\n"
+ "event_type\030\001 \001(\t\022X\n\n"
- + "page_state\030\002 \001(\0132D.google.clo"
- + "ud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState\0223\n"
+ + "page_state\030\002 \001(\0132D.google.cloud.dialogflow.cx."
+ + "v3beta1.Action.FlowStateUpdate.PageState\0223\n"
+ "\022updated_parameters\030\003 \001(\0132\027.google.protobuf.Struct\022\023\n"
+ "\013destination\030\004 \001(\t\022^\n\r"
- + "function_call\030\005 \001(\0132G.goo"
- + "gle.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall\032?\n"
+ + "function_call\030\005 \001(\0132G.google.cloud.dialogf"
+ + "low.cx.v3beta1.Action.FlowStateUpdate.FunctionCall\032?\n"
+ "\tPageState\022\014\n"
+ "\004page\030\001 \001(\t\022\024\n"
+ "\014display_name\030\002 \001(\t\022\016\n"
@@ -241,29 +284,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ " \001(\0132\027.google.protobuf.StructB\003\340A\001\022>\n"
+ "\030output_action_parameters\030\006"
+ " \001(\0132\027.google.protobuf.StructB\003\340A\001\022d\n"
- + "\025data_store_tool_trace\030\007 \001(\0132>.googl"
- + "e.cloud.dialogflow.cx.v3beta1.ToolUse.DataStoreToolTraceB\003\340A\001H\000\022_\n"
- + "\022webhook_tool_trace\030\t \001(\0132<.google.cloud.dialogflow.cx"
- + ".v3beta1.ToolUse.WebhookToolTraceB\003\340A\001H\000\032\200\001\n"
+ + "\025data_store_tool_trace\030\007 \001(\0132>.google.cloud.dialogflo"
+ + "w.cx.v3beta1.ToolUse.DataStoreToolTraceB\003\340A\001H\000\022_\n"
+ + "\022webhook_tool_trace\030\t \001(\0132<.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.ToolUse.WebhookToolTraceB\003\340A\001H\000\032\200\001\n"
+ "\022DataStoreToolTrace\022j\n"
- + "\035data_store_connection_signals\030\001 \001(\0132>.google.cloud.di"
- + "alogflow.cx.v3beta1.DataStoreConnectionSignalsB\003\340A\001\032F\n"
+ + "\035data_store_connection_signals\030\001"
+ + " \001(\0132>.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignalsB\003\340A\001\032F\n"
+ "\020WebhookToolTrace\022\030\n"
+ "\013webhook_tag\030\001 \001(\tB\003\340A\001\022\030\n"
+ "\013webhook_uri\030\002 \001(\tB\003\340A\001B\013\n"
+ "\tToolTrace\"\255\004\n"
+ "\007LlmCall\022X\n"
- + "\022retrieved_examples\030\001 \003(\0132<.google.cloud.dialogfl"
- + "ow.cx.v3beta1.LlmCall.RetrievedExample\022K\n"
- + "\013token_count\030\002"
- + " \001(\01326.google.cloud.dialogflow.cx.v3beta1.LlmCall.TokenCount\022\r\n"
+ + "\022retrieved_examples\030\001 \003(\0132"
+ + "<.google.cloud.dialogflow.cx.v3beta1.LlmCall.RetrievedExample\022K\n"
+ + "\013token_count\030\002 \001"
+ + "(\01326.google.cloud.dialogflow.cx.v3beta1.LlmCall.TokenCount\022\r\n"
+ "\005model\030\003 \001(\t\022\023\n"
+ "\013temperature\030\004 \001(\002\032\275\001\n"
+ "\020RetrievedExample\022\022\n\n"
+ "example_id\030\001 \001(\t\022\034\n"
+ "\024example_display_name\030\002 \001(\t\022Q\n"
- + "\022retrieval_strategy\030\003"
- + " \001(\01625.google.cloud.dialogflow.cx.v3beta1.RetrievalStrategy\022$\n"
+ + "\022retrieval_strategy\030\003 \001(\01625.goog"
+ + "le.cloud.dialogflow.cx.v3beta1.RetrievalStrategy\022$\n"
+ "\027matched_retrieval_label\030\016 \001(\tB\003\340A\001\032\226\001\n\n"
+ "TokenCount\022\037\n"
+ "\027total_input_token_count\030\001 \001(\003\022(\n"
@@ -274,12 +317,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010playbook\030\001 \001(\tB*\340A\002\372A$\n"
+ "\"dialogflow.googleapis.com/Playbook\022\031\n"
+ "\014display_name\030\005 \001(\tB\003\340A\003\022N\n"
- + "\016playbook_input\030\002 \001(\01321.googl"
- + "e.cloud.dialogflow.cx.v3beta1.PlaybookInputB\003\340A\001\022P\n"
- + "\017playbook_output\030\003 \001(\01322.goog"
- + "le.cloud.dialogflow.cx.v3beta1.PlaybookOutputB\003\340A\001\022L\n"
- + "\016playbook_state\030\004 \001(\0162/.goo"
- + "gle.cloud.dialogflow.cx.v3beta1.OutputStateB\003\340A\002\"\252\002\n"
+ + "\016playbook_input\030\002"
+ + " \001(\01321.google.cloud.dialogflow.cx.v3beta1.PlaybookInputB\003\340A\001\022P\n"
+ + "\017playbook_output\030\003"
+ + " \001(\01322.google.cloud.dialogflow.cx.v3beta1.PlaybookOutputB\003\340A\001\022L\n"
+ + "\016playbook_state\030\004"
+ + " \001(\0162/.google.cloud.dialogflow.cx.v3beta1.OutputStateB\003\340A\002\"\252\002\n"
+ "\016FlowInvocation\0224\n"
+ "\004flow\030\001 \001(\tB&\340A\002\372A \n"
+ "\036dialogflow.googleapis.com/Flow\022\031\n"
@@ -288,8 +331,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ " \001(\0132\027.google.protobuf.StructB\003\340A\001\022>\n"
+ "\030output_action_parameters\030\006"
+ " \001(\0132\027.google.protobuf.StructB\003\340A\001\022H\n\n"
- + "flow_state\030\004"
- + " \001(\0162/.google.cloud.dialogflow.cx.v3beta1.OutputStateB\003\340A\002\"\253\001\n"
+ + "flow_state\030\004 \001(\0162/"
+ + ".google.cloud.dialogflow.cx.v3beta1.OutputStateB\003\340A\002\"\253\001\n"
+ "\022PlaybookTransition\022<\n"
+ "\010playbook\030\001 \001(\tB*\340A\002\372A$\n"
+ "\"dialogflow.googleapis.com/Playbook\022\031\n"
@@ -308,8 +351,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ " \001(\0132\027.google.protobuf.StructB\003\340A\001\"\214\002\n"
+ "\016PlaybookOutput\022\036\n"
+ "\021execution_summary\030\001 \001(\tB\003\340A\001\022K\n"
- + "\005state\030\002 \001(\01628.google."
- + "cloud.dialogflow.cx.v3beta1.PlaybookOutput.StateB\002\030\001\0227\n"
+ + "\005state\030\002"
+ + " \001(\01628.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.StateB\002\030\001\0227\n"
+ "\021action_parameters\030\004 \001(\0132\027.google.protobuf.StructB\003\340A\001\"T\n"
+ "\005State\022\025\n"
+ "\021STATE_UNSPECIFIED\020\000\022\006\n"
@@ -320,8 +363,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004Span\022\014\n"
+ "\004name\030\001 \001(\t\022\014\n"
+ "\004tags\030\002 \003(\t\022@\n"
- + "\007metrics\030\003"
- + " \003(\0132/.google.cloud.dialogflow.cx.v3beta1.NamedMetric\022.\n\n"
+ + "\007metrics\030\003 \003(\0132/.googl"
+ + "e.cloud.dialogflow.cx.v3beta1.NamedMetric\022.\n\n"
+ "start_time\030\004 \001(\0132\032.google.protobuf.Timestamp\0221\n\r"
+ "complete_time\030\005 \001(\0132\032.google.protobuf.Timestamp\"P\n"
+ "\013NamedMetric\022\014\n"
@@ -329,8 +372,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\005value\030\002 \001(\0132\026.google.protobuf.Value\022\014\n"
+ "\004unit\030\003 \001(\t\"U\n"
+ "\006Status\022K\n"
- + "\texception\030\001 \001(\01323.google.cl"
- + "oud.dialogflow.cx.v3beta1.ExceptionDetailB\003\340A\001\"-\n"
+ + "\texception\030\001"
+ + " \001(\01323.google.cloud.dialogflow.cx.v3beta1.ExceptionDetailB\003\340A\001\"-\n"
+ "\017ExceptionDetail\022\032\n\r"
+ "error_message\030\001 \001(\tB\003\340A\001*\253\001\n"
+ "\013OutputState\022\034\n"
@@ -346,10 +389,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\006STATIC\020\002\022\t\n"
+ "\005NEVER\020\003B\301\001\n"
+ "&com.google.cloud.dialogflow.cx.v3beta1B\n"
- + "TraceProtoP\001Z6cloud.google.com/go/d"
- + "ialogflow/cx/apiv3beta1/cxpb;cxpb\242\002\002DF\252\002"
- + "\"Google.Cloud.Dialogflow.Cx.V3Beta1\352\002&Go"
- + "ogle::Cloud::Dialogflow::CX::V3beta1b\006proto3"
+ + "TraceProtoP\001Z6cloud.google.com/go/dialogflow/cx/apiv"
+ + "3beta1/cxpb;cxpb\242\002\002DF\252\002\"Google.Cloud.Dia"
+ + "logflow.Cx.V3Beta1\352\002&Google::Cloud::Dialogflow::CX::V3beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -361,8 +403,49 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
- internal_static_google_cloud_dialogflow_cx_v3beta1_Action_descriptor =
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TraceBlock_descriptor =
getDescriptor().getMessageType(0);
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TraceBlock_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TraceBlock_descriptor,
+ new java.lang.String[] {
+ "PlaybookTraceMetadata",
+ "FlowTraceMetadata",
+ "SpeechProcessingMetadata",
+ "Actions",
+ "StartTime",
+ "CompleteTime",
+ "InputParameters",
+ "OutputParameters",
+ "EndState",
+ "TraceMetadata",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3beta1_SpeechProcessingMetadata_descriptor =
+ getDescriptor().getMessageType(1);
+ internal_static_google_cloud_dialogflow_cx_v3beta1_SpeechProcessingMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3beta1_SpeechProcessingMetadata_descriptor,
+ new java.lang.String[] {
+ "DisplayName",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookTraceMetadata_descriptor =
+ getDescriptor().getMessageType(2);
+ internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookTraceMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookTraceMetadata_descriptor,
+ new java.lang.String[] {
+ "Playbook", "DisplayName",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3beta1_FlowTraceMetadata_descriptor =
+ getDescriptor().getMessageType(3);
+ internal_static_google_cloud_dialogflow_cx_v3beta1_FlowTraceMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3beta1_FlowTraceMetadata_descriptor,
+ new java.lang.String[] {
+ "Flow", "DisplayName",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3beta1_Action_descriptor =
+ getDescriptor().getMessageType(4);
internal_static_google_cloud_dialogflow_cx_v3beta1_Action_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_Action_descriptor,
@@ -443,7 +526,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
internal_static_google_cloud_dialogflow_cx_v3beta1_Action_STT_descriptor,
new java.lang.String[] {});
internal_static_google_cloud_dialogflow_cx_v3beta1_UserUtterance_descriptor =
- getDescriptor().getMessageType(1);
+ getDescriptor().getMessageType(5);
internal_static_google_cloud_dialogflow_cx_v3beta1_UserUtterance_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_UserUtterance_descriptor,
@@ -451,7 +534,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Text", "AudioTokens", "Audio",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_Event_descriptor =
- getDescriptor().getMessageType(2);
+ getDescriptor().getMessageType(6);
internal_static_google_cloud_dialogflow_cx_v3beta1_Event_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_Event_descriptor,
@@ -459,7 +542,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Event", "Text", "Payload",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_AgentUtterance_descriptor =
- getDescriptor().getMessageType(3);
+ getDescriptor().getMessageType(7);
internal_static_google_cloud_dialogflow_cx_v3beta1_AgentUtterance_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_AgentUtterance_descriptor,
@@ -467,7 +550,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Text", "RequireGeneration",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_ToolUse_descriptor =
- getDescriptor().getMessageType(4);
+ getDescriptor().getMessageType(8);
internal_static_google_cloud_dialogflow_cx_v3beta1_ToolUse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_ToolUse_descriptor,
@@ -498,7 +581,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"WebhookTag", "WebhookUri",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_LlmCall_descriptor =
- getDescriptor().getMessageType(5);
+ getDescriptor().getMessageType(9);
internal_static_google_cloud_dialogflow_cx_v3beta1_LlmCall_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_LlmCall_descriptor,
@@ -525,7 +608,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TotalOutputTokenCount",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookInvocation_descriptor =
- getDescriptor().getMessageType(6);
+ getDescriptor().getMessageType(10);
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookInvocation_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookInvocation_descriptor,
@@ -533,7 +616,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Playbook", "DisplayName", "PlaybookInput", "PlaybookOutput", "PlaybookState",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_FlowInvocation_descriptor =
- getDescriptor().getMessageType(7);
+ getDescriptor().getMessageType(11);
internal_static_google_cloud_dialogflow_cx_v3beta1_FlowInvocation_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_FlowInvocation_descriptor,
@@ -541,7 +624,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Flow", "DisplayName", "InputActionParameters", "OutputActionParameters", "FlowState",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookTransition_descriptor =
- getDescriptor().getMessageType(8);
+ getDescriptor().getMessageType(12);
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookTransition_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookTransition_descriptor,
@@ -549,7 +632,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Playbook", "DisplayName", "InputActionParameters",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_FlowTransition_descriptor =
- getDescriptor().getMessageType(9);
+ getDescriptor().getMessageType(13);
internal_static_google_cloud_dialogflow_cx_v3beta1_FlowTransition_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_FlowTransition_descriptor,
@@ -557,7 +640,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Flow", "DisplayName", "InputActionParameters",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookInput_descriptor =
- getDescriptor().getMessageType(10);
+ getDescriptor().getMessageType(14);
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookInput_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookInput_descriptor,
@@ -565,7 +648,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"PrecedingConversationSummary", "ActionParameters",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookOutput_descriptor =
- getDescriptor().getMessageType(11);
+ getDescriptor().getMessageType(15);
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookOutput_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_PlaybookOutput_descriptor,
@@ -573,7 +656,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ExecutionSummary", "State", "ActionParameters",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_Span_descriptor =
- getDescriptor().getMessageType(12);
+ getDescriptor().getMessageType(16);
internal_static_google_cloud_dialogflow_cx_v3beta1_Span_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_Span_descriptor,
@@ -581,7 +664,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "Tags", "Metrics", "StartTime", "CompleteTime",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_NamedMetric_descriptor =
- getDescriptor().getMessageType(13);
+ getDescriptor().getMessageType(17);
internal_static_google_cloud_dialogflow_cx_v3beta1_NamedMetric_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_NamedMetric_descriptor,
@@ -589,7 +672,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "Value", "Unit",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_Status_descriptor =
- getDescriptor().getMessageType(14);
+ getDescriptor().getMessageType(18);
internal_static_google_cloud_dialogflow_cx_v3beta1_Status_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_Status_descriptor,
@@ -597,7 +680,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Exception",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_ExceptionDetail_descriptor =
- getDescriptor().getMessageType(15);
+ getDescriptor().getMessageType(19);
internal_static_google_cloud_dialogflow_cx_v3beta1_ExceptionDetail_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_ExceptionDetail_descriptor,
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto
index 1b72149703b8..18701c220c17 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto
@@ -283,6 +283,9 @@ message Intent {
// Human readable description for better understanding an intent like its
// scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;
+
+ // Optional. Matching DTMF pattern for the intent.
+ string dtmf_pattern = 16 [(google.api.field_behavior) = OPTIONAL];
}
// The request message for
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto
index b8d29a9680a3..d0d5ec02200c 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto
@@ -31,6 +31,7 @@ import "google/cloud/dialogflow/cx/v3beta1/page.proto";
import "google/cloud/dialogflow/cx/v3beta1/response_message.proto";
import "google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto";
import "google/cloud/dialogflow/cx/v3beta1/tool_call.proto";
+import "google/cloud/dialogflow/cx/v3beta1/trace.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/struct.proto";
@@ -1167,6 +1168,13 @@ message QueryResult {
// Filled only when data stores are involved in serving the query.
DataStoreConnectionSignals data_store_connection_signals = 35
[(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Contains the sequence of trace blocks from the current
+ // conversation turn. Trace blocks are ordered chronologically and contain
+ // detailed traces of runtime behavior such as tool calls, LLM calls, flow and
+ // playbook invocations, agent utterances and user utterances.
+ repeated TraceBlock trace_blocks = 37
+ [(google.api.field_behavior) = OPTIONAL];
}
// Represents the natural language text to be processed.
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/trace.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/trace.proto
index 91e1b9bf02b4..076b25429ebe 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/trace.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/trace.proto
@@ -30,6 +30,83 @@ option java_package = "com.google.cloud.dialogflow.cx.v3beta1";
option objc_class_prefix = "DF";
option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1";
+// The trace block tracks a sequence of actions taken by the agent in a flow or
+// a playbook.
+message TraceBlock {
+ // Metadata of the trace.
+ oneof trace_metadata {
+ // Metadata of the playbook trace.
+ PlaybookTraceMetadata playbook_trace_metadata = 1;
+
+ // Metadata of the flow trace.
+ FlowTraceMetadata flow_trace_metadata = 2;
+
+ // Metadata of the speech-to-text and speech-to-text processing.
+ SpeechProcessingMetadata speech_processing_metadata = 8;
+ }
+
+ // The actions performed by the agent and the user during this session.
+ repeated Action actions = 3;
+
+ // Output only. Timestamp of the start of the trace block.
+ google.protobuf.Timestamp start_time = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Timestamp of the end of the trace block.
+ google.protobuf.Timestamp complete_time = 5
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. A list of input parameters of the trace block.
+ google.protobuf.Struct input_parameters = 9
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of output parameters of the trace block.
+ google.protobuf.Struct output_parameters = 6
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Output only. The end state of the trace block.
+ OutputState end_state = 7 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Metadata of the speech-to-text and text-to-speech processing.
+message SpeechProcessingMetadata {
+ // Output only. The display name of the speech processing.
+ string display_name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Metadata of the playbook trace.
+message PlaybookTraceMetadata {
+ // Required. The unique identifier of the playbook.
+ // Format:
+ // `projects/
@@ -1311,6 +1313,8 @@ public interface DataStoreSpecOrBuilder
* Required. Full resource name of
* [DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
* `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
+ * The path must include the project number, project id is not supported for
+ * this field.
*
*
*
@@ -1350,6 +1354,56 @@ public interface DataStoreSpecOrBuilder
* @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the boostSpec field is set.
+ */
+ boolean hasBoostSpec();
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The boostSpec.
+ */
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec getBoostSpec();
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpecOrBuilder
+ getBoostSpecOrBuilder();
}
/**
@@ -1404,6 +1458,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec.Builder.class);
}
+ private int bitField0_;
public static final int DATA_STORE_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
@@ -1416,6 +1471,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* Required. Full resource name of
* [DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
* `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
+ * The path must include the project number, project id is not supported for
+ * this field.
*
*
*
@@ -1444,6 +1501,8 @@ public java.lang.String getDataStore() {
* Required. Full resource name of
* [DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
* `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
+ * The path must include the project number, project id is not supported for
+ * this field.
*
*
*
@@ -1522,6 +1581,72 @@ public com.google.protobuf.ByteString getFilterBytes() {
}
}
+ public static final int BOOST_SPEC_FIELD_NUMBER = 6;
+ private com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boostSpec_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the boostSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasBoostSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The boostSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec getBoostSpec() {
+ return boostSpec_ == null
+ ? com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.getDefaultInstance()
+ : boostSpec_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpecOrBuilder
+ getBoostSpecOrBuilder() {
+ return boostSpec_ == null
+ ? com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.getDefaultInstance()
+ : boostSpec_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1542,6 +1667,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 5, filter_);
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(6, getBoostSpec());
+ }
getUnknownFields().writeTo(output);
}
@@ -1557,6 +1685,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(5, filter_);
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getBoostSpec());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -1575,6 +1706,10 @@ public boolean equals(final java.lang.Object obj) {
if (!getDataStore().equals(other.getDataStore())) return false;
if (!getFilter().equals(other.getFilter())) return false;
+ if (hasBoostSpec() != other.hasBoostSpec()) return false;
+ if (hasBoostSpec()) {
+ if (!getBoostSpec().equals(other.getBoostSpec())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -1590,6 +1725,10 @@ public int hashCode() {
hash = (53 * hash) + getDataStore().hashCode();
hash = (37 * hash) + FILTER_FIELD_NUMBER;
hash = (53 * hash) + getFilter().hashCode();
+ if (hasBoostSpec()) {
+ hash = (37 * hash) + BOOST_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getBoostSpec().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1725,10 +1864,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using
// com.google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec.newBuilder()
- private Builder() {}
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ internalGetBoostSpecFieldBuilder();
+ }
}
@java.lang.Override
@@ -1737,6 +1885,11 @@ public Builder clear() {
bitField0_ = 0;
dataStore_ = "";
filter_ = "";
+ boostSpec_ = null;
+ if (boostSpecBuilder_ != null) {
+ boostSpecBuilder_.dispose();
+ boostSpecBuilder_ = null;
+ }
return this;
}
@@ -1782,6 +1935,12 @@ private void buildPartial0(
if (((from_bitField0_ & 0x00000002) != 0)) {
result.filter_ = filter_;
}
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.boostSpec_ = boostSpecBuilder_ == null ? boostSpec_ : boostSpecBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
@@ -1810,6 +1969,9 @@ public Builder mergeFrom(
bitField0_ |= 0x00000002;
onChanged();
}
+ if (other.hasBoostSpec()) {
+ mergeBoostSpec(other.getBoostSpec());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -1848,6 +2010,13 @@ public Builder mergeFrom(
bitField0_ |= 0x00000002;
break;
} // case 42
+ case 50:
+ {
+ input.readMessage(
+ internalGetBoostSpecFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 50
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1876,6 +2045,8 @@ public Builder mergeFrom(
* Required. Full resource name of
* [DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
* `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
+ * The path must include the project number, project id is not supported for
+ * this field.
*
*
*
@@ -1903,6 +2074,8 @@ public java.lang.String getDataStore() {
* Required. Full resource name of
* [DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
* `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
+ * The path must include the project number, project id is not supported for
+ * this field.
*
*
*
@@ -1930,6 +2103,8 @@ public com.google.protobuf.ByteString getDataStoreBytes() {
* Required. Full resource name of
* [DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
* `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
+ * The path must include the project number, project id is not supported for
+ * this field.
*
*
*
@@ -1956,6 +2131,8 @@ public Builder setDataStore(java.lang.String value) {
* Required. Full resource name of
* [DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
* `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
+ * The path must include the project number, project id is not supported for
+ * this field.
*
*
*
@@ -1978,6 +2155,8 @@ public Builder clearDataStore() {
* Required. Full resource name of
* [DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
* `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
+ * The path must include the project number, project id is not supported for
+ * this field.
*
*
*
@@ -2119,6 +2298,243 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boostSpec_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec,
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.Builder,
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpecOrBuilder>
+ boostSpecBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the boostSpec field is set.
+ */
+ public boolean hasBoostSpec() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The boostSpec.
+ */
+ public com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec getBoostSpec() {
+ if (boostSpecBuilder_ == null) {
+ return boostSpec_ == null
+ ? com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.getDefaultInstance()
+ : boostSpec_;
+ } else {
+ return boostSpecBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setBoostSpec(
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec value) {
+ if (boostSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ boostSpec_ = value;
+ } else {
+ boostSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setBoostSpec(
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.Builder builderForValue) {
+ if (boostSpecBuilder_ == null) {
+ boostSpec_ = builderForValue.build();
+ } else {
+ boostSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeBoostSpec(
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec value) {
+ if (boostSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)
+ && boostSpec_ != null
+ && boostSpec_
+ != com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec
+ .getDefaultInstance()) {
+ getBoostSpecBuilder().mergeFrom(value);
+ } else {
+ boostSpec_ = value;
+ }
+ } else {
+ boostSpecBuilder_.mergeFrom(value);
+ }
+ if (boostSpec_ != null) {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearBoostSpec() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ boostSpec_ = null;
+ if (boostSpecBuilder_ != null) {
+ boostSpecBuilder_.dispose();
+ boostSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.Builder
+ getBoostSpecBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return internalGetBoostSpecFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpecOrBuilder
+ getBoostSpecOrBuilder() {
+ if (boostSpecBuilder_ != null) {
+ return boostSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return boostSpec_ == null
+ ? com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.getDefaultInstance()
+ : boostSpec_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Boost specification to boost certain documents.
+ * For more information on boosting, see
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ *
+ *
+ *
+ * .google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec,
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.Builder,
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpecOrBuilder>
+ internalGetBoostSpecFieldBuilder() {
+ if (boostSpecBuilder_ == null) {
+ boostSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec,
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.Builder,
+ com.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpecOrBuilder>(
+ getBoostSpec(), getParentForChildren(), isClean());
+ boostSpec_ = null;
+ }
+ return boostSpecBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec)
}
@@ -15150,7 +15566,7 @@ public interface SnippetSpecOrBuilder
*
* @deprecated
* google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec.max_snippet_count
- * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=439
+ * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=446
* @return The maxSnippetCount.
*/
@java.lang.Deprecated
@@ -15168,7 +15584,7 @@ public interface SnippetSpecOrBuilder
*
* @deprecated
* google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec.reference_only
- * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=443
+ * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=450
* @return The referenceOnly.
*/
@java.lang.Deprecated
@@ -15256,7 +15672,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @deprecated
* google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec.max_snippet_count
- * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=439
+ * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=446
* @return The maxSnippetCount.
*/
@java.lang.Override
@@ -15280,7 +15696,7 @@ public int getMaxSnippetCount() {
*
* @deprecated
* google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec.reference_only
- * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=443
+ * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=450
* @return The referenceOnly.
*/
@java.lang.Override
@@ -15726,7 +16142,7 @@ public Builder mergeFrom(
*
* @deprecated
* google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec.max_snippet_count
- * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=439
+ * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=446
* @return The maxSnippetCount.
*/
@java.lang.Override
@@ -15748,7 +16164,7 @@ public int getMaxSnippetCount() {
*
* @deprecated
* google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec.max_snippet_count
- * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=439
+ * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=446
* @param value The maxSnippetCount to set.
* @return This builder for chaining.
*/
@@ -15774,7 +16190,7 @@ public Builder setMaxSnippetCount(int value) {
*
* @deprecated
* google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec.max_snippet_count
- * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=439
+ * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=446
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -15799,7 +16215,7 @@ public Builder clearMaxSnippetCount() {
*
* @deprecated
* google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec.reference_only
- * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=443
+ * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=450
* @return The referenceOnly.
*/
@java.lang.Override
@@ -15820,7 +16236,7 @@ public boolean getReferenceOnly() {
*
* @deprecated
* google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec.reference_only
- * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=443
+ * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=450
* @param value The referenceOnly to set.
* @return This builder for chaining.
*/
@@ -15845,7 +16261,7 @@ public Builder setReferenceOnly(boolean value) {
*
* @deprecated
* google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec.reference_only
- * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=443
+ * is deprecated. See google/cloud/discoveryengine/v1beta/search_service.proto;l=450
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/SearchServiceProto.java b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/SearchServiceProto.java
index 669545213cb3..ecd0cd4d8735 100644
--- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/SearchServiceProto.java
+++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/SearchServiceProto.java
@@ -276,7 +276,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "pi/field_behavior.proto\032\031google/api/reso"
+ "urce.proto\032/google/cloud/discoveryengine/v1beta/chunk.proto\0320google/cloud/discov"
+ "eryengine/v1beta/common.proto\0322google/cl"
- + "oud/discoveryengine/v1beta/document.proto\032\034google/protobuf/struct.proto\"\2706\n\r"
+ + "oud/discoveryengine/v1beta/document.proto\032\034google/protobuf/struct.proto\"\2207\n\r"
+ "SearchRequest\022L\n"
+ "\016serving_config\030\001 \001(\tB4\340A\002\372A.\n"
+ ",discoveryengine.googleapis.com/ServingConfig\022:\n"
@@ -336,14 +336,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "le.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec\032,\n\n"
+ "ImageQuery\022\025\n"
+ "\013image_bytes\030\001 \001(\tH\000B\007\n"
- + "\005image\032j\n\r"
+ + "\005image\032\301\001\n\r"
+ "DataStoreSpec\022D\n\n"
+ "data_store\030\001 \001(\tB0\340A\002\372A*\n"
+ "(discoveryengine.googleapis.com/DataStore\022\023\n"
- + "\006filter\030\005 \001(\tB\003\340A\001\032\204\003\n"
+ + "\006filter\030\005 \001(\tB\003\340A\001\022U\n\n"
+ + "boost_spec\030\006 \001(\013"
+ + "2<.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpecB\003\340A\001\032\204\003\n"
+ "\tFacetSpec\022]\n"
- + "\tfacet_key\030\001 \001(\0132E.google.cloud.discoveryeng"
- + "ine.v1beta.SearchRequest.FacetSpec.FacetKeyB\003\340A\002\022\r\n"
+ + "\tfacet_key\030\001 \001(\0132E.google.cloud.disc"
+ + "overyengine.v1beta.SearchRequest.FacetSpec.FacetKeyB\003\340A\002\022\r\n"
+ "\005limit\030\002 \001(\005\022\034\n"
+ "\024excluded_filter_keys\030\003 \003(\t\022\037\n"
+ "\027enable_dynamic_position\030\004 \001(\010\032\311\001\n"
@@ -356,25 +358,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\020case_insensitive\030\006 \001(\010\022\020\n"
+ "\010order_by\030\007 \001(\t\032\320\007\n"
+ "\tBoostSpec\022n\n"
- + "\025condition_boost_specs\030\001 \003(\0132O.google.cloud.discovery"
- + "engine.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec\032\322\006\n"
+ + "\025condition_boost_specs\030\001 \003(\0132O.google.cloud.d"
+ + "iscoveryengine.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec\032\322\006\n"
+ "\022ConditionBoostSpec\022\021\n"
+ "\tcondition\030\001 \001(\t\022\r\n"
+ "\005boost\030\002 \001(\002\022|\n"
- + "\022boost_control_spec\030\003 \001(\0132`.google.cloud.dis"
- + "coveryengine.v1beta.SearchRequest.BoostS"
- + "pec.ConditionBoostSpec.BoostControlSpec\032\233\005\n"
+ + "\022boost_control_spec\030\003 \001(\0132`.google.c"
+ + "loud.discoveryengine.v1beta.SearchReques"
+ + "t.BoostSpec.ConditionBoostSpec.BoostControlSpec\032\233\005\n"
+ "\020BoostControlSpec\022\022\n\n"
+ "field_name\030\001 \001(\t\022\206\001\n"
- + "\016attribute_type\030\002 \001(\0162n.google.cloud"
- + ".discoveryengine.v1beta.SearchRequest.Bo"
- + "ostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType\022\216\001\n"
- + "\022interpolation_type\030\003 \001(\0162r.google.cloud.discoveryengine.v1"
- + "beta.SearchRequest.BoostSpec.ConditionBo"
- + "ostSpec.BoostControlSpec.InterpolationType\022\205\001\n"
- + "\016control_points\030\004 \003(\0132m.google.clo"
- + "ud.discoveryengine.v1beta.SearchRequest."
- + "BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint\032=\n"
+ + "\016attribute_type\030\002 \001(\0162n.google.cloud.discoveryengine.v1beta.SearchRe"
+ + "quest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType\022\216\001\n"
+ + "\022interpolation_type\030\003 \001(\0162r.google.cloud.discoverye"
+ + "ngine.v1beta.SearchRequest.BoostSpec.Con"
+ + "ditionBoostSpec.BoostControlSpec.InterpolationType\022\205\001\n"
+ + "\016control_points\030\004 \003(\0132m.google.cloud.discoveryengine.v1beta.Search"
+ + "Request.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint\032=\n"
+ "\014ControlPoint\022\027\n"
+ "\017attribute_value\030\001 \001(\t\022\024\n"
+ "\014boost_amount\030\002 \001(\002\"M\n\r"
@@ -386,31 +386,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\036INTERPOLATION_TYPE_UNSPECIFIED\020\000\022\n\n"
+ "\006LINEAR\020\001\032\330\001\n"
+ "\022QueryExpansionSpec\022b\n"
- + "\tcondition\030\001 \001(\0162O.google"
- + ".cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec.Condition\022\036\n"
+ + "\tcondition\030\001 \001(\0162O.google.cloud.discoveryengine.v1beta.Se"
+ + "archRequest.QueryExpansionSpec.Condition\022\036\n"
+ "\026pin_unexpanded_results\030\002 \001(\010\">\n"
+ "\tCondition\022\031\n"
+ "\025CONDITION_UNSPECIFIED\020\000\022\014\n"
+ "\010DISABLED\020\001\022\010\n"
+ "\004AUTO\020\002\032\255\001\n"
+ "\023SpellCorrectionSpec\022Y\n"
- + "\004mode\030\001 \001(\0162K.google.cloud.discoveryengine.v1"
- + "beta.SearchRequest.SpellCorrectionSpec.Mode\";\n"
+ + "\004mode\030\001 \001(\0162K.google.cloud.discoverye"
+ + "ngine.v1beta.SearchRequest.SpellCorrectionSpec.Mode\";\n"
+ "\004Mode\022\024\n"
+ "\020MODE_UNSPECIFIED\020\000\022\023\n"
+ "\017SUGGESTION_ONLY\020\001\022\010\n"
+ "\004AUTO\020\002\032\276\014\n"
+ "\021ContentSearchSpec\022f\n"
- + "\014snippet_spec\030\001 \001(\0132P.google.cl"
- + "oud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec\022f\n"
- + "\014summary_spec\030\002 \001(\0132P.google.cloud.discoveryeng"
- + "ine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec\022{\n"
- + "\027extractive_content_spec\030\003 \001(\0132Z.google.cloud.discoveryengine.v"
- + "1beta.SearchRequest.ContentSearchSpec.ExtractiveContentSpec\022q\n"
- + "\022search_result_mode\030\004 \001(\0162U.google.cloud.discoveryengine.v"
- + "1beta.SearchRequest.ContentSearchSpec.SearchResultMode\022b\n\n"
- + "chunk_spec\030\005 \001(\0132N.goo"
- + "gle.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec\032`\n"
+ + "\014snippet_spec\030\001 \001(\0132P.google.cloud.discoveryengine.v1beta.Searc"
+ + "hRequest.ContentSearchSpec.SnippetSpec\022f\n"
+ + "\014summary_spec\030\002 \001(\0132P.google.cloud.disc"
+ + "overyengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec\022{\n"
+ + "\027extractive_content_spec\030\003 \001(\0132Z.google.cloud.discovery"
+ + "engine.v1beta.SearchRequest.ContentSearchSpec.ExtractiveContentSpec\022q\n"
+ + "\022search_result_mode\030\004 \001(\0162U.google.cloud.discovery"
+ + "engine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode\022b\n\n"
+ + "chunk_spec\030\005 \001(\0132N.google.cloud.discoveryengine.v1beta"
+ + ".SearchRequest.ContentSearchSpec.ChunkSpec\032`\n"
+ "\013SnippetSpec\022\035\n"
+ "\021max_snippet_count\030\001 \001(\005B\002\030\001\022\032\n"
+ "\016reference_only\030\002 \001(\010B\002\030\001\022\026\n"
@@ -423,12 +423,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\033ignore_low_relevant_content\030\t \001(\010\022\'\n"
+ "\032ignore_jail_breaking_query\030\n"
+ " \001(\010B\003\340A\001\022{\n"
- + "\021model_prompt_spec\030\005 \001(\0132`.google.clou"
- + "d.discoveryengine.v1beta.SearchRequest.C"
- + "ontentSearchSpec.SummarySpec.ModelPromptSpec\022\025\n\r"
+ + "\021model_prompt_spec\030\005 \001(\0132`.google.cloud.discoveryengine.v1beta.SearchR"
+ + "equest.ContentSearchSpec.SummarySpec.ModelPromptSpec\022\025\n\r"
+ "language_code\030\006 \001(\t\022n\n\n"
- + "model_spec\030\007 \001(\0132Z.google.cloud.discoveryengine.v"
- + "1beta.SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec\022\033\n"
+ + "model_spec\030\007 \001(\0132Z.google.cloud.discovery"
+ + "engine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec\022\033\n"
+ "\023use_semantic_chunks\030\010 \001(\010\032#\n"
+ "\017ModelPromptSpec\022\020\n"
+ "\010preamble\030\001 \001(\t\032\034\n"
@@ -444,28 +443,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\023num_previous_chunks\030\001 \001(\005\022\027\n"
+ "\017num_next_chunks\030\002 \001(\005\"Q\n"
+ "\020SearchResultMode\022\"\n"
- + "\036SEARCH_RESULT_MODE_UNSPECIFIED\020\000\022\r"
- + "\n"
+ + "\036SEARCH_RESULT_MODE_UNSPECIFIED\020\000\022\r\n"
+ "\tDOCUMENTS\020\001\022\n\n"
+ "\006CHUNKS\020\002\032\263\001\n\r"
+ "EmbeddingSpec\022k\n"
- + "\021embedding_vectors\030\001 \003(\0132P.google."
- + "cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector\0325\n"
+ + "\021embedding_vectors\030\001 \003(\0132P.google.cloud.discoveryengine.v1beta.Sea"
+ + "rchRequest.EmbeddingSpec.EmbeddingVector\0325\n"
+ "\017EmbeddingVector\022\022\n\n"
+ "field_path\030\001 \001(\t\022\016\n"
+ "\006vector\030\002 \003(\002\032\304\002\n"
+ "%NaturalLanguageQueryUnderstandingSpec\022\227\001\n"
- + "\033filter_extraction_condition\030\001 \001(\0162r.google.cloud.discoveryengine.v"
- + "1beta.SearchRequest.NaturalLanguageQuery"
- + "UnderstandingSpec.FilterExtractionCondition\022.\n"
+ + "\033filter_extraction_condition\030\001 \001(\0162r.google.cloud.discovery"
+ + "engine.v1beta.SearchRequest.NaturalLangu"
+ + "ageQueryUnderstandingSpec.FilterExtractionCondition\022.\n"
+ "&geo_search_query_detection_field_names\030\002 \003(\t\"Q\n"
+ "\031FilterExtractionCondition\022\031\n"
+ "\025CONDITION_UNSPECIFIED\020\000\022\014\n"
+ "\010DISABLED\020\001\022\013\n"
+ "\007ENABLED\020\002\032\275\001\n"
+ "\023SearchAsYouTypeSpec\022c\n"
- + "\tcondition\030\001 \001(\0162P.google.cloud.discove"
- + "ryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition\"A\n"
+ + "\tcondition\030\001 \001(\0162P.google.cloud"
+ + ".discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition\"A\n"
+ "\tCondition\022\031\n"
+ "\025CONDITION_UNSPECIFIED\020\000\022\014\n"
+ "\010DISABLED\020\001\022\013\n"
@@ -475,8 +473,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\037search_result_persistence_count\030\002 \001(\005H\000\210\001\001B\"\n"
+ " _search_result_persistence_count\032\246\001\n"
+ "\023PersonalizationSpec\022Y\n"
- + "\004mode\030\001 \001(\0162"
- + "K.google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode\"4\n"
+ + "\004mode\030\001 \001(\0162K.google.cloud.discoveryengine.v"
+ + "1beta.SearchRequest.PersonalizationSpec.Mode\"4\n"
+ "\004Mode\022\024\n"
+ "\020MODE_UNSPECIFIED\020\000\022\010\n"
+ "\004AUTO\020\001\022\014\n"
@@ -498,44 +496,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\021RANK_BY_EMBEDDING\020\003\022\023\n"
+ "\017RANK_BY_FORMULA\020\004\"\004\010\001\020\001\"\004\010\002\020\002\"\3715\n"
+ "\016SearchResponse\022Q\n"
- + "\007results\030\001 \003(\0132@"
- + ".google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult\022I\n"
- + "\006facets\030\002 \003(\013"
- + "29.google.cloud.discoveryengine.v1beta.SearchResponse.Facet\022d\n"
- + "\024guided_search_result\030\010 \001(\0132F.google.cloud.discoveryengine"
- + ".v1beta.SearchResponse.GuidedSearchResult\022\022\n\n"
+ + "\007results\030\001"
+ + " \003(\0132@.google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult\022I\n"
+ + "\006facets\030\002"
+ + " \003(\01329.google.cloud.discoveryengine.v1beta.SearchResponse.Facet\022d\n"
+ + "\024guided_search_result\030\010 \001(\0132F.google.cloud.discove"
+ + "ryengine.v1beta.SearchResponse.GuidedSearchResult\022\022\n\n"
+ "total_size\030\003 \001(\005\022\031\n"
+ "\021attribution_token\030\004 \001(\t\022\024\n"
+ "\014redirect_uri\030\014 \001(\t\022\027\n"
+ "\017next_page_token\030\005 \001(\t\022\027\n"
+ "\017corrected_query\030\007 \001(\t\022L\n"
- + "\007summary\030\t \001(\0132;.google.cloud.discove"
- + "ryengine.v1beta.SearchResponse.Summary\022\030\n"
+ + "\007summary\030\t \001(\0132;.google.cloud"
+ + ".discoveryengine.v1beta.SearchResponse.Summary\022\030\n"
+ "\020applied_controls\030\n"
+ " \003(\t\022e\n"
- + "\025geo_search_debug_info\030\020 \003(\0132F.google.cloud.discovery"
- + "engine.v1beta.SearchResponse.GeoSearchDebugInfo\022d\n"
- + "\024query_expansion_info\030\016 \001(\0132F."
- + "google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo\022\214\001\n"
- + ")natural_language_query_understanding_info\030\017 \001("
- + "\0132Y.google.cloud.discoveryengine.v1beta."
- + "SearchResponse.NaturalLanguageQueryUnderstandingInfo\022U\n"
- + "\014session_info\030\023 \001(\0132?.goo"
- + "gle.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo\022Y\n"
- + "\017one_box_results\030\024"
- + " \003(\0132@.google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult\032\302\010\n"
+ + "\025geo_search_debug_info\030\020 \003(\0132F.google.cloud.d"
+ + "iscoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo\022d\n"
+ + "\024query_expansion_info\030\016 \001(\0132F.google.cloud.discoveryengine.v1b"
+ + "eta.SearchResponse.QueryExpansionInfo\022\214\001\n"
+ + ")natural_language_query_understanding_info\030\017"
+ + " \001(\0132Y.google.cloud.discoveryengine"
+ + ".v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo\022U\n"
+ + "\014session_info\030\023 \001"
+ + "(\0132?.google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo\022Y\n"
+ + "\017one_box_results\030\024 \003(\0132@.google.cloud.discoveryeng"
+ + "ine.v1beta.SearchResponse.OneBoxResult\032\302\010\n"
+ "\014SearchResult\022\n\n"
+ "\002id\030\001 \001(\t\022?\n"
+ "\010document\030\002 \001(\0132-.google.cloud.discoveryengine.v1beta.Document\0229\n"
+ "\005chunk\030\022 \001(\0132*.google.cloud.discoveryengine.v1beta.Chunk\022g\n"
- + "\014model_scores\030\004 \003(\0132Q.google.cloud.discoveryengine.v1b"
- + "eta.SearchResponse.SearchResult.ModelScoresEntry\022g\n"
- + "\014rank_signals\030\007 \001(\0132L.google."
- + "cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignalsB\003\340A\001\032c\n"
+ + "\014model_scores\030\004 \003(\0132Q.google.cloud.discoveryen"
+ + "gine.v1beta.SearchResponse.SearchResult.ModelScoresEntry\022g\n"
+ + "\014rank_signals\030\007 \001(\0132L.google.cloud.discoveryengine.v1beta.Sea"
+ + "rchResponse.SearchResult.RankSignalsB\003\340A\001\032c\n"
+ "\020ModelScoresEntry\022\013\n"
+ "\003key\030\001 \001(\t\022>\n"
- + "\005value\030\002 \001("
- + "\0132/.google.cloud.discoveryengine.v1beta.DoubleList:\0028\001\032\362\004\n"
+ + "\005value\030\002"
+ + " \001(\0132/.google.cloud.discoveryengine.v1beta.DoubleList:\0028\001\032\362\004\n"
+ "\013RankSignals\022*\n"
+ "\030keyword_similarity_score\030\001 \001(\002B\003\340A\001H\000\210\001\001\022!\n"
+ "\017relevance_score\030\002 \001(\002B\003\340A\001H\001\210\001\001\022+\n"
@@ -546,8 +544,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\014document_age\030\007 \001(\002B\003\340A\001H\005\210\001\001\022!\n"
+ "\017boosting_factor\030\010 \001(\002B\003\340A\001H\006\210\001\001\022\031\n"
+ "\014default_rank\030 \001(\002B\003\340A\001\022v\n"
- + "\016custom_signals\030! \003(\0132Y.google.cloud.discover"
- + "yengine.v1beta.SearchResponse.SearchResult.RankSignals.CustomSignalB\003\340A\001\0325\n"
+ + "\016custom_signals\030! \003(\0132Y.google.cloud."
+ + "discoveryengine.v1beta.SearchResponse.Se"
+ + "archResult.RankSignals.CustomSignalB\003\340A\001\0325\n"
+ "\014CustomSignal\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\001\022\022\n"
+ "\005value\030\002 \001(\002B\003\340A\001B\033\n"
@@ -560,41 +559,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\020_boosting_factorJ\004\010\005\020\006\032\201\002\n"
+ "\005Facet\022\013\n"
+ "\003key\030\001 \001(\t\022T\n"
- + "\006values\030\002 \003"
- + "(\0132D.google.cloud.discoveryengine.v1beta.SearchResponse.Facet.FacetValue\022\025\n\r"
+ + "\006values\030\002 \003(\0132D.google.cloud.discoveryengin"
+ + "e.v1beta.SearchResponse.Facet.FacetValue\022\025\n\r"
+ "dynamic_facet\030\003 \001(\010\032~\n\n"
+ "FacetValue\022\017\n"
+ "\005value\030\001 \001(\tH\000\022A\n"
- + "\010interval\030\002"
- + " \001(\0132-.google.cloud.discoveryengine.v1beta.IntervalH\000\022\r\n"
+ + "\010interval\030\002 \001(\0132-.googl"
+ + "e.cloud.discoveryengine.v1beta.IntervalH\000\022\r\n"
+ "\005count\030\003 \001(\003B\r\n"
+ "\013facet_value\032\363\001\n"
+ "\022GuidedSearchResult\022y\n"
- + "\025refinement_attributes\030\001 \003(\0132Z.google.cloud.discoveryengine.v1beta.Sear"
- + "chResponse.GuidedSearchResult.RefinementAttribute\022\033\n"
+ + "\025refinement_attributes\030\001 \003(\0132Z.google.cloud.discoveryengine.v1b"
+ + "eta.SearchResponse.GuidedSearchResult.RefinementAttribute\022\033\n"
+ "\023follow_up_questions\030\002 \003(\t\032E\n"
+ "\023RefinementAttribute\022\025\n\r"
+ "attribute_key\030\001 \001(\t\022\027\n"
+ "\017attribute_value\030\002 \001(\t\032\263\014\n"
+ "\007Summary\022\024\n"
+ "\014summary_text\030\001 \001(\t\022q\n"
- + "\027summary_skipped_reasons\030\002 \003(\0162P.google.cloud.discover"
- + "yengine.v1beta.SearchResponse.Summary.SummarySkippedReason\022g\n"
- + "\021safety_attributes\030\003 \001(\0132L.google.cloud.discoveryengine.v1b"
- + "eta.SearchResponse.Summary.SafetyAttributes\022n\n"
- + "\025summary_with_metadata\030\004 \001(\0132O.goo"
- + "gle.cloud.discoveryengine.v1beta.SearchResponse.Summary.SummaryWithMetadata\0326\n"
+ + "\027summary_skipped_reasons\030\002 \003(\0162P.google.cloud."
+ + "discoveryengine.v1beta.SearchResponse.Summary.SummarySkippedReason\022g\n"
+ + "\021safety_attributes\030\003 \001(\0132L.google.cloud.discoveryen"
+ + "gine.v1beta.SearchResponse.Summary.SafetyAttributes\022n\n"
+ + "\025summary_with_metadata\030\004 \001(\0132O.google.cloud.discoveryengine.v1beta"
+ + ".SearchResponse.Summary.SummaryWithMetadata\0326\n"
+ "\020SafetyAttributes\022\022\n\n"
+ "categories\030\001 \003(\t\022\016\n"
+ "\006scores\030\002 \003(\002\032k\n"
+ "\020CitationMetadata\022W\n"
- + "\tcitations\030\001 \003(\0132D.google.cloud.discoveryengin"
- + "e.v1beta.SearchResponse.Summary.Citation\032\217\001\n"
+ + "\tcitations\030\001 \003(\0132D.google.cloud.discov"
+ + "eryengine.v1beta.SearchResponse.Summary.Citation\032\217\001\n"
+ "\010Citation\022\023\n"
+ "\013start_index\030\001 \001(\003\022\021\n"
+ "\tend_index\030\002 \001(\003\022[\n"
- + "\007sources\030\003 \003(\0132J.google."
- + "cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationSource\032)\n"
+ + "\007sources\030\003 \003(\0132J"
+ + ".google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationSource\032)\n"
+ "\016CitationSource\022\027\n"
+ "\017reference_index\030\004 \001(\003\032\220\002\n"
+ "\tReference\022\r\n"
@@ -602,17 +601,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010document\030\002 \001(\tB/\340A\002\372A)\n"
+ "\'discoveryengine.googleapis.com/Document\022\013\n"
+ "\003uri\030\003 \001(\t\022j\n"
- + "\016chunk_contents\030\004 \003(\0132R.google.cloud.discoveryengine.v1beta"
- + ".SearchResponse.Summary.Reference.ChunkContent\0328\n"
+ + "\016chunk_contents\030\004 \003(\0132R.google.cloud.discoveryengin"
+ + "e.v1beta.SearchResponse.Summary.Reference.ChunkContent\0328\n"
+ "\014ChunkContent\022\017\n"
+ "\007content\030\001 \001(\t\022\027\n"
+ "\017page_identifier\030\002 \001(\t\032\352\001\n"
+ "\023SummaryWithMetadata\022\017\n"
+ "\007summary\030\001 \001(\t\022g\n"
- + "\021citation_metadata\030\002 \001(\0132L.google.cloud.discoveryeng"
- + "ine.v1beta.SearchResponse.Summary.CitationMetadata\022Y\n\n"
- + "references\030\003 \003(\0132E.google."
- + "cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference\"\343\002\n"
+ + "\021citation_metadata\030\002 \001(\0132L.google.cloud.disc"
+ + "overyengine.v1beta.SearchResponse.Summary.CitationMetadata\022Y\n\n"
+ + "references\030\003 \003(\0132E"
+ + ".google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference\"\343\002\n"
+ "\024SummarySkippedReason\022&\n"
+ "\"SUMMARY_SKIPPED_REASON_UNSPECIFIED\020\000\022\035\n"
+ "\031ADVERSARIAL_QUERY_IGNORED\020\001\022%\n"
@@ -633,21 +632,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "%NaturalLanguageQueryUnderstandingInfo\022\031\n"
+ "\021extracted_filters\030\001 \001(\t\022\027\n"
+ "\017rewritten_query\030\002 \001(\t\022\230\001\n"
- + "\033structured_extracted_filter\030\003 \001(\0132s.google.cloud.d"
- + "iscoveryengine.v1beta.SearchResponse.Nat"
- + "uralLanguageQueryUnderstandingInfo.StructuredExtractedFilter\032\210\017\n"
+ + "\033structured_extracted_filter\030\003 \001(\0132s.google"
+ + ".cloud.discoveryengine.v1beta.SearchResp"
+ + "onse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter\032\210\017\n"
+ "\031StructuredExtractedFilter\022\222\001\n\n"
- + "expression\030\001 \001(\0132~.google.cloud.discoveryengine.v1beta.SearchResp"
- + "onse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression\032M\n"
+ + "expression\030\001 \001(\0132~.google.cloud.discoveryengine.v1beta.Se"
+ + "archResponse.NaturalLanguageQueryUnderst"
+ + "andingInfo.StructuredExtractedFilter.Expression\032M\n"
+ "\020StringConstraint\022\022\n\n"
+ "field_name\030\001 \001(\t\022\016\n"
+ "\006values\030\002 \003(\t\022\025\n\r"
+ "query_segment\030\003 \001(\t\032\372\002\n"
+ "\020NumberConstraint\022\022\n\n"
+ "field_name\030\001 \001(\t\022\244\001\n\n"
- + "comparison\030\002 \001(\0162\217\001.google.cloud.dis"
- + "coveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.Structu"
- + "redExtractedFilter.NumberConstraint.Comparison\022\r\n"
+ + "comparison\030\002 \001(\0162\217\001.google.cloud.discoveryengine.v1beta.SearchRespon"
+ + "se.NaturalLanguageQueryUnderstandingInfo"
+ + ".StructuredExtractedFilter.NumberConstraint.Comparison\022\r\n"
+ "\005value\030\003 \001(\001\022\025\n\r"
+ "query_segment\030\004 \001(\t\"\204\001\n\n"
+ "Comparison\022\032\n"
@@ -664,38 +664,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\tlongitude\030\005 \001(\001\022\030\n"
+ "\020radius_in_meters\030\003 \001(\002\032\245\001\n\r"
+ "AndExpression\022\223\001\n"
- + "\013expressions\030\001 \003(\0132~.google.cloud."
- + "discoveryengine.v1beta.SearchResponse.Na"
- + "turalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression\032\244\001\n"
+ + "\013expressions\030\001 \003(\0132~.google.cloud.discoveryengine.v1beta.SearchRes"
+ + "ponse.NaturalLanguageQueryUnderstandingI"
+ + "nfo.StructuredExtractedFilter.Expression\032\244\001\n"
+ "\014OrExpression\022\223\001\n"
- + "\013expressions\030\001 \003(\0132~.google.cloud.discoveryengine.v1beta.SearchResp"
- + "onse.NaturalLanguageQueryUnderstandingIn"
- + "fo.StructuredExtractedFilter.Expression\032\275\006\n\n"
+ + "\013expressions\030\001 \003(\0132~.google.cloud.discoveryengine.v1beta.Se"
+ + "archResponse.NaturalLanguageQueryUnderst"
+ + "andingInfo.StructuredExtractedFilter.Expression\032\275\006\n\n"
+ "Expression\022\242\001\n"
- + "\021string_constraint\030\001 \001(\0132\204\001.google.cloud.discoveryengine.v1bet"
- + "a.SearchResponse.NaturalLanguageQueryUnd"
- + "erstandingInfo.StructuredExtractedFilter.StringConstraintH\000\022\242\001\n"
- + "\021number_constraint\030\002 \001(\0132\204\001.google.cloud.discoveryengine."
- + "v1beta.SearchResponse.NaturalLanguageQue"
- + "ryUnderstandingInfo.StructuredExtractedFilter.NumberConstraintH\000\022\254\001\n"
- + "\026geolocation_constraint\030\003 \001(\0132\211\001.google.cloud.discov"
- + "eryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.Structured"
- + "ExtractedFilter.GeolocationConstraintH\000\022\226\001\n"
- + "\010and_expr\030\004 \001(\0132\201\001.google.cloud.disco"
- + "veryengine.v1beta.SearchResponse.Natural"
- + "LanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpressionH\000\022\224\001\n"
- + "\007or_expr\030\005 \001(\0132\200\001.google.cloud.discoveryengi"
+ + "\021string_constraint\030\001 \001(\0132\204\001.google.cloud.discoveryengi"
+ "ne.v1beta.SearchResponse.NaturalLanguage"
- + "QueryUnderstandingInfo.StructuredExtractedFilter.OrExpressionH\000B\006\n"
+ + "QueryUnderstandingInfo.StructuredExtractedFilter.StringConstraintH\000\022\242\001\n"
+ + "\021number_constraint\030\002 \001(\0132\204\001.google.cloud.discover"
+ + "yengine.v1beta.SearchResponse.NaturalLan"
+ + "guageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraintH\000\022\254\001\n"
+ + "\026geolocation_constraint\030\003 \001(\0132\211\001.google.clou"
+ + "d.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.St"
+ + "ructuredExtractedFilter.GeolocationConstraintH\000\022\226\001\n"
+ + "\010and_expr\030\004 \001(\0132\201\001.google.clo"
+ + "ud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.S"
+ + "tructuredExtractedFilter.AndExpressionH\000\022\224\001\n"
+ + "\007or_expr\030\005 \001(\0132\200\001.google.cloud.disco"
+ + "veryengine.v1beta.SearchResponse.Natural"
+ + "LanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpressionH\000B\006\n"
+ "\004expr\032-\n"
+ "\013SessionInfo\022\014\n"
+ "\004name\030\001 \001(\t\022\020\n"
+ "\010query_id\030\002 \001(\t\032\265\002\n"
+ "\014OneBoxResult\022a\n"
- + "\014one_box_type\030\001 \001(\0162K."
- + "google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult.OneBoxType\022X\n"
- + "\016search_results\030\002 \003(\0132@.google.cloud.discov"
- + "eryengine.v1beta.SearchResponse.SearchResult\"h\n\n"
+ + "\014one_box_type\030\001 \001(\0162K.google.cloud.discoveryengine.v1b"
+ + "eta.SearchResponse.OneBoxResult.OneBoxType\022X\n"
+ + "\016search_results\030\002 \003(\0132@.google.clou"
+ + "d.discoveryengine.v1beta.SearchResponse.SearchResult\"h\n\n"
+ "OneBoxType\022\034\n"
+ "\030ONE_BOX_TYPE_UNSPECIFIED\020\000\022\n\n"
+ "\006PEOPLE\020\001\022\020\n"
@@ -703,28 +703,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\005SLACK\020\003\022\023\n"
+ "\017KNOWLEDGE_GRAPH\020\0042\277\007\n\r"
+ "SearchService\022\243\003\n"
- + "\006Search\0222.google.cloud.discoveryengine.v1beta.SearchRequest\0323.google"
- + ".cloud.discoveryengine.v1beta.SearchResp"
- + "onse\"\257\002\202\323\344\223\002\250\002\"T/v1beta/{serving_config="
- + "projects/*/locations/*/dataStores/*/servingConfigs/*}:search:\001*Zg\"b/v1beta/{serv"
- + "ing_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:s"
- + "earch:\001*Zd\"_/v1beta/{serving_config=proj"
- + "ects/*/locations/*/collections/*/engines/*/servingConfigs/*}:search:\001*\022\263\003\n\n"
- + "SearchLite\0222.google.cloud.discoveryengine.v1b"
- + "eta.SearchRequest\0323.google.cloud.discove"
- + "ryengine.v1beta.SearchResponse\"\273\002\202\323\344\223\002\264\002"
- + "\"X/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:"
- + "searchLite:\001*Zk\"f/v1beta/{serving_config=projects/*/locations/*/collections/*/da"
- + "taStores/*/servingConfigs/*}:searchLite:\001*Zh\"c/v1beta/{serving_config=projects/*"
- + "/locations/*/collections/*/engines/*/ser"
- + "vingConfigs/*}:searchLite:\001*\032R\312A\036discove"
- + "ryengine.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platformB\231\002\n"
- + "\'com.google.cloud.discoveryengine.v1betaB\022Se"
- + "archServiceProtoP\001ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryengin"
- + "epb;discoveryenginepb\242\002\017DISCOVERYENGINE\252"
- + "\002#Google.Cloud.DiscoveryEngine.V1Beta\312\002#"
- + "Google\\Cloud\\DiscoveryEngine\\V1beta\352\002&Go"
- + "ogle::Cloud::DiscoveryEngine::V1betab\006proto3"
+ + "\006Search\0222.google.cloud.discoveryengine.v1beta.SearchRequest\032"
+ + "3.google.cloud.discoveryengine.v1beta.Se"
+ + "archResponse\"\257\002\202\323\344\223\002\250\002\"T/v1beta/{serving"
+ + "_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search:\001*Zg\"b/v1be"
+ + "ta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConf"
+ + "igs/*}:search:\001*Zd\"_/v1beta/{serving_config=projects/*/locations/*/collections/*"
+ + "/engines/*/servingConfigs/*}:search:\001*\022\263\003\n\n"
+ + "SearchLite\0222.google.cloud.discoveryengine.v1beta.SearchRequest\0323.google.cloud"
+ + ".discoveryengine.v1beta.SearchResponse\"\273"
+ + "\002\202\323\344\223\002\264\002\"X/v1beta/{serving_config=projec"
+ + "ts/*/locations/*/dataStores/*/servingConfigs/*}:searchLite:\001*Zk\"f/v1beta/{servin"
+ + "g_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:sea"
+ + "rchLite:\001*Zh\"c/v1beta/{serving_config=projects/*/locations/*/collections/*/engin"
+ + "es/*/servingConfigs/*}:searchLite:\001*\032R\312A"
+ + "\036discoveryengine.googleapis.com\322A.https:"
+ + "//www.googleapis.com/auth/cloud-platformB\231\002\n"
+ + "\'com.google.cloud.discoveryengine.v1betaB\022SearchServiceProtoP\001ZQcloud.google"
+ + ".com/go/discoveryengine/apiv1beta/discov"
+ + "eryenginepb;discoveryenginepb\242\002\017DISCOVER"
+ + "YENGINE\252\002#Google.Cloud.DiscoveryEngine.V"
+ + "1Beta\312\002#Google\\Cloud\\DiscoveryEngine\\V1b"
+ + "eta\352\002&Google::Cloud::DiscoveryEngine::V1betab\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -795,7 +795,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_discoveryengine_v1beta_SearchRequest_DataStoreSpec_descriptor,
new java.lang.String[] {
- "DataStore", "Filter",
+ "DataStore", "Filter", "BoostSpec",
});
internal_static_google_cloud_discoveryengine_v1beta_SearchRequest_FacetSpec_descriptor =
internal_static_google_cloud_discoveryengine_v1beta_SearchRequest_descriptor.getNestedType(
diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/search_service.proto b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/search_service.proto
index 67d723af6232..fcbd928d3c29 100644
--- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/search_service.proto
+++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/search_service.proto
@@ -105,6 +105,8 @@ message SearchRequest {
// Required. Full resource name of
// [DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
+ // The path must include the project number, project id is not supported for
+ // this field.
string data_store = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -116,6 +118,11 @@ message SearchRequest {
// specified by data_store field. For more information on filtering, see
// [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
string filter = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Boost specification to boost certain documents.
+ // For more information on boosting, see
+ // [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
+ BoostSpec boost_spec = 6 [(google.api.field_behavior) = OPTIONAL];
}
// A facet specification to perform faceted search.
diff --git a/java-run/README.md b/java-run/README.md
index f052cf966716..677206b20bd0 100644
--- a/java-run/README.md
+++ b/java-run/README.md
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @return A list containing the customAudiences.
*/
+ @java.lang.Deprecated
public com.google.protobuf.ProtocolStringList getCustomAudiencesList() {
return customAudiences_;
}
@@ -1816,13 +1819,16 @@ public com.google.protobuf.ProtocolStringList getCustomAudiencesList() {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @return The count of customAudiences.
*/
+ @java.lang.Deprecated
public int getCustomAudiencesCount() {
return customAudiences_.size();
}
@@ -1831,14 +1837,17 @@ public int getCustomAudiencesCount() {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @param index The index of the element to return.
* @return The customAudiences at the given index.
*/
+ @java.lang.Deprecated
public java.lang.String getCustomAudiences(int index) {
return customAudiences_.get(index);
}
@@ -1847,14 +1856,17 @@ public java.lang.String getCustomAudiences(int index) {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @param index The index of the value to return.
* @return The bytes of the customAudiences at the given index.
*/
+ @java.lang.Deprecated
public com.google.protobuf.ByteString getCustomAudiencesBytes(int index) {
return customAudiences_.getByteString(index);
}
@@ -8299,13 +8311,16 @@ private void ensureCustomAudiencesIsMutable() {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @return A list containing the customAudiences.
*/
+ @java.lang.Deprecated
public com.google.protobuf.ProtocolStringList getCustomAudiencesList() {
customAudiences_.makeImmutable();
return customAudiences_;
@@ -8315,13 +8330,16 @@ public com.google.protobuf.ProtocolStringList getCustomAudiencesList() {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @return The count of customAudiences.
*/
+ @java.lang.Deprecated
public int getCustomAudiencesCount() {
return customAudiences_.size();
}
@@ -8330,14 +8348,17 @@ public int getCustomAudiencesCount() {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @param index The index of the element to return.
* @return The customAudiences at the given index.
*/
+ @java.lang.Deprecated
public java.lang.String getCustomAudiences(int index) {
return customAudiences_.get(index);
}
@@ -8346,14 +8367,17 @@ public java.lang.String getCustomAudiences(int index) {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @param index The index of the value to return.
* @return The bytes of the customAudiences at the given index.
*/
+ @java.lang.Deprecated
public com.google.protobuf.ByteString getCustomAudiencesBytes(int index) {
return customAudiences_.getByteString(index);
}
@@ -8362,15 +8386,18 @@ public com.google.protobuf.ByteString getCustomAudiencesBytes(int index) {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @param index The index to set the value at.
* @param value The customAudiences to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setCustomAudiences(int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
@@ -8386,14 +8413,17 @@ public Builder setCustomAudiences(int index, java.lang.String value) {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @param value The customAudiences to add.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder addCustomAudiences(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
@@ -8409,14 +8439,17 @@ public Builder addCustomAudiences(java.lang.String value) {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @param values The customAudiences to add.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder addAllCustomAudiences(java.lang.Iterable
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder clearCustomAudiences() {
customAudiences_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x04000000);
@@ -8448,14 +8484,17 @@ public Builder clearCustomAudiences() {
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @param value The bytes of the customAudiences to add.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder addCustomAudiencesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/WorkerPoolOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/WorkerPoolOrBuilder.java
index e63066d1f3e2..6d6d75846a52 100644
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/WorkerPoolOrBuilder.java
+++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/WorkerPoolOrBuilder.java
@@ -1204,54 +1204,66 @@ java.lang.String getAnnotationsOrDefault(
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @return A list containing the customAudiences.
*/
+ @java.lang.Deprecated
java.util.List
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @return The count of customAudiences.
*/
+ @java.lang.Deprecated
int getCustomAudiencesCount();
/**
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @param index The index of the element to return.
* @return The customAudiences at the given index.
*/
+ @java.lang.Deprecated
java.lang.String getCustomAudiences(int index);
/**
*
*
*
- * Not supported, and ignored by Cloud Run.
+ * Deprecated: Not supported, and ignored by Cloud Run.
*
*
- * repeated string custom_audiences = 37;
+ * repeated string custom_audiences = 37 [deprecated = true];
*
+ * @deprecated google.cloud.run.v2.WorkerPool.custom_audiences is deprecated. See
+ * google/cloud/run/v2/worker_pool.proto;l=459
* @param index The index of the value to return.
* @return The bytes of the customAudiences at the given index.
*/
+ @java.lang.Deprecated
com.google.protobuf.ByteString getCustomAudiencesBytes(int index);
/**
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/WorkerPoolProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/WorkerPoolProto.java
index 5af5904667e2..911555a1eb76 100644
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/WorkerPoolProto.java
+++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/WorkerPoolProto.java
@@ -127,7 +127,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004name\030\001 \001(\tB%\340A\002\372A\037\n"
+ "\035run.googleapis.com/WorkerPool\022\032\n\r"
+ "validate_only\030\002 \001(\010B\003\340A\001\022\014\n"
- + "\004etag\030\003 \001(\t\"\312\014\n\n"
+ + "\004etag\030\003 \001(\t\"\316\014\n\n"
+ "WorkerPool\022\014\n"
+ "\004name\030\001 \001(\t\022\023\n"
+ "\013description\030\002 \001(\t\022\020\n"
@@ -166,8 +166,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\033run.googleapis.com/Revision\022N\n"
+ "\027instance_split_statuses\030\033"
+ " \003(\0132(.google.cloud.run.v2.InstanceSplitStatusB\003\340A\003\022%\n"
- + "\030threat_detection_enabled\030\034 \001(\010B\003\340A\003\022\030\n"
- + "\020custom_audiences\030% \003(\t\022\032\n\r"
+ + "\030threat_detection_enabled\030\034 \001(\010B\003\340A\003\022\034\n"
+ + "\020custom_audiences\030% \003(\tB\002\030\001\022\032\n\r"
+ "satisfies_pzs\030& \001(\010B\003\340A\003\022\030\n"
+ "\013reconciling\030b \001(\010B\003\340A\003\022\021\n"
+ "\004etag\030c \001(\tB\003\340A\001\032-\n"
@@ -177,53 +177,52 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\020AnnotationsEntry\022\013\n"
+ "\003key\030\001 \001(\t\022\r\n"
+ "\005value\030\002 \001(\t:\0028\001:\201\001\352A~\n"
- + "\035run.googleapis.com/WorkerPool\022Aprojects/{project}/location"
- + "s/{location}/workerPools/{worker_pool}*\013workerPools2\n"
+ + "\035run.googleapis.com/WorkerPool\022Aprojects/{project}/loca"
+ + "tions/{location}/workerPools/{worker_pool}*\013workerPools2\n"
+ "workerPoolR\001\0012\276\016\n"
+ "\013WorkerPools\022\230\002\n"
- + "\020CreateWorkerPool\022,.google.cloud.r"
- + "un.v2.CreateWorkerPoolRequest\032\035.google.longrunning.Operation\"\266\001\312A\030\n\n"
+ + "\020CreateWorkerPool\022,.google.clo"
+ + "ud.run.v2.CreateWorkerPoolRequest\032\035.google.longrunning.Operation\"\266\001\312A\030\n\n"
+ "WorkerPool\022\n"
- + "WorkerPool\332A!parent,worker_pool,worker_p"
- + "ool_id\202\323\344\223\002>\"//v2/{parent=projects/*/loc"
- + "ations/*}/workerPools:\013worker_pool\212\323\344\223\002-\022+\n"
+ + "WorkerPool\332A!parent,worker_pool,work"
+ + "er_pool_id\202\323\344\223\002>\"//v2/{parent=projects/*"
+ + "/locations/*}/workerPools:\013worker_pool\212\323\344\223\002-\022+\n"
+ "\006parent\022!projects/*/locations/{location=*}\022\317\001\n\r"
- + "GetWorkerPool\022).google.cloud.run.v2.GetWorkerPoolRequest\032\037.google.clou"
- + "d.run.v2.WorkerPool\"r\332A\004name\202\323\344\223\0021\022//v2/"
- + "{name=projects/*/locations/*/workerPools/*}\212\323\344\223\002.\022,\n"
+ + "GetWorkerPool\022).google.cloud.run.v2.GetWorkerPoolRequest\032\037.google."
+ + "cloud.run.v2.WorkerPool\"r\332A\004name\202\323\344\223\0021\022/"
+ + "/v2/{name=projects/*/locations/*/workerPools/*}\212\323\344\223\002.\022,\n"
+ "\004name\022$projects/*/locations/{location=*}/**\022\341\001\n"
- + "\017ListWorkerPools\022+.google.cloud.run.v2.ListWorkerPoolsRequest"
- + "\032,.google.cloud.run.v2.ListWorkerPoolsRe"
- + "sponse\"s\332A\006parent\202\323\344\223\0021\022//v2/{parent=pro"
- + "jects/*/locations/*}/workerPools\212\323\344\223\002-\022+\n"
+ + "\017ListWorkerPools\022+.google.cloud.run.v2.ListWorkerPoolsReq"
+ + "uest\032,.google.cloud.run.v2.ListWorkerPoo"
+ + "lsResponse\"s\332A\006parent\202\323\344\223\0021\022//v2/{parent"
+ + "=projects/*/locations/*}/workerPools\212\323\344\223\002-\022+\n"
+ "\006parent\022!projects/*/locations/{location=*}\022\265\002\n"
- + "\020UpdateWorkerPool\022,.google.cloud."
- + "run.v2.UpdateWorkerPoolRequest\032\035.google.longrunning.Operation\"\323\001\312A\030\n\n"
+ + "\020UpdateWorkerPool\022,.google.cl"
+ + "oud.run.v2.UpdateWorkerPoolRequest\032\035.google.longrunning.Operation\"\323\001\312A\030\n\n"
+ "WorkerPool\022\n"
- + "WorkerPool\332A\013worker_pool\332A\027worker_pool,"
- + "update_mask\202\323\344\223\002J2;/v2/{worker_pool.name"
- + "=projects/*/locations/*/workerPools/*}:\013worker_pool\212\323\344\223\002:\0228\n"
+ + "WorkerPool\332A\013worker_pool\332A\027worker_p"
+ + "ool,update_mask\202\323\344\223\002J2;/v2/{worker_pool."
+ + "name=projects/*/locations/*/workerPools/*}:\013worker_pool\212\323\344\223\002:\0228\n"
+ "\020worker_pool.name\022$projects/*/locations/{location=*}/**\022\357\001\n"
- + "\020DeleteWorkerPool\022,.google.cloud.run.v2.D"
- + "eleteWorkerPoolRequest\032\035.google.longrunning.Operation\"\215\001\312A\030\n\n"
+ + "\020DeleteWorkerPool\022,.google.cloud.run."
+ + "v2.DeleteWorkerPoolRequest\032\035.google.longrunning.Operation\"\215\001\312A\030\n\n"
+ "WorkerPool\022\n"
- + "WorkerP"
- + "ool\332A\004name\202\323\344\223\0021*//v2/{name=projects/*/locations/*/workerPools/*}\212\323\344\223\002.\022,\n"
+ + "WorkerPool\332A\004name\202\323\344\223\0021*//v2/{name=projects/*/locations/*/workerPools/*}\212\323\344\223\002.\022,\n"
+ "\004name\022$projects/*/locations/{location=*}/**\022\223\001\n"
- + "\014GetIamPolicy\022\".google.iam.v1.GetIamPol"
- + "icyRequest\032\025.google.iam.v1.Policy\"H\202\323\344\223\002"
- + "B\022@/v2/{resource=projects/*/locations/*/workerPools/*}:getIamPolicy\022\226\001\n"
- + "\014SetIamPolicy\022\".google.iam.v1.SetIamPolicyRequest"
- + "\032\025.google.iam.v1.Policy\"K\202\323\344\223\002E\"@/v2/{re"
- + "source=projects/*/locations/*/workerPools/*}:setIamPolicy:\001*\022\274\001\n"
- + "\022TestIamPermissions\022(.google.iam.v1.TestIamPermissionsRe"
- + "quest\032).google.iam.v1.TestIamPermissions"
- + "Response\"Q\202\323\344\223\002K\"F/v2/{resource=projects"
- + "/*/locations/*/workerPools/*}:testIamPer"
- + "missions:\001*\032F\312A\022run.googleapis.com\322A.htt"
- + "ps://www.googleapis.com/auth/cloud-platformBW\n"
- + "\027com.google.cloud.run.v2B\017WorkerPoolProtoP\001Z)cloud.google.com/go/run/apiv2"
- + "/runpb;runpbb\006proto3"
+ + "\014GetIamPolicy\022\".google.iam.v1.GetIa"
+ + "mPolicyRequest\032\025.google.iam.v1.Policy\"H\202"
+ + "\323\344\223\002B\022@/v2/{resource=projects/*/locations/*/workerPools/*}:getIamPolicy\022\226\001\n"
+ + "\014SetIamPolicy\022\".google.iam.v1.SetIamPolicyReq"
+ + "uest\032\025.google.iam.v1.Policy\"K\202\323\344\223\002E\"@/v2"
+ + "/{resource=projects/*/locations/*/workerPools/*}:setIamPolicy:\001*\022\274\001\n"
+ + "\022TestIamPermissions\022(.google.iam.v1.TestIamPermissio"
+ + "nsRequest\032).google.iam.v1.TestIamPermiss"
+ + "ionsResponse\"Q\202\323\344\223\002K\"F/v2/{resource=proj"
+ + "ects/*/locations/*/workerPools/*}:testIa"
+ + "mPermissions:\001*\032F\312A\022run.googleapis.com\322A"
+ + ".https://www.googleapis.com/auth/cloud-platformBW\n"
+ + "\027com.google.cloud.run.v2B\017WorkerPoolProtoP\001Z)cloud.google.com/go/run/a"
+ + "piv2/runpb;runpbb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/worker_pool.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/worker_pool.proto
index 5a19ae2b1ef9..8e92eb1d9440 100644
--- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/worker_pool.proto
+++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/worker_pool.proto
@@ -456,8 +456,8 @@ message WorkerPool {
bool threat_detection_enabled = 28
[(google.api.field_behavior) = OUTPUT_ONLY];
- // Not supported, and ignored by Cloud Run.
- repeated string custom_audiences = 37;
+ // Deprecated: Not supported, and ignored by Cloud Run.
+ repeated string custom_audiences = 37 [deprecated = true];
// Output only. Reserved for future use.
bool satisfies_pzs = 38 [(google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/java-trace/README.md b/java-trace/README.md
index 7efa4ed86220..0b96e7113741 100644
--- a/java-trace/README.md
+++ b/java-trace/README.md
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: