+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public boolean containsViewParameters(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetViewParameters().getMap().containsKey(key);
+ }
+
+ /** Use {@link #getViewParametersMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.bigtable.v2.Value getViewParametersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.bigtable.v2.Value defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.bigtable.v2.Value getViewParametersOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public boolean containsViewParameters(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetViewParameters().ensureBuilderMap().containsKey(key);
+ }
+
+ /** Use {@link #getViewParametersMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.bigtable.v2.Value getViewParametersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.bigtable.v2.Value defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.bigtable.v2.Value getViewParametersOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeViewParameters(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableViewParameters().ensureBuilderMap().remove(key);
+ return this;
+ }
+
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder putViewParameters(java.lang.String key, com.google.bigtable.v2.Value value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableViewParameters().ensureBuilderMap().put(key, value);
+ bitField0_ |= 0x00000080;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder putAllViewParameters(
+ java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.bigtable.v2.Value.Builder putViewParametersBuilderIfAbsent(
+ java.lang.String key) {
+ java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getViewParametersCount();
+
+ /**
+ *
+ *
+ * + * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ boolean containsViewParameters(java.lang.String key);
+
+ /** Use {@link #getViewParametersMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.Map+ * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ /* nullable */
+ com.google.bigtable.v2.Value getViewParametersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.bigtable.v2.Value defaultValue);
+
+ /**
+ *
+ *
+ * + * Optional. This map provides the runtime values returned by the + * VIEW_PARAMETERS() function calls, typically used for user-level scoping of + * data based on identity. + * + * The key is the name of the view parameter e.g. `user_id`, and + * the value is the parameter value e.g. `alice@example.com`. + *+ * + *
+ * map<string, .google.bigtable.v2.Value> view_parameters = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.bigtable.v2.Value getViewParametersOrThrow(java.lang.String key);
+
com.google.bigtable.v2.ExecuteQueryRequest.DataFormatCase getDataFormatCase();
}
diff --git a/java-bigtable/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto b/java-bigtable/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto
index 1a2bb37cccc4..32c133bd9a04 100644
--- a/java-bigtable/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto
+++ b/java-bigtable/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto
@@ -1187,6 +1187,15 @@ message ExecuteQueryRequest {
// `Value.type` must match the corresponding `param_types` entry, or be
// rejected with `INVALID_ARGUMENT`.
mapListLocations
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][google.cloud.location.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][google.cloud.location.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: * @@ -1977,13 +1984,19 @@ 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][google.cloud.location.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: * @@ -2017,13 +2030,19 @@ 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: - * - *
* **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][google.cloud.location.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: * diff --git a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceClient.java b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceClient.java index 78f44d77f4ef..f40c6cff7ffc 100644 --- a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceClient.java +++ b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceClient.java @@ -76,7 +76,7 @@ *
Chat
Answers a data question by generating a stream of [Message][google.cloud.geminidataanalytics.v1alpha.Message] objects.
Answers a data question by generating a stream of [Message][google.cloud.geminidataanalytics.v1.Message] objects.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
*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][google.cloud.location.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:
*
@@ -353,6 +354,7 @@ public DataChatServiceStub getStub() {
* .setProject(ProjectName.of("[PROJECT]").toString())
* .setParent("parent-995424086")
* .addAllMessages(new ArrayList * **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][google.cloud.location.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:
*
@@ -1179,13 +1187,19 @@ 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][google.cloud.location.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:
*
@@ -1219,13 +1233,19 @@ 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:
- *
- * * **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][google.cloud.location.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:
*
diff --git a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/resources/META-INF/native-image/com.google.cloud.geminidataanalytics.v1beta/reflect-config.json b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/resources/META-INF/native-image/com.google.cloud.geminidataanalytics.v1beta/reflect-config.json
index 7889c90b6a69..c93fba171856 100644
--- a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/resources/META-INF/native-image/com.google.cloud.geminidataanalytics.v1beta/reflect-config.json
+++ b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/resources/META-INF/native-image/com.google.cloud.geminidataanalytics.v1beta/reflect-config.json
@@ -683,6 +683,60 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference",
"queryAllDeclaredConstructors": true,
@@ -881,6 +935,15 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.ChatRequest$Model",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.geminidataanalytics.v1beta.ChatRequest$ThinkingMode",
"queryAllDeclaredConstructors": true,
@@ -890,6 +953,78 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.Citation",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.Citation$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.CitationAnchor",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.CitationAnchor$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.CitationAnchor$TextMessageCitationAnchor",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.CitationAnchor$TextMessageCitationAnchor$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.CitationSource",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.CitationSource$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.geminidataanalytics.v1beta.ClarificationMessage",
"queryAllDeclaredConstructors": true,
@@ -1106,6 +1241,15 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.ConversationOptions$Model",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.geminidataanalytics.v1beta.ConversationReference",
"queryAllDeclaredConstructors": true,
@@ -1322,6 +1466,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.geminidataanalytics.v1beta.Datasource",
"queryAllDeclaredConstructors": true,
@@ -1871,6 +2033,42 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.LookerSettings",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.LookerSettings$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.MatchedQuery",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.MatchedQuery$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.geminidataanalytics.v1beta.Message",
"queryAllDeclaredConstructors": true,
@@ -1979,6 +2177,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters$Parameter",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters$Parameter$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfo",
"queryAllDeclaredConstructors": true,
@@ -2051,6 +2267,42 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.QueryParameter",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.QueryParameter$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.geminidataanalytics.v1beta.Schema",
"queryAllDeclaredConstructors": true,
@@ -2285,6 +2537,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.UserFunctions",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.geminidataanalytics.v1beta.UserFunctions$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.geminidataanalytics.v1beta.UserMessage",
"queryAllDeclaredConstructors": true,
diff --git a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentServiceClientHttpJsonTest.java b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentServiceClientHttpJsonTest.java
index 3d81cfa8befb..71d85abb66e5 100644
--- a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentServiceClientHttpJsonTest.java
+++ b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentServiceClientHttpJsonTest.java
@@ -308,6 +308,7 @@ public void getDataAgentTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
mockService.addResponse(expectedResponse);
@@ -359,6 +360,7 @@ public void getDataAgentTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
mockService.addResponse(expectedResponse);
@@ -410,6 +412,7 @@ public void createDataAgentTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -470,6 +473,7 @@ public void createDataAgentTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -530,6 +534,7 @@ public void createDataAgentSyncTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
mockService.addResponse(expectedResponse);
@@ -585,6 +590,7 @@ public void createDataAgentSyncTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
mockService.addResponse(expectedResponse);
@@ -640,6 +646,7 @@ public void updateDataAgentTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -659,6 +666,7 @@ public void updateDataAgentTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
FieldMask updateMask = FieldMask.newBuilder().build();
@@ -698,6 +706,7 @@ public void updateDataAgentExceptionTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
FieldMask updateMask = FieldMask.newBuilder().build();
client.updateDataAgentAsync(dataAgent, updateMask).get();
@@ -718,6 +727,7 @@ public void updateDataAgentSyncTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
mockService.addResponse(expectedResponse);
@@ -731,6 +741,7 @@ public void updateDataAgentSyncTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
FieldMask updateMask = FieldMask.newBuilder().build();
@@ -770,6 +781,7 @@ public void updateDataAgentSyncExceptionTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
FieldMask updateMask = FieldMask.newBuilder().build();
client.updateDataAgentSync(dataAgent, updateMask);
diff --git a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentServiceClientTest.java b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentServiceClientTest.java
index 592ae0506e3e..114ca20b0519 100644
--- a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentServiceClientTest.java
+++ b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentServiceClientTest.java
@@ -295,6 +295,7 @@ public void getDataAgentTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
mockDataAgentService.addResponse(expectedResponse);
@@ -340,6 +341,7 @@ public void getDataAgentTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
mockDataAgentService.addResponse(expectedResponse);
@@ -385,6 +387,7 @@ public void createDataAgentTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -444,6 +447,7 @@ public void createDataAgentTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -503,6 +507,7 @@ public void createDataAgentSyncTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
mockDataAgentService.addResponse(expectedResponse);
@@ -554,6 +559,7 @@ public void createDataAgentSyncTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
mockDataAgentService.addResponse(expectedResponse);
@@ -605,6 +611,7 @@ public void updateDataAgentTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -661,6 +668,7 @@ public void updateDataAgentSyncTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setPurgeTime(Timestamp.newBuilder().build())
+ .setKmsKey("kmsKey-1127483058")
.build();
mockDataAgentService.addResponse(expectedResponse);
diff --git a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceClientHttpJsonTest.java b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceClientHttpJsonTest.java
index 7aaf92df1cc7..4e1be811b91b 100644
--- a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceClientHttpJsonTest.java
+++ b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/test/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceClientHttpJsonTest.java
@@ -106,6 +106,8 @@ public void createConversationTest() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setLastUsedTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap
* Answers a data question by generating a stream of
- * [Message][google.cloud.geminidataanalytics.v1alpha.Message] objects.
+ * [Message][google.cloud.geminidataanalytics.v1.Message] objects.
*
*/
default void chat(
@@ -578,7 +578,7 @@ protected DataChatServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions
*
*
* Answers a data question by generating a stream of
- * [Message][google.cloud.geminidataanalytics.v1alpha.Message] objects.
+ * [Message][google.cloud.geminidataanalytics.v1.Message] objects.
*
*/
public void chat(
@@ -719,7 +719,7 @@ protected DataChatServiceBlockingV2Stub build(
*
*
* Answers a data question by generating a stream of
- * [Message][google.cloud.geminidataanalytics.v1alpha.Message] objects.
+ * [Message][google.cloud.geminidataanalytics.v1.Message] objects.
*
*/
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918")
@@ -841,7 +841,7 @@ protected DataChatServiceBlockingStub build(
*
*
* Answers a data question by generating a stream of
- * [Message][google.cloud.geminidataanalytics.v1alpha.Message] objects.
+ * [Message][google.cloud.geminidataanalytics.v1.Message] objects.
*
*/
public java.util.Iterator
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>
+ getDatabaseTableReferencesOrBuilderList() {
+ return databaseTableReferences_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getDatabaseTableReferencesCount() {
+ return databaseTableReferences_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ getDatabaseTableReferences(int index) {
+ return databaseTableReferences_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder
+ getDatabaseTableReferencesOrBuilder(int index) {
+ return databaseTableReferences_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -440,6 +542,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < tableIds_.size(); i++) {
com.google.protobuf.GeneratedMessage.writeString(output, 6, tableIds_.getRaw(i));
}
+ for (int i = 0; i < databaseTableReferences_.size(); i++) {
+ output.writeMessage(7, databaseTableReferences_.get(i));
+ }
getUnknownFields().writeTo(output);
}
@@ -472,6 +577,11 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getTableIdsList().size();
}
+ for (int i = 0; i < databaseTableReferences_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 7, databaseTableReferences_.get(i));
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -494,6 +604,8 @@ public boolean equals(final java.lang.Object obj) {
if (!getInstanceId().equals(other.getInstanceId())) return false;
if (!getDatabaseId().equals(other.getDatabaseId())) return false;
if (!getTableIdsList().equals(other.getTableIdsList())) return false;
+ if (!getDatabaseTableReferencesList().equals(other.getDatabaseTableReferencesList()))
+ return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -519,6 +631,10 @@ public int hashCode() {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
+ if (getDatabaseTableReferencesCount() > 0) {
+ hash = (37 * hash) + DATABASE_TABLE_REFERENCES_FIELD_NUMBER;
+ hash = (53 * hash) + getDatabaseTableReferencesList().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -668,6 +784,13 @@ public Builder clear() {
instanceId_ = "";
databaseId_ = "";
tableIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ if (databaseTableReferencesBuilder_ == null) {
+ databaseTableReferences_ = java.util.Collections.emptyList();
+ } else {
+ databaseTableReferences_ = null;
+ databaseTableReferencesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@@ -697,6 +820,7 @@ public com.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference buil
public com.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference buildPartial() {
com.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference result =
new com.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference(this);
+ buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -704,6 +828,20 @@ public com.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference buil
return result;
}
+ private void buildPartialRepeatedFields(
+ com.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference result) {
+ if (databaseTableReferencesBuilder_ == null) {
+ if (((bitField0_ & 0x00000040) != 0)) {
+ databaseTableReferences_ =
+ java.util.Collections.unmodifiableList(databaseTableReferences_);
+ bitField0_ = (bitField0_ & ~0x00000040);
+ }
+ result.databaseTableReferences_ = databaseTableReferences_;
+ } else {
+ result.databaseTableReferences_ = databaseTableReferencesBuilder_.build();
+ }
+ }
+
private void buildPartial0(
com.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference result) {
int from_bitField0_ = bitField0_;
@@ -779,6 +917,33 @@ public Builder mergeFrom(
}
onChanged();
}
+ if (databaseTableReferencesBuilder_ == null) {
+ if (!other.databaseTableReferences_.isEmpty()) {
+ if (databaseTableReferences_.isEmpty()) {
+ databaseTableReferences_ = other.databaseTableReferences_;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ } else {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.addAll(other.databaseTableReferences_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.databaseTableReferences_.isEmpty()) {
+ if (databaseTableReferencesBuilder_.isEmpty()) {
+ databaseTableReferencesBuilder_.dispose();
+ databaseTableReferencesBuilder_ = null;
+ databaseTableReferences_ = other.databaseTableReferences_;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ databaseTableReferencesBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+ ? internalGetDatabaseTableReferencesFieldBuilder()
+ : null;
+ } else {
+ databaseTableReferencesBuilder_.addAllMessages(other.databaseTableReferences_);
+ }
+ }
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -842,6 +1007,20 @@ public Builder mergeFrom(
tableIds_.add(s);
break;
} // case 50
+ case 58:
+ {
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference m =
+ input.readMessage(
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.parser(),
+ extensionRegistry);
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.add(m);
+ } else {
+ databaseTableReferencesBuilder_.addMessage(m);
+ }
+ break;
+ } // case 58
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1599,6 +1778,474 @@ public Builder addTableIdsBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.util.List
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getDatabaseTableReferencesCount() {
+ if (databaseTableReferencesBuilder_ == null) {
+ return databaseTableReferences_.size();
+ } else {
+ return databaseTableReferencesBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ getDatabaseTableReferences(int index) {
+ if (databaseTableReferencesBuilder_ == null) {
+ return databaseTableReferences_.get(index);
+ } else {
+ return databaseTableReferencesBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setDatabaseTableReferences(
+ int index, com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference value) {
+ if (databaseTableReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.set(index, value);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setDatabaseTableReferences(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ builderForValue) {
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addDatabaseTableReferences(
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference value) {
+ if (databaseTableReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.add(value);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addDatabaseTableReferences(
+ int index, com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference value) {
+ if (databaseTableReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.add(index, value);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addDatabaseTableReferences(
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ builderForValue) {
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.add(builderForValue.build());
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addDatabaseTableReferences(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ builderForValue) {
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllDatabaseTableReferences(
+ java.lang.Iterable<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference>
+ values) {
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseTableReferences_);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearDatabaseTableReferences() {
+ if (databaseTableReferencesBuilder_ == null) {
+ databaseTableReferences_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeDatabaseTableReferences(int index) {
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.remove(index);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ getDatabaseTableReferencesBuilder(int index) {
+ return internalGetDatabaseTableReferencesFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder
+ getDatabaseTableReferencesOrBuilder(int index) {
+ if (databaseTableReferencesBuilder_ == null) {
+ return databaseTableReferences_.get(index);
+ } else {
+ return databaseTableReferencesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>
+ getDatabaseTableReferencesOrBuilderList() {
+ if (databaseTableReferencesBuilder_ != null) {
+ return databaseTableReferencesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(databaseTableReferences_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ addDatabaseTableReferencesBuilder() {
+ return internalGetDatabaseTableReferencesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ .getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ addDatabaseTableReferencesBuilder(int index) {
+ return internalGetDatabaseTableReferencesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ .getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder>
+ getDatabaseTableReferencesBuilderList() {
+ return internalGetDatabaseTableReferencesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>
+ internalGetDatabaseTableReferencesFieldBuilder() {
+ if (databaseTableReferencesBuilder_ == null) {
+ databaseTableReferencesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>(
+ databaseTableReferences_,
+ ((bitField0_ & 0x00000040) != 0),
+ getParentForChildren(),
+ isClean());
+ databaseTableReferences_ = null;
+ }
+ return databaseTableReferencesBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/AlloyDbDatabaseReferenceOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/AlloyDbDatabaseReferenceOrBuilder.java
index e41d258fa26d..d58220f94eb8 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/AlloyDbDatabaseReferenceOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/AlloyDbDatabaseReferenceOrBuilder.java
@@ -209,4 +209,84 @@ public interface AlloyDbDatabaseReferenceOrBuilder
* @return The bytes of the tableIds at the given index.
*/
com.google.protobuf.ByteString getTableIdsBytes(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference getDatabaseTableReferences(
+ int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getDatabaseTableReferencesCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>
+ getDatabaseTableReferencesOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder
+ getDatabaseTableReferencesOrBuilder(int index);
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryPropertyGraphReference.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryPropertyGraphReference.java
new file mode 100644
index 000000000000..4bd7d859f9b2
--- /dev/null
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryPropertyGraphReference.java
@@ -0,0 +1,998 @@
+/*
+ * 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/geminidataanalytics/v1beta/datasource.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.geminidataanalytics.v1beta;
+
+/**
+ *
+ *
+ *
+ * Message representing a reference to a single BigQuery property graph.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference}
+ */
+@com.google.protobuf.Generated
+public final class BigQueryPropertyGraphReference extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)
+ BigQueryPropertyGraphReferenceOrBuilder {
+ 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= */ "",
+ "BigQueryPropertyGraphReference");
+ }
+
+ // Use BigQueryPropertyGraphReference.newBuilder() to construct.
+ private BigQueryPropertyGraphReference(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private BigQueryPropertyGraphReference() {
+ projectId_ = "";
+ datasetId_ = "";
+ propertyGraphId_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.DatasourceProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryPropertyGraphReference_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.DatasourceProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryPropertyGraphReference_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.class,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder
+ .class);
+ }
+
+ public static final int PROJECT_ID_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object projectId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The project that the property graph belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
+ */
+ @java.lang.Override
+ public java.lang.String getProjectId() {
+ java.lang.Object ref = projectId_;
+ 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();
+ projectId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The project that the property graph belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getProjectIdBytes() {
+ java.lang.Object ref = projectId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ projectId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DATASET_ID_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object datasetId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset that the property graph belongs to.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The datasetId.
+ */
+ @java.lang.Override
+ public java.lang.String getDatasetId() {
+ java.lang.Object ref = datasetId_;
+ 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();
+ datasetId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset that the property graph belongs to.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for datasetId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDatasetIdBytes() {
+ java.lang.Object ref = datasetId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ datasetId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PROPERTY_GRAPH_ID_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object propertyGraphId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The property graph id.
+ *
+ *
+ * string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The propertyGraphId.
+ */
+ @java.lang.Override
+ public java.lang.String getPropertyGraphId() {
+ java.lang.Object ref = propertyGraphId_;
+ 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();
+ propertyGraphId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The property graph id.
+ *
+ *
+ * string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for propertyGraphId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getPropertyGraphIdBytes() {
+ java.lang.Object ref = propertyGraphId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ propertyGraphId_ = 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(projectId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, projectId_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datasetId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, datasetId_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(propertyGraphId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, propertyGraphId_);
+ }
+ 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(projectId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, projectId_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datasetId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, datasetId_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(propertyGraphId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, propertyGraphId_);
+ }
+ 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.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference other =
+ (com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference) obj;
+
+ if (!getProjectId().equals(other.getProjectId())) return false;
+ if (!getDatasetId().equals(other.getDatasetId())) return false;
+ if (!getPropertyGraphId().equals(other.getPropertyGraphId())) 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) + PROJECT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getProjectId().hashCode();
+ hash = (37 * hash) + DATASET_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getDatasetId().hashCode();
+ hash = (37 * hash) + PROPERTY_GRAPH_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getPropertyGraphId().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ 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.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ 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.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ 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.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ 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.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ 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.geminidataanalytics.v1beta.BigQueryPropertyGraphReference 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * Message representing a reference to a single BigQuery property graph.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Required. The project that the property graph belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
+ */
+ public java.lang.String getProjectId() {
+ java.lang.Object ref = projectId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ projectId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The project that the property graph belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
+ */
+ public com.google.protobuf.ByteString getProjectIdBytes() {
+ java.lang.Object ref = projectId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ projectId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The project that the property graph belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProjectId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ projectId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The project that the property graph belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearProjectId() {
+ projectId_ = getDefaultInstance().getProjectId();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The project that the property graph belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ projectId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object datasetId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset that the property graph belongs to.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The datasetId.
+ */
+ public java.lang.String getDatasetId() {
+ java.lang.Object ref = datasetId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ datasetId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset that the property graph belongs to.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for datasetId.
+ */
+ public com.google.protobuf.ByteString getDatasetIdBytes() {
+ java.lang.Object ref = datasetId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ datasetId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset that the property graph belongs to.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The datasetId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDatasetId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ datasetId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset that the property graph belongs to.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDatasetId() {
+ datasetId_ = getDefaultInstance().getDatasetId();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset that the property graph belongs to.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for datasetId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ datasetId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object propertyGraphId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The property graph id.
+ *
+ *
+ * string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The propertyGraphId.
+ */
+ public java.lang.String getPropertyGraphId() {
+ java.lang.Object ref = propertyGraphId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ propertyGraphId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The property graph id.
+ *
+ *
+ * string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for propertyGraphId.
+ */
+ public com.google.protobuf.ByteString getPropertyGraphIdBytes() {
+ java.lang.Object ref = propertyGraphId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ propertyGraphId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The property graph id.
+ *
+ *
+ * string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The propertyGraphId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPropertyGraphId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ propertyGraphId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The property graph id.
+ *
+ *
+ * string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPropertyGraphId() {
+ propertyGraphId_ = getDefaultInstance().getPropertyGraphId();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The property graph id.
+ *
+ *
+ * string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for propertyGraphId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPropertyGraphIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ propertyGraphId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)
+ private static final com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference();
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The project that the property graph belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
+ */
+ java.lang.String getProjectId();
+
+ /**
+ *
+ *
+ *
+ * Required. The project that the property graph belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
+ */
+ com.google.protobuf.ByteString getProjectIdBytes();
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset that the property graph belongs to.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The datasetId.
+ */
+ java.lang.String getDatasetId();
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset that the property graph belongs to.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for datasetId.
+ */
+ com.google.protobuf.ByteString getDatasetIdBytes();
+
+ /**
+ *
+ *
+ *
+ * Required. The property graph id.
+ *
+ *
+ * string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The propertyGraphId.
+ */
+ java.lang.String getPropertyGraphId();
+
+ /**
+ *
+ *
+ *
+ * Required. The property graph id.
+ *
+ *
+ * string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for propertyGraphId.
+ */
+ com.google.protobuf.ByteString getPropertyGraphIdBytes();
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryRoutine.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryRoutine.java
new file mode 100644
index 000000000000..9777c877ddf7
--- /dev/null
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryRoutine.java
@@ -0,0 +1,931 @@
+/*
+ * 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/geminidataanalytics/v1beta/context.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.geminidataanalytics.v1beta;
+
+/**
+ *
+ *
+ *
+ * A reference to a BigQuery routine.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.BigQueryRoutine}
+ */
+@com.google.protobuf.Generated
+public final class BigQueryRoutine extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.BigQueryRoutine)
+ BigQueryRoutineOrBuilder {
+ 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= */ "",
+ "BigQueryRoutine");
+ }
+
+ // Use BigQueryRoutine.newBuilder() to construct.
+ private BigQueryRoutine(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private BigQueryRoutine() {
+ description_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutine_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutine_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine.class,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int ROUTINE_REFERENCE_FIELD_NUMBER = 1;
+ private com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routineReference_;
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ *
+ * @return Whether the routineReference field is set.
+ */
+ @java.lang.Override
+ public boolean hasRoutineReference() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ *
+ * @return The routineReference.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference
+ getRoutineReference() {
+ return routineReference_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference.getDefaultInstance()
+ : routineReference_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReferenceOrBuilder
+ getRoutineReferenceOrBuilder() {
+ return routineReference_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference.getDefaultInstance()
+ : routineReference_;
+ }
+
+ public static final int DESCRIPTION_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object description_ = "";
+
+ /**
+ *
+ *
+ *
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ *
+ * string description = 2;
+ *
+ * @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;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ *
+ * string description = 2;
+ *
+ * @return The bytes for description.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ 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 (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getRoutineReference());
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, description_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRoutineReference());
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_);
+ }
+ 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.geminidataanalytics.v1beta.BigQueryRoutine)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine other =
+ (com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine) obj;
+
+ if (hasRoutineReference() != other.hasRoutineReference()) return false;
+ if (hasRoutineReference()) {
+ if (!getRoutineReference().equals(other.getRoutineReference())) return false;
+ }
+ if (!getDescription().equals(other.getDescription())) 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 (hasRoutineReference()) {
+ hash = (37 * hash) + ROUTINE_REFERENCE_FIELD_NUMBER;
+ hash = (53 * hash) + getRoutineReference().hashCode();
+ }
+ hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getDescription().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine 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.geminidataanalytics.v1beta.BigQueryRoutine parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine 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.geminidataanalytics.v1beta.BigQueryRoutine parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine 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.geminidataanalytics.v1beta.BigQueryRoutine parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine 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.geminidataanalytics.v1beta.BigQueryRoutine parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine 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.geminidataanalytics.v1beta.BigQueryRoutine 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery routine.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.BigQueryRoutine}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * The reference to the BigQuery routine.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ *
+ * @return Whether the routineReference field is set.
+ */
+ public boolean hasRoutineReference() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ *
+ * @return The routineReference.
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference
+ getRoutineReference() {
+ if (routineReferenceBuilder_ == null) {
+ return routineReference_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference
+ .getDefaultInstance()
+ : routineReference_;
+ } else {
+ return routineReferenceBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ */
+ public Builder setRoutineReference(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference value) {
+ if (routineReferenceBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ routineReference_ = value;
+ } else {
+ routineReferenceBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ */
+ public Builder setRoutineReference(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference.Builder
+ builderForValue) {
+ if (routineReferenceBuilder_ == null) {
+ routineReference_ = builderForValue.build();
+ } else {
+ routineReferenceBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ */
+ public Builder mergeRoutineReference(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference value) {
+ if (routineReferenceBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && routineReference_ != null
+ && routineReference_
+ != com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference
+ .getDefaultInstance()) {
+ getRoutineReferenceBuilder().mergeFrom(value);
+ } else {
+ routineReference_ = value;
+ }
+ } else {
+ routineReferenceBuilder_.mergeFrom(value);
+ }
+ if (routineReference_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ */
+ public Builder clearRoutineReference() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ routineReference_ = null;
+ if (routineReferenceBuilder_ != null) {
+ routineReferenceBuilder_.dispose();
+ routineReferenceBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference.Builder
+ getRoutineReferenceBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return internalGetRoutineReferenceFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReferenceOrBuilder
+ getRoutineReferenceOrBuilder() {
+ if (routineReferenceBuilder_ != null) {
+ return routineReferenceBuilder_.getMessageOrBuilder();
+ } else {
+ return routineReference_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference
+ .getDefaultInstance()
+ : routineReference_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReferenceOrBuilder>
+ internalGetRoutineReferenceFieldBuilder() {
+ if (routineReferenceBuilder_ == null) {
+ routineReferenceBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReferenceOrBuilder>(
+ getRoutineReference(), getParentForChildren(), isClean());
+ routineReference_ = null;
+ }
+ return routineReferenceBuilder_;
+ }
+
+ private java.lang.Object description_ = "";
+
+ /**
+ *
+ *
+ *
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ *
+ * string description = 2;
+ *
+ * @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;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ *
+ * string description = 2;
+ *
+ * @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;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ *
+ * string description = 2;
+ *
+ * @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_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ *
+ * string description = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDescription() {
+ description_ = getDefaultInstance().getDescription();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ *
+ * string description = 2;
+ *
+ * @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_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.BigQueryRoutine)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1beta.BigQueryRoutine)
+ private static final com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine();
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The reference to the BigQuery routine.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ *
+ * @return Whether the routineReference field is set.
+ */
+ boolean hasRoutineReference();
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ *
+ * @return The routineReference.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference getRoutineReference();
+
+ /**
+ *
+ *
+ *
+ * The reference to the BigQuery routine.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReferenceOrBuilder
+ getRoutineReferenceOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ *
+ * string description = 2;
+ *
+ * @return The description.
+ */
+ java.lang.String getDescription();
+
+ /**
+ *
+ *
+ *
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ *
+ * string description = 2;
+ *
+ * @return The bytes for description.
+ */
+ com.google.protobuf.ByteString getDescriptionBytes();
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryRoutineReference.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryRoutineReference.java
new file mode 100644
index 000000000000..ccde9195dafd
--- /dev/null
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryRoutineReference.java
@@ -0,0 +1,986 @@
+/*
+ * 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/geminidataanalytics/v1beta/context.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.geminidataanalytics.v1beta;
+
+/**
+ *
+ *
+ *
+ * A reference to a BigQuery routine.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference}
+ */
+@com.google.protobuf.Generated
+public final class BigQueryRoutineReference extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference)
+ BigQueryRoutineReferenceOrBuilder {
+ 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= */ "",
+ "BigQueryRoutineReference");
+ }
+
+ // Use BigQueryRoutineReference.newBuilder() to construct.
+ private BigQueryRoutineReference(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private BigQueryRoutineReference() {
+ projectId_ = "";
+ datasetId_ = "";
+ routineId_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutineReference_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutineReference_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference.class,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference.Builder.class);
+ }
+
+ public static final int PROJECT_ID_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object projectId_ = "";
+
+ /**
+ *
+ *
+ *
+ * The project ID of the routine.
+ *
+ *
+ * string project_id = 1;
+ *
+ * @return The projectId.
+ */
+ @java.lang.Override
+ public java.lang.String getProjectId() {
+ java.lang.Object ref = projectId_;
+ 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();
+ projectId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The project ID of the routine.
+ *
+ *
+ * string project_id = 1;
+ *
+ * @return The bytes for projectId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getProjectIdBytes() {
+ java.lang.Object ref = projectId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ projectId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DATASET_ID_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object datasetId_ = "";
+
+ /**
+ *
+ *
+ *
+ * The dataset ID of the routine.
+ *
+ *
+ * string dataset_id = 2;
+ *
+ * @return The datasetId.
+ */
+ @java.lang.Override
+ public java.lang.String getDatasetId() {
+ java.lang.Object ref = datasetId_;
+ 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();
+ datasetId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The dataset ID of the routine.
+ *
+ *
+ * string dataset_id = 2;
+ *
+ * @return The bytes for datasetId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDatasetIdBytes() {
+ java.lang.Object ref = datasetId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ datasetId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ROUTINE_ID_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object routineId_ = "";
+
+ /**
+ *
+ *
+ *
+ * The routine ID of the routine.
+ *
+ *
+ * string routine_id = 3;
+ *
+ * @return The routineId.
+ */
+ @java.lang.Override
+ public java.lang.String getRoutineId() {
+ java.lang.Object ref = routineId_;
+ 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();
+ routineId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The routine ID of the routine.
+ *
+ *
+ * string routine_id = 3;
+ *
+ * @return The bytes for routineId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getRoutineIdBytes() {
+ java.lang.Object ref = routineId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ routineId_ = 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(projectId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, projectId_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datasetId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, datasetId_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(routineId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, routineId_);
+ }
+ 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(projectId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, projectId_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datasetId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, datasetId_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(routineId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, routineId_);
+ }
+ 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.geminidataanalytics.v1beta.BigQueryRoutineReference)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference other =
+ (com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference) obj;
+
+ if (!getProjectId().equals(other.getProjectId())) return false;
+ if (!getDatasetId().equals(other.getDatasetId())) return false;
+ if (!getRoutineId().equals(other.getRoutineId())) 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) + PROJECT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getProjectId().hashCode();
+ hash = (37 * hash) + DATASET_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getDatasetId().hashCode();
+ hash = (37 * hash) + ROUTINE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getRoutineId().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference 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.geminidataanalytics.v1beta.BigQueryRoutineReference parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference 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.geminidataanalytics.v1beta.BigQueryRoutineReference parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference 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.geminidataanalytics.v1beta.BigQueryRoutineReference
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference
+ 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.geminidataanalytics.v1beta.BigQueryRoutineReference parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference 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.geminidataanalytics.v1beta.BigQueryRoutineReference 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery routine.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * The project ID of the routine.
+ *
+ *
+ * string project_id = 1;
+ *
+ * @return The projectId.
+ */
+ public java.lang.String getProjectId() {
+ java.lang.Object ref = projectId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ projectId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The project ID of the routine.
+ *
+ *
+ * string project_id = 1;
+ *
+ * @return The bytes for projectId.
+ */
+ public com.google.protobuf.ByteString getProjectIdBytes() {
+ java.lang.Object ref = projectId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ projectId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The project ID of the routine.
+ *
+ *
+ * string project_id = 1;
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProjectId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ projectId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The project ID of the routine.
+ *
+ *
+ * string project_id = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearProjectId() {
+ projectId_ = getDefaultInstance().getProjectId();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The project ID of the routine.
+ *
+ *
+ * string project_id = 1;
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ projectId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object datasetId_ = "";
+
+ /**
+ *
+ *
+ *
+ * The dataset ID of the routine.
+ *
+ *
+ * string dataset_id = 2;
+ *
+ * @return The datasetId.
+ */
+ public java.lang.String getDatasetId() {
+ java.lang.Object ref = datasetId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ datasetId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The dataset ID of the routine.
+ *
+ *
+ * string dataset_id = 2;
+ *
+ * @return The bytes for datasetId.
+ */
+ public com.google.protobuf.ByteString getDatasetIdBytes() {
+ java.lang.Object ref = datasetId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ datasetId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The dataset ID of the routine.
+ *
+ *
+ * string dataset_id = 2;
+ *
+ * @param value The datasetId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDatasetId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ datasetId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The dataset ID of the routine.
+ *
+ *
+ * string dataset_id = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDatasetId() {
+ datasetId_ = getDefaultInstance().getDatasetId();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The dataset ID of the routine.
+ *
+ *
+ * string dataset_id = 2;
+ *
+ * @param value The bytes for datasetId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ datasetId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object routineId_ = "";
+
+ /**
+ *
+ *
+ *
+ * The routine ID of the routine.
+ *
+ *
+ * string routine_id = 3;
+ *
+ * @return The routineId.
+ */
+ public java.lang.String getRoutineId() {
+ java.lang.Object ref = routineId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ routineId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The routine ID of the routine.
+ *
+ *
+ * string routine_id = 3;
+ *
+ * @return The bytes for routineId.
+ */
+ public com.google.protobuf.ByteString getRoutineIdBytes() {
+ java.lang.Object ref = routineId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ routineId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The routine ID of the routine.
+ *
+ *
+ * string routine_id = 3;
+ *
+ * @param value The routineId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRoutineId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ routineId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The routine ID of the routine.
+ *
+ *
+ * string routine_id = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRoutineId() {
+ routineId_ = getDefaultInstance().getRoutineId();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The routine ID of the routine.
+ *
+ *
+ * string routine_id = 3;
+ *
+ * @param value The bytes for routineId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRoutineIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ routineId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference)
+ private static final com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference();
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The project ID of the routine.
+ *
+ *
+ * string project_id = 1;
+ *
+ * @return The projectId.
+ */
+ java.lang.String getProjectId();
+
+ /**
+ *
+ *
+ *
+ * The project ID of the routine.
+ *
+ *
+ * string project_id = 1;
+ *
+ * @return The bytes for projectId.
+ */
+ com.google.protobuf.ByteString getProjectIdBytes();
+
+ /**
+ *
+ *
+ *
+ * The dataset ID of the routine.
+ *
+ *
+ * string dataset_id = 2;
+ *
+ * @return The datasetId.
+ */
+ java.lang.String getDatasetId();
+
+ /**
+ *
+ *
+ *
+ * The dataset ID of the routine.
+ *
+ *
+ * string dataset_id = 2;
+ *
+ * @return The bytes for datasetId.
+ */
+ com.google.protobuf.ByteString getDatasetIdBytes();
+
+ /**
+ *
+ *
+ *
+ * The routine ID of the routine.
+ *
+ *
+ * string routine_id = 3;
+ *
+ * @return The routineId.
+ */
+ java.lang.String getRoutineId();
+
+ /**
+ *
+ *
+ *
+ * The routine ID of the routine.
+ *
+ *
+ * string routine_id = 3;
+ *
+ * @return The bytes for routineId.
+ */
+ com.google.protobuf.ByteString getRoutineIdBytes();
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferences.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferences.java
index ebea848cdb69..d4f8d1090b40 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferences.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferences.java
@@ -25,8 +25,8 @@
*
*
* Message representing references to BigQuery tables and property graphs.
- * At least one of `table_references` or `property_graph_references` must be
- * populated.
+ * At least one of `table_references`, `property_graph_references`, or
+ * `search_scope` must be populated.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences}
@@ -55,6 +55,7 @@ private BigQueryTableReferences(com.google.protobuf.GeneratedMessage.Builder>
private BigQueryTableReferences() {
tableReferences_ = java.util.Collections.emptyList();
+ propertyGraphReferences_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -163,6 +164,113 @@ public com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference getTab
return tableReferences_.get(index);
}
+ public static final int PROPERTY_GRAPH_REFERENCES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder>
+ getPropertyGraphReferencesOrBuilderList() {
+ return propertyGraphReferences_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getPropertyGraphReferencesCount() {
+ return propertyGraphReferences_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ getPropertyGraphReferences(int index) {
+ return propertyGraphReferences_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder
+ getPropertyGraphReferencesOrBuilder(int index) {
+ return propertyGraphReferences_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -180,6 +288,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < tableReferences_.size(); i++) {
output.writeMessage(1, tableReferences_.get(i));
}
+ for (int i = 0; i < propertyGraphReferences_.size(); i++) {
+ output.writeMessage(2, propertyGraphReferences_.get(i));
+ }
getUnknownFields().writeTo(output);
}
@@ -192,6 +303,11 @@ public int getSerializedSize() {
for (int i = 0; i < tableReferences_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tableReferences_.get(i));
}
+ for (int i = 0; i < propertyGraphReferences_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, propertyGraphReferences_.get(i));
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -209,6 +325,8 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences) obj;
if (!getTableReferencesList().equals(other.getTableReferencesList())) return false;
+ if (!getPropertyGraphReferencesList().equals(other.getPropertyGraphReferencesList()))
+ return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -224,6 +342,10 @@ public int hashCode() {
hash = (37 * hash) + TABLE_REFERENCES_FIELD_NUMBER;
hash = (53 * hash) + getTableReferencesList().hashCode();
}
+ if (getPropertyGraphReferencesCount() > 0) {
+ hash = (37 * hash) + PROPERTY_GRAPH_REFERENCES_FIELD_NUMBER;
+ hash = (53 * hash) + getPropertyGraphReferencesList().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -332,8 +454,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
* Message representing references to BigQuery tables and property graphs.
- * At least one of `table_references` or `property_graph_references` must be
- * populated.
+ * At least one of `table_references`, `property_graph_references`, or
+ * `search_scope` must be populated.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences}
@@ -376,6 +498,13 @@ public Builder clear() {
tableReferencesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
+ if (propertyGraphReferencesBuilder_ == null) {
+ propertyGraphReferences_ = java.util.Collections.emptyList();
+ } else {
+ propertyGraphReferences_ = null;
+ propertyGraphReferencesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -424,6 +553,16 @@ private void buildPartialRepeatedFields(
} else {
result.tableReferences_ = tableReferencesBuilder_.build();
}
+ if (propertyGraphReferencesBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
+ propertyGraphReferences_ =
+ java.util.Collections.unmodifiableList(propertyGraphReferences_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.propertyGraphReferences_ = propertyGraphReferences_;
+ } else {
+ result.propertyGraphReferences_ = propertyGraphReferencesBuilder_.build();
+ }
}
private void buildPartial0(
@@ -474,6 +613,33 @@ public Builder mergeFrom(
}
}
}
+ if (propertyGraphReferencesBuilder_ == null) {
+ if (!other.propertyGraphReferences_.isEmpty()) {
+ if (propertyGraphReferences_.isEmpty()) {
+ propertyGraphReferences_ = other.propertyGraphReferences_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensurePropertyGraphReferencesIsMutable();
+ propertyGraphReferences_.addAll(other.propertyGraphReferences_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.propertyGraphReferences_.isEmpty()) {
+ if (propertyGraphReferencesBuilder_.isEmpty()) {
+ propertyGraphReferencesBuilder_.dispose();
+ propertyGraphReferencesBuilder_ = null;
+ propertyGraphReferences_ = other.propertyGraphReferences_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ propertyGraphReferencesBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+ ? internalGetPropertyGraphReferencesFieldBuilder()
+ : null;
+ } else {
+ propertyGraphReferencesBuilder_.addAllMessages(other.propertyGraphReferences_);
+ }
+ }
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -514,6 +680,21 @@ public Builder mergeFrom(
}
break;
} // case 10
+ case 18:
+ {
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference m =
+ input.readMessage(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ .parser(),
+ extensionRegistry);
+ if (propertyGraphReferencesBuilder_ == null) {
+ ensurePropertyGraphReferencesIsMutable();
+ propertyGraphReferences_.add(m);
+ } else {
+ propertyGraphReferencesBuilder_.addMessage(m);
+ }
+ break;
+ } // case 18
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -965,6 +1146,499 @@ public Builder removeTableReferences(int index) {
return tableReferencesBuilder_;
}
+ private java.util.List<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference>
+ propertyGraphReferences_ = java.util.Collections.emptyList();
+
+ private void ensurePropertyGraphReferencesIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ propertyGraphReferences_ =
+ new java.util.ArrayList<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference>(
+ propertyGraphReferences_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder>
+ propertyGraphReferencesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference>
+ getPropertyGraphReferencesList() {
+ if (propertyGraphReferencesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(propertyGraphReferences_);
+ } else {
+ return propertyGraphReferencesBuilder_.getMessageList();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getPropertyGraphReferencesCount() {
+ if (propertyGraphReferencesBuilder_ == null) {
+ return propertyGraphReferences_.size();
+ } else {
+ return propertyGraphReferencesBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ getPropertyGraphReferences(int index) {
+ if (propertyGraphReferencesBuilder_ == null) {
+ return propertyGraphReferences_.get(index);
+ } else {
+ return propertyGraphReferencesBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setPropertyGraphReferences(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference value) {
+ if (propertyGraphReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePropertyGraphReferencesIsMutable();
+ propertyGraphReferences_.set(index, value);
+ onChanged();
+ } else {
+ propertyGraphReferencesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setPropertyGraphReferences(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder
+ builderForValue) {
+ if (propertyGraphReferencesBuilder_ == null) {
+ ensurePropertyGraphReferencesIsMutable();
+ propertyGraphReferences_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ propertyGraphReferencesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addPropertyGraphReferences(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference value) {
+ if (propertyGraphReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePropertyGraphReferencesIsMutable();
+ propertyGraphReferences_.add(value);
+ onChanged();
+ } else {
+ propertyGraphReferencesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addPropertyGraphReferences(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference value) {
+ if (propertyGraphReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePropertyGraphReferencesIsMutable();
+ propertyGraphReferences_.add(index, value);
+ onChanged();
+ } else {
+ propertyGraphReferencesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addPropertyGraphReferences(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder
+ builderForValue) {
+ if (propertyGraphReferencesBuilder_ == null) {
+ ensurePropertyGraphReferencesIsMutable();
+ propertyGraphReferences_.add(builderForValue.build());
+ onChanged();
+ } else {
+ propertyGraphReferencesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addPropertyGraphReferences(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder
+ builderForValue) {
+ if (propertyGraphReferencesBuilder_ == null) {
+ ensurePropertyGraphReferencesIsMutable();
+ propertyGraphReferences_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ propertyGraphReferencesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllPropertyGraphReferences(
+ java.lang.Iterable<
+ ? extends
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference>
+ values) {
+ if (propertyGraphReferencesBuilder_ == null) {
+ ensurePropertyGraphReferencesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, propertyGraphReferences_);
+ onChanged();
+ } else {
+ propertyGraphReferencesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearPropertyGraphReferences() {
+ if (propertyGraphReferencesBuilder_ == null) {
+ propertyGraphReferences_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ propertyGraphReferencesBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removePropertyGraphReferences(int index) {
+ if (propertyGraphReferencesBuilder_ == null) {
+ ensurePropertyGraphReferencesIsMutable();
+ propertyGraphReferences_.remove(index);
+ onChanged();
+ } else {
+ propertyGraphReferencesBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder
+ getPropertyGraphReferencesBuilder(int index) {
+ return internalGetPropertyGraphReferencesFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder
+ getPropertyGraphReferencesOrBuilder(int index) {
+ if (propertyGraphReferencesBuilder_ == null) {
+ return propertyGraphReferences_.get(index);
+ } else {
+ return propertyGraphReferencesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List<
+ ? extends
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder>
+ getPropertyGraphReferencesOrBuilderList() {
+ if (propertyGraphReferencesBuilder_ != null) {
+ return propertyGraphReferencesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(propertyGraphReferences_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder
+ addPropertyGraphReferencesBuilder() {
+ return internalGetPropertyGraphReferencesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ .getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder
+ addPropertyGraphReferencesBuilder(int index) {
+ return internalGetPropertyGraphReferencesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ .getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder>
+ getPropertyGraphReferencesBuilderList() {
+ return internalGetPropertyGraphReferencesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder>
+ internalGetPropertyGraphReferencesFieldBuilder() {
+ if (propertyGraphReferencesBuilder_ == null) {
+ propertyGraphReferencesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta
+ .BigQueryPropertyGraphReferenceOrBuilder>(
+ propertyGraphReferences_,
+ ((bitField0_ & 0x00000002) != 0),
+ getParentForChildren(),
+ isClean());
+ propertyGraphReferences_ = null;
+ }
+ return propertyGraphReferencesBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferencesOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferencesOrBuilder.java
index 893b92b90ad9..3741d9541071 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferencesOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferencesOrBuilder.java
@@ -94,4 +94,90 @@ public interface BigQueryTableReferencesOrBuilder
*/
com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceOrBuilder
getTableReferencesOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ getPropertyGraphReferences(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getPropertyGraphReferencesCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List<
+ ? extends
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder>
+ getPropertyGraphReferencesOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder
+ getPropertyGraphReferencesOrBuilder(int index);
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ChatRequest.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ChatRequest.java
index a25936a69033..b828f9718c3d 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ChatRequest.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ChatRequest.java
@@ -56,6 +56,7 @@ private ChatRequest() {
parent_ = "";
messages_ = java.util.Collections.emptyList();
thinkingMode_ = 0;
+ model_ = 0;
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -244,6 +245,157 @@ private ThinkingMode(int value) {
// @@protoc_insertion_point(enum_scope:google.cloud.geminidataanalytics.v1beta.ChatRequest.ThinkingMode)
}
+ /**
+ *
+ *
+ *
+ * Model selection for the agent.
+ *
+ *
+ * Protobuf enum {@code google.cloud.geminidataanalytics.v1beta.ChatRequest.Model}
+ */
+ public enum Model implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * No model specified. The default model will be used.
+ *
+ *
+ * MODEL_UNSPECIFIED = 0;
+ */
+ MODEL_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * Use the most up-to-date non-preview model. This may constrain certain
+ * request level settings.
+ *
+ *
+ * LATEST_GA_MODEL = 1;
+ */
+ LATEST_GA_MODEL(1),
+ UNRECOGNIZED(-1),
+ ;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "Model");
+ }
+
+ /**
+ *
+ *
+ *
+ * No model specified. The default model will be used.
+ *
+ *
+ * MODEL_UNSPECIFIED = 0;
+ */
+ public static final int MODEL_UNSPECIFIED_VALUE = 0;
+
+ /**
+ *
+ *
+ *
+ * Use the most up-to-date non-preview model. This may constrain certain
+ * request level settings.
+ *
+ *
+ * LATEST_GA_MODEL = 1;
+ */
+ public static final int LATEST_GA_MODEL_VALUE = 1;
+
+ 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 Model 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 Model forNumber(int value) {
+ switch (value) {
+ case 0:
+ return MODEL_UNSPECIFIED;
+ case 1:
+ return LATEST_GA_MODEL;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the lookerSettings field is set.
+ */
+ @java.lang.Override
+ public boolean hasLookerSettings() {
+ return datasourceSettingsCase_ == 13;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The lookerSettings.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.LookerSettings getLookerSettings() {
+ if (datasourceSettingsCase_ == 13) {
+ return (com.google.cloud.geminidataanalytics.v1beta.LookerSettings) datasourceSettings_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.LookerSettings.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.LookerSettingsOrBuilder
+ getLookerSettingsOrBuilder() {
+ if (datasourceSettingsCase_ == 13) {
+ return (com.google.cloud.geminidataanalytics.v1beta.LookerSettings) datasourceSettings_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.LookerSettings.getDefaultInstance();
+ }
+
public static final int PROJECT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
@@ -579,7 +839,8 @@ public boolean hasClientManagedResourceContext() {
*
*
*
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
*
*
@@ -587,7 +848,7 @@ public boolean hasClientManagedResourceContext() {
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.ChatRequest.project is deprecated. See
- * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=342
+ * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=369
* @return The project.
*/
@java.lang.Override
@@ -608,7 +869,8 @@ public java.lang.String getProject() {
*
*
*
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
*
*
@@ -616,7 +878,7 @@ public java.lang.String getProject() {
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.ChatRequest.project is deprecated. See
- * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=342
+ * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=369
* @return The bytes for project.
*/
@java.lang.Override
@@ -775,6 +1037,87 @@ public com.google.cloud.geminidataanalytics.v1beta.MessageOrBuilder getMessagesO
return messages_.get(index);
}
+ public static final int CREDENTIALS_FIELD_NUMBER = 7;
+ private com.google.cloud.geminidataanalytics.v1beta.Credentials credentials_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the credentials field is set.
+ */
+ @java.lang.Override
+ public boolean hasCredentials() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The credentials.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials() {
+ return credentials_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.Credentials.getDefaultInstance()
+ : credentials_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder
+ getCredentialsOrBuilder() {
+ return credentials_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.Credentials.getDefaultInstance()
+ : credentials_;
+ }
+
public static final int THINKING_MODE_FIELD_NUMBER = 9;
private int thinkingMode_ = 0;
@@ -821,6 +1164,51 @@ public com.google.cloud.geminidataanalytics.v1beta.ChatRequest.ThinkingMode getT
: result;
}
+ public static final int MODEL_FIELD_NUMBER = 11;
+ private int model_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop when processing the request.
+ * This setting only has an effect when context.options.model is not set.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for model.
+ */
+ @java.lang.Override
+ public int getModelValue() {
+ return model_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop when processing the request.
+ * This setting only has an effect when context.options.model is not set.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The model.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model getModel() {
+ com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model result =
+ com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model.forNumber(model_);
+ return result == null
+ ? com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model.UNRECOGNIZED
+ : result;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -844,12 +1232,24 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, parent_);
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(7, getCredentials());
+ }
if (thinkingMode_
!= com.google.cloud.geminidataanalytics.v1beta.ChatRequest.ThinkingMode
.THINKING_MODE_UNSPECIFIED
.getNumber()) {
output.writeEnum(9, thinkingMode_);
}
+ if (model_
+ != com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model.MODEL_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(11, model_);
+ }
+ if (datasourceSettingsCase_ == 13) {
+ output.writeMessage(
+ 13, (com.google.cloud.geminidataanalytics.v1beta.LookerSettings) datasourceSettings_);
+ }
if (contextProviderCase_ == 101) {
output.writeMessage(
101, (com.google.cloud.geminidataanalytics.v1beta.Context) contextProvider_);
@@ -887,12 +1287,25 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, parent_);
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCredentials());
+ }
if (thinkingMode_
!= com.google.cloud.geminidataanalytics.v1beta.ChatRequest.ThinkingMode
.THINKING_MODE_UNSPECIFIED
.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, thinkingMode_);
}
+ if (model_
+ != com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model.MODEL_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, model_);
+ }
+ if (datasourceSettingsCase_ == 13) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 13, (com.google.cloud.geminidataanalytics.v1beta.LookerSettings) datasourceSettings_);
+ }
if (contextProviderCase_ == 101) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
@@ -935,7 +1348,12 @@ public boolean equals(final java.lang.Object obj) {
if (!getProject().equals(other.getProject())) return false;
if (!getParent().equals(other.getParent())) return false;
if (!getMessagesList().equals(other.getMessagesList())) return false;
+ if (hasCredentials() != other.hasCredentials()) return false;
+ if (hasCredentials()) {
+ if (!getCredentials().equals(other.getCredentials())) return false;
+ }
if (thinkingMode_ != other.thinkingMode_) return false;
+ if (model_ != other.model_) return false;
if (!getContextProviderCase().equals(other.getContextProviderCase())) return false;
switch (contextProviderCase_) {
case 101:
@@ -954,6 +1372,14 @@ public boolean equals(final java.lang.Object obj) {
case 0:
default:
}
+ if (!getDatasourceSettingsCase().equals(other.getDatasourceSettingsCase())) return false;
+ switch (datasourceSettingsCase_) {
+ case 13:
+ if (!getLookerSettings().equals(other.getLookerSettings())) return false;
+ break;
+ case 0:
+ default:
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -973,8 +1399,14 @@ public int hashCode() {
hash = (37 * hash) + MESSAGES_FIELD_NUMBER;
hash = (53 * hash) + getMessagesList().hashCode();
}
+ if (hasCredentials()) {
+ hash = (37 * hash) + CREDENTIALS_FIELD_NUMBER;
+ hash = (53 * hash) + getCredentials().hashCode();
+ }
hash = (37 * hash) + THINKING_MODE_FIELD_NUMBER;
hash = (53 * hash) + thinkingMode_;
+ hash = (37 * hash) + MODEL_FIELD_NUMBER;
+ hash = (53 * hash) + model_;
switch (contextProviderCase_) {
case 101:
hash = (37 * hash) + INLINE_CONTEXT_FIELD_NUMBER;
@@ -995,6 +1427,14 @@ public int hashCode() {
case 0:
default:
}
+ switch (datasourceSettingsCase_) {
+ case 13:
+ hash = (37 * hash) + LOOKER_SETTINGS_FIELD_NUMBER;
+ hash = (53 * hash) + getLookerSettings().hashCode();
+ break;
+ case 0:
+ default:
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1126,10 +1566,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
// Construct using com.google.cloud.geminidataanalytics.v1beta.ChatRequest.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) {
+ internalGetMessagesFieldBuilder();
+ internalGetCredentialsFieldBuilder();
+ }
}
@java.lang.Override
@@ -1148,6 +1598,9 @@ public Builder clear() {
if (clientManagedResourceContextBuilder_ != null) {
clientManagedResourceContextBuilder_.clear();
}
+ if (lookerSettingsBuilder_ != null) {
+ lookerSettingsBuilder_.clear();
+ }
project_ = "";
parent_ = "";
if (messagesBuilder_ == null) {
@@ -1156,10 +1609,18 @@ public Builder clear() {
messages_ = null;
messagesBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000080);
+ credentials_ = null;
+ if (credentialsBuilder_ != null) {
+ credentialsBuilder_.dispose();
+ credentialsBuilder_ = null;
+ }
thinkingMode_ = 0;
+ model_ = 0;
contextProviderCase_ = 0;
contextProvider_ = null;
+ datasourceSettingsCase_ = 0;
+ datasourceSettings_ = null;
return this;
}
@@ -1199,9 +1660,9 @@ public com.google.cloud.geminidataanalytics.v1beta.ChatRequest buildPartial() {
private void buildPartialRepeatedFields(
com.google.cloud.geminidataanalytics.v1beta.ChatRequest result) {
if (messagesBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
messages_ = java.util.Collections.unmodifiableList(messages_);
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000080);
}
result.messages_ = messages_;
} else {
@@ -1211,15 +1672,25 @@ private void buildPartialRepeatedFields(
private void buildPartial0(com.google.cloud.geminidataanalytics.v1beta.ChatRequest result) {
int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000010) != 0)) {
+ if (((from_bitField0_ & 0x00000020) != 0)) {
result.project_ = project_;
}
- if (((from_bitField0_ & 0x00000020) != 0)) {
+ if (((from_bitField0_ & 0x00000040) != 0)) {
result.parent_ = parent_;
}
- if (((from_bitField0_ & 0x00000080) != 0)) {
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.credentials_ =
+ credentialsBuilder_ == null ? credentials_ : credentialsBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
result.thinkingMode_ = thinkingMode_;
}
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.model_ = model_;
+ }
+ result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(
@@ -1238,6 +1709,11 @@ private void buildPartialOneofs(
if (contextProviderCase_ == 105 && clientManagedResourceContextBuilder_ != null) {
result.contextProvider_ = clientManagedResourceContextBuilder_.build();
}
+ result.datasourceSettingsCase_ = datasourceSettingsCase_;
+ result.datasourceSettings_ = this.datasourceSettings_;
+ if (datasourceSettingsCase_ == 13 && lookerSettingsBuilder_ != null) {
+ result.datasourceSettings_ = lookerSettingsBuilder_.build();
+ }
}
@java.lang.Override
@@ -1255,19 +1731,19 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.ChatRequest
return this;
if (!other.getProject().isEmpty()) {
project_ = other.project_;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getParent().isEmpty()) {
parent_ = other.parent_;
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
}
if (messagesBuilder_ == null) {
if (!other.messages_.isEmpty()) {
if (messages_.isEmpty()) {
messages_ = other.messages_;
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureMessagesIsMutable();
messages_.addAll(other.messages_);
@@ -1280,7 +1756,7 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.ChatRequest
messagesBuilder_.dispose();
messagesBuilder_ = null;
messages_ = other.messages_;
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000080);
messagesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
? internalGetMessagesFieldBuilder()
@@ -1290,9 +1766,15 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.ChatRequest
}
}
}
+ if (other.hasCredentials()) {
+ mergeCredentials(other.getCredentials());
+ }
if (other.thinkingMode_ != 0) {
setThinkingModeValue(other.getThinkingModeValue());
}
+ if (other.model_ != 0) {
+ setModelValue(other.getModelValue());
+ }
switch (other.getContextProviderCase()) {
case INLINE_CONTEXT:
{
@@ -1319,6 +1801,17 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.ChatRequest
break;
}
}
+ switch (other.getDatasourceSettingsCase()) {
+ case LOOKER_SETTINGS:
+ {
+ mergeLookerSettings(other.getLookerSettings());
+ break;
+ }
+ case DATASOURCESETTINGS_NOT_SET:
+ {
+ break;
+ }
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -1348,7 +1841,7 @@ public Builder mergeFrom(
case 10:
{
project_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
break;
} // case 10
case 18:
@@ -1368,15 +1861,35 @@ public Builder mergeFrom(
case 26:
{
parent_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
break;
} // case 26
+ case 58:
+ {
+ input.readMessage(
+ internalGetCredentialsFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 58
case 72:
{
thinkingMode_ = input.readEnum();
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000200;
break;
} // case 72
+ case 88:
+ {
+ model_ = input.readEnum();
+ bitField0_ |= 0x00000400;
+ break;
+ } // case 88
+ case 106:
+ {
+ input.readMessage(
+ internalGetLookerSettingsFieldBuilder().getBuilder(), extensionRegistry);
+ datasourceSettingsCase_ = 13;
+ break;
+ } // case 106
case 810:
{
input.readMessage(
@@ -1437,6 +1950,20 @@ public Builder clearContextProvider() {
return this;
}
+ private int datasourceSettingsCase_ = 0;
+ private java.lang.Object datasourceSettings_;
+
+ public DatasourceSettingsCase getDatasourceSettingsCase() {
+ return DatasourceSettingsCase.forNumber(datasourceSettingsCase_);
+ }
+
+ public Builder clearDatasourceSettings() {
+ datasourceSettingsCase_ = 0;
+ datasourceSettings_ = null;
+ onChanged();
+ return this;
+ }
+
private int bitField0_;
private com.google.protobuf.SingleFieldBuilder<
@@ -2424,28 +2951,277 @@ public Builder clearClientManagedResourceContext() {
*
*
*
- * Optional. Context with client managed resources.
- * Some clients may not use GDA managed resources including
- * conversations and agents, instead they create and manage their own
- * conversations and agents resources.
+ * Optional. Context with client managed resources.
+ * Some clients may not use GDA managed resources including
+ * conversations and agents, instead they create and manage their own
+ * conversations and agents resources.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext client_managed_resource_context = 105 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextOrBuilder
+ getClientManagedResourceContextOrBuilder() {
+ if ((contextProviderCase_ == 105) && (clientManagedResourceContextBuilder_ != null)) {
+ return clientManagedResourceContextBuilder_.getMessageOrBuilder();
+ } else {
+ if (contextProviderCase_ == 105) {
+ return (com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext)
+ contextProvider_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Context with client managed resources.
+ * Some clients may not use GDA managed resources including
+ * conversations and agents, instead they create and manage their own
+ * conversations and agents resources.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext client_managed_resource_context = 105 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext,
+ com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextOrBuilder>
+ internalGetClientManagedResourceContextFieldBuilder() {
+ if (clientManagedResourceContextBuilder_ == null) {
+ if (!(contextProviderCase_ == 105)) {
+ contextProvider_ =
+ com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext
+ .getDefaultInstance();
+ }
+ clientManagedResourceContextBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext,
+ com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextOrBuilder>(
+ (com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext)
+ contextProvider_,
+ getParentForChildren(),
+ isClean());
+ contextProvider_ = null;
+ }
+ contextProviderCase_ = 105;
+ onChanged();
+ return clientManagedResourceContextBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings,
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettingsOrBuilder>
+ lookerSettingsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the lookerSettings field is set.
+ */
+ @java.lang.Override
+ public boolean hasLookerSettings() {
+ return datasourceSettingsCase_ == 13;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The lookerSettings.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.LookerSettings getLookerSettings() {
+ if (lookerSettingsBuilder_ == null) {
+ if (datasourceSettingsCase_ == 13) {
+ return (com.google.cloud.geminidataanalytics.v1beta.LookerSettings) datasourceSettings_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.LookerSettings.getDefaultInstance();
+ } else {
+ if (datasourceSettingsCase_ == 13) {
+ return lookerSettingsBuilder_.getMessage();
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.LookerSettings.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setLookerSettings(
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings value) {
+ if (lookerSettingsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ datasourceSettings_ = value;
+ onChanged();
+ } else {
+ lookerSettingsBuilder_.setMessage(value);
+ }
+ datasourceSettingsCase_ = 13;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setLookerSettings(
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings.Builder builderForValue) {
+ if (lookerSettingsBuilder_ == null) {
+ datasourceSettings_ = builderForValue.build();
+ onChanged();
+ } else {
+ lookerSettingsBuilder_.setMessage(builderForValue.build());
+ }
+ datasourceSettingsCase_ = 13;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeLookerSettings(
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings value) {
+ if (lookerSettingsBuilder_ == null) {
+ if (datasourceSettingsCase_ == 13
+ && datasourceSettings_
+ != com.google.cloud.geminidataanalytics.v1beta.LookerSettings
+ .getDefaultInstance()) {
+ datasourceSettings_ =
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings.newBuilder(
+ (com.google.cloud.geminidataanalytics.v1beta.LookerSettings)
+ datasourceSettings_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ datasourceSettings_ = value;
+ }
+ onChanged();
+ } else {
+ if (datasourceSettingsCase_ == 13) {
+ lookerSettingsBuilder_.mergeFrom(value);
+ } else {
+ lookerSettingsBuilder_.setMessage(value);
+ }
+ }
+ datasourceSettingsCase_ = 13;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearLookerSettings() {
+ if (lookerSettingsBuilder_ == null) {
+ if (datasourceSettingsCase_ == 13) {
+ datasourceSettingsCase_ = 0;
+ datasourceSettings_ = null;
+ onChanged();
+ }
+ } else {
+ if (datasourceSettingsCase_ == 13) {
+ datasourceSettingsCase_ = 0;
+ datasourceSettings_ = null;
+ }
+ lookerSettingsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.LookerSettings.Builder
+ getLookerSettingsBuilder() {
+ return internalGetLookerSettingsFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext client_managed_resource_context = 105 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
- public com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextOrBuilder
- getClientManagedResourceContextOrBuilder() {
- if ((contextProviderCase_ == 105) && (clientManagedResourceContextBuilder_ != null)) {
- return clientManagedResourceContextBuilder_.getMessageOrBuilder();
+ public com.google.cloud.geminidataanalytics.v1beta.LookerSettingsOrBuilder
+ getLookerSettingsOrBuilder() {
+ if ((datasourceSettingsCase_ == 13) && (lookerSettingsBuilder_ != null)) {
+ return lookerSettingsBuilder_.getMessageOrBuilder();
} else {
- if (contextProviderCase_ == 105) {
- return (com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext)
- contextProvider_;
+ if (datasourceSettingsCase_ == 13) {
+ return (com.google.cloud.geminidataanalytics.v1beta.LookerSettings) datasourceSettings_;
}
- return com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext
- .getDefaultInstance();
+ return com.google.cloud.geminidataanalytics.v1beta.LookerSettings.getDefaultInstance();
}
}
@@ -2453,41 +3229,36 @@ public Builder clearClientManagedResourceContext() {
*
*
*
- * Optional. Context with client managed resources.
- * Some clients may not use GDA managed resources including
- * conversations and agents, instead they create and manage their own
- * conversations and agents resources.
+ * Optional. Looker specific settings.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext client_managed_resource_context = 105 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilder<
- com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext,
- com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext.Builder,
- com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextOrBuilder>
- internalGetClientManagedResourceContextFieldBuilder() {
- if (clientManagedResourceContextBuilder_ == null) {
- if (!(contextProviderCase_ == 105)) {
- contextProvider_ =
- com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext
- .getDefaultInstance();
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings,
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettingsOrBuilder>
+ internalGetLookerSettingsFieldBuilder() {
+ if (lookerSettingsBuilder_ == null) {
+ if (!(datasourceSettingsCase_ == 13)) {
+ datasourceSettings_ =
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings.getDefaultInstance();
}
- clientManagedResourceContextBuilder_ =
+ lookerSettingsBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
- com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext,
- com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext.Builder,
- com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextOrBuilder>(
- (com.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContext)
- contextProvider_,
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings,
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettingsOrBuilder>(
+ (com.google.cloud.geminidataanalytics.v1beta.LookerSettings) datasourceSettings_,
getParentForChildren(),
isClean());
- contextProvider_ = null;
+ datasourceSettings_ = null;
}
- contextProviderCase_ = 105;
+ datasourceSettingsCase_ = 13;
onChanged();
- return clientManagedResourceContextBuilder_;
+ return lookerSettingsBuilder_;
}
private java.lang.Object project_ = "";
@@ -2496,7 +3267,8 @@ public Builder clearClientManagedResourceContext() {
*
*
*
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
*
*
@@ -2504,7 +3276,7 @@ public Builder clearClientManagedResourceContext() {
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.ChatRequest.project is deprecated. See
- * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=342
+ * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=369
* @return The project.
*/
@java.lang.Deprecated
@@ -2524,7 +3296,8 @@ public java.lang.String getProject() {
*
*
*
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
*
*
@@ -2532,7 +3305,7 @@ public java.lang.String getProject() {
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.ChatRequest.project is deprecated. See
- * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=342
+ * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=369
* @return The bytes for project.
*/
@java.lang.Deprecated
@@ -2552,7 +3325,8 @@ public com.google.protobuf.ByteString getProjectBytes() {
*
*
*
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
*
*
@@ -2560,7 +3334,7 @@ public com.google.protobuf.ByteString getProjectBytes() {
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.ChatRequest.project is deprecated. See
- * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=342
+ * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=369
* @param value The project to set.
* @return This builder for chaining.
*/
@@ -2570,7 +3344,7 @@ public Builder setProject(java.lang.String value) {
throw new NullPointerException();
}
project_ = value;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2579,7 +3353,8 @@ public Builder setProject(java.lang.String value) {
*
*
*
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
*
*
@@ -2587,13 +3362,13 @@ public Builder setProject(java.lang.String value) {
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.ChatRequest.project is deprecated. See
- * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=342
+ * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=369
* @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder clearProject() {
project_ = getDefaultInstance().getProject();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -2602,7 +3377,8 @@ public Builder clearProject() {
*
*
*
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
*
*
@@ -2610,7 +3386,7 @@ public Builder clearProject() {
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.ChatRequest.project is deprecated. See
- * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=342
+ * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=369
* @param value The bytes for project to set.
* @return This builder for chaining.
*/
@@ -2621,7 +3397,7 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
project_ = value;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2694,7 +3470,7 @@ public Builder setParent(java.lang.String value) {
throw new NullPointerException();
}
parent_ = value;
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -2713,7 +3489,7 @@ public Builder setParent(java.lang.String value) {
*/
public Builder clearParent() {
parent_ = getDefaultInstance().getParent();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
@@ -2737,7 +3513,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
parent_ = value;
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -2746,10 +3522,10 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureMessagesIsMutable() {
- if (!((bitField0_ & 0x00000040) != 0)) {
+ if (!((bitField0_ & 0x00000080) != 0)) {
messages_ =
new java.util.ArrayList
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the credentials field is set.
+ */
+ public boolean hasCredentials() {
+ return ((bitField0_ & 0x00000100) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The credentials.
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials() {
+ if (credentialsBuilder_ == null) {
+ return credentials_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.Credentials.getDefaultInstance()
+ : credentials_;
+ } else {
+ return credentialsBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setCredentials(com.google.cloud.geminidataanalytics.v1beta.Credentials value) {
+ if (credentialsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ credentials_ = value;
+ } else {
+ credentialsBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setCredentials(
+ com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder builderForValue) {
+ if (credentialsBuilder_ == null) {
+ credentials_ = builderForValue.build();
+ } else {
+ credentialsBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeCredentials(com.google.cloud.geminidataanalytics.v1beta.Credentials value) {
+ if (credentialsBuilder_ == null) {
+ if (((bitField0_ & 0x00000100) != 0)
+ && credentials_ != null
+ && credentials_
+ != com.google.cloud.geminidataanalytics.v1beta.Credentials.getDefaultInstance()) {
+ getCredentialsBuilder().mergeFrom(value);
+ } else {
+ credentials_ = value;
+ }
+ } else {
+ credentialsBuilder_.mergeFrom(value);
+ }
+ if (credentials_ != null) {
+ bitField0_ |= 0x00000100;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearCredentials() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ credentials_ = null;
+ if (credentialsBuilder_ != null) {
+ credentialsBuilder_.dispose();
+ credentialsBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCredentialsBuilder() {
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return internalGetCredentialsFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder
+ getCredentialsOrBuilder() {
+ if (credentialsBuilder_ != null) {
+ return credentialsBuilder_.getMessageOrBuilder();
+ } else {
+ return credentials_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.Credentials.getDefaultInstance()
+ : credentials_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.Credentials,
+ com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder>
+ internalGetCredentialsFieldBuilder() {
+ if (credentialsBuilder_ == null) {
+ credentialsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.Credentials,
+ com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder>(
+ getCredentials(), getParentForChildren(), isClean());
+ credentials_ = null;
+ }
+ return credentialsBuilder_;
+ }
+
private int thinkingMode_ = 0;
/**
@@ -3190,7 +4244,7 @@ public int getThinkingModeValue() {
*/
public Builder setThinkingModeValue(int value) {
thinkingMode_ = value;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -3239,7 +4293,7 @@ public Builder setThinkingMode(
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000200;
thinkingMode_ = value.getNumber();
onChanged();
return this;
@@ -3260,12 +4314,124 @@ public Builder setThinkingMode(
* @return This builder for chaining.
*/
public Builder clearThinkingMode() {
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000200);
thinkingMode_ = 0;
onChanged();
return this;
}
+ private int model_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop when processing the request.
+ * This setting only has an effect when context.options.model is not set.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for model.
+ */
+ @java.lang.Override
+ public int getModelValue() {
+ return model_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop when processing the request.
+ * This setting only has an effect when context.options.model is not set.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The enum numeric value on the wire for model to set.
+ * @return This builder for chaining.
+ */
+ public Builder setModelValue(int value) {
+ model_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop when processing the request.
+ * This setting only has an effect when context.options.model is not set.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The model.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model getModel() {
+ com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model result =
+ com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model.forNumber(model_);
+ return result == null
+ ? com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model.UNRECOGNIZED
+ : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop when processing the request.
+ * This setting only has an effect when context.options.model is not set.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The model to set.
+ * @return This builder for chaining.
+ */
+ public Builder setModel(com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000400;
+ model_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop when processing the request.
+ * This setting only has an effect when context.options.model is not set.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearModel() {
+ bitField0_ = (bitField0_ & ~0x00000400);
+ model_ = 0;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.ChatRequest)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ChatRequestOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ChatRequestOrBuilder.java
index 2f0684badd8e..a0eb9c1e1fae 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ChatRequestOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ChatRequestOrBuilder.java
@@ -227,7 +227,51 @@ public interface ChatRequestOrBuilder
*
*
*
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the lookerSettings field is set.
+ */
+ boolean hasLookerSettings();
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The lookerSettings.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings getLookerSettings();
+
+ /**
+ *
+ *
+ *
+ * Optional. Looker specific settings.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettingsOrBuilder getLookerSettingsOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
*
*
@@ -235,7 +279,7 @@ public interface ChatRequestOrBuilder
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.ChatRequest.project is deprecated. See
- * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=342
+ * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=369
* @return The project.
*/
@java.lang.Deprecated
@@ -245,7 +289,8 @@ public interface ChatRequestOrBuilder
*
*
*
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
*
*
@@ -253,7 +298,7 @@ public interface ChatRequestOrBuilder
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.ChatRequest.project is deprecated. See
- * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=342
+ * google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=369
* @return The bytes for project.
*/
@java.lang.Deprecated
@@ -353,6 +398,70 @@ public interface ChatRequestOrBuilder
*/
com.google.cloud.geminidataanalytics.v1beta.MessageOrBuilder getMessagesOrBuilder(int index);
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the credentials field is set.
+ */
+ boolean hasCredentials();
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The credentials.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials();
+
+ /**
+ *
+ *
+ *
+ * Optional. The credentials to use when calling the data source(s) specified
+ * in the context.
+ *
+ * This field can be used to provide credentials for various data sources.
+ * For example, when connecting to Looker, it currently supports both OAuth
+ * token and API key-based credentials, as described in
+ * [Authentication with an
+ * SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder getCredentialsOrBuilder();
+
/**
*
*
@@ -385,6 +494,41 @@ public interface ChatRequestOrBuilder
*/
com.google.cloud.geminidataanalytics.v1beta.ChatRequest.ThinkingMode getThinkingMode();
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop when processing the request.
+ * This setting only has an effect when context.options.model is not set.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for model.
+ */
+ int getModelValue();
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop when processing the request.
+ * This setting only has an effect when context.options.model is not set.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The model.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.ChatRequest.Model getModel();
+
com.google.cloud.geminidataanalytics.v1beta.ChatRequest.ContextProviderCase
getContextProviderCase();
+
+ com.google.cloud.geminidataanalytics.v1beta.ChatRequest.DatasourceSettingsCase
+ getDatasourceSettingsCase();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Citation.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Citation.java
new file mode 100644
index 000000000000..bf0f44baed3d
--- /dev/null
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Citation.java
@@ -0,0 +1,1564 @@
+/*
+ * 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/geminidataanalytics/v1beta/context.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.geminidataanalytics.v1beta;
+
+/**
+ *
+ *
+ *
+ * Source attributions for content.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.Citation}
+ */
+@com.google.protobuf.Generated
+public final class Citation extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.Citation)
+ CitationOrBuilder {
+ 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= */ "",
+ "Citation");
+ }
+
+ // Use Citation.newBuilder() to construct.
+ private Citation(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private Citation() {
+ sources_ = java.util.Collections.emptyList();
+ anchors_ = java.util.Collections.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_Citation_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_Citation_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.Citation.class,
+ com.google.cloud.geminidataanalytics.v1beta.Citation.Builder.class);
+ }
+
+ public static final int SOURCES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.CitationSourceOrBuilder>
+ getSourcesOrBuilderList() {
+ return sources_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public int getSourcesCount() {
+ return sources_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.CitationSource getSources(int index) {
+ return sources_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.CitationSourceOrBuilder getSourcesOrBuilder(
+ int index) {
+ return sources_.get(index);
+ }
+
+ public static final int ANCHORS_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.CitationAnchorOrBuilder>
+ getAnchorsOrBuilderList() {
+ return anchors_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public int getAnchorsCount() {
+ return anchors_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchor getAnchors(int index) {
+ return anchors_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchorOrBuilder getAnchorsOrBuilder(
+ int index) {
+ return anchors_.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 < sources_.size(); i++) {
+ output.writeMessage(1, sources_.get(i));
+ }
+ for (int i = 0; i < anchors_.size(); i++) {
+ output.writeMessage(2, anchors_.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 < sources_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sources_.get(i));
+ }
+ for (int i = 0; i < anchors_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, anchors_.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.geminidataanalytics.v1beta.Citation)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.Citation other =
+ (com.google.cloud.geminidataanalytics.v1beta.Citation) obj;
+
+ if (!getSourcesList().equals(other.getSourcesList())) return false;
+ if (!getAnchorsList().equals(other.getAnchorsList())) 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 (getSourcesCount() > 0) {
+ hash = (37 * hash) + SOURCES_FIELD_NUMBER;
+ hash = (53 * hash) + getSourcesList().hashCode();
+ }
+ if (getAnchorsCount() > 0) {
+ hash = (37 * hash) + ANCHORS_FIELD_NUMBER;
+ hash = (53 * hash) + getAnchorsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.Citation parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.Citation 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.geminidataanalytics.v1beta.Citation parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.Citation 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.geminidataanalytics.v1beta.Citation parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.Citation parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.Citation parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.Citation 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.geminidataanalytics.v1beta.Citation parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.Citation 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.geminidataanalytics.v1beta.Citation parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.Citation 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.geminidataanalytics.v1beta.Citation 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * Source attributions for content.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.Citation}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public int getSourcesCount() {
+ if (sourcesBuilder_ == null) {
+ return sources_.size();
+ } else {
+ return sourcesBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationSource getSources(int index) {
+ if (sourcesBuilder_ == null) {
+ return sources_.get(index);
+ } else {
+ return sourcesBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setSources(
+ int index, com.google.cloud.geminidataanalytics.v1beta.CitationSource value) {
+ if (sourcesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourcesIsMutable();
+ sources_.set(index, value);
+ onChanged();
+ } else {
+ sourcesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setSources(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.CitationSource.Builder builderForValue) {
+ if (sourcesBuilder_ == null) {
+ ensureSourcesIsMutable();
+ sources_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ sourcesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addSources(com.google.cloud.geminidataanalytics.v1beta.CitationSource value) {
+ if (sourcesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourcesIsMutable();
+ sources_.add(value);
+ onChanged();
+ } else {
+ sourcesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addSources(
+ int index, com.google.cloud.geminidataanalytics.v1beta.CitationSource value) {
+ if (sourcesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourcesIsMutable();
+ sources_.add(index, value);
+ onChanged();
+ } else {
+ sourcesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addSources(
+ com.google.cloud.geminidataanalytics.v1beta.CitationSource.Builder builderForValue) {
+ if (sourcesBuilder_ == null) {
+ ensureSourcesIsMutable();
+ sources_.add(builderForValue.build());
+ onChanged();
+ } else {
+ sourcesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addSources(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.CitationSource.Builder builderForValue) {
+ if (sourcesBuilder_ == null) {
+ ensureSourcesIsMutable();
+ sources_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ sourcesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAllSources(
+ java.lang.Iterable extends com.google.cloud.geminidataanalytics.v1beta.CitationSource>
+ values) {
+ if (sourcesBuilder_ == null) {
+ ensureSourcesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sources_);
+ onChanged();
+ } else {
+ sourcesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearSources() {
+ if (sourcesBuilder_ == null) {
+ sources_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ sourcesBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removeSources(int index) {
+ if (sourcesBuilder_ == null) {
+ ensureSourcesIsMutable();
+ sources_.remove(index);
+ onChanged();
+ } else {
+ sourcesBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationSource.Builder getSourcesBuilder(
+ int index) {
+ return internalGetSourcesFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationSourceOrBuilder getSourcesOrBuilder(
+ int index) {
+ if (sourcesBuilder_ == null) {
+ return sources_.get(index);
+ } else {
+ return sourcesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.CitationSourceOrBuilder>
+ getSourcesOrBuilderList() {
+ if (sourcesBuilder_ != null) {
+ return sourcesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(sources_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationSource.Builder addSourcesBuilder() {
+ return internalGetSourcesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.geminidataanalytics.v1beta.CitationSource.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationSource.Builder addSourcesBuilder(
+ int index) {
+ return internalGetSourcesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.geminidataanalytics.v1beta.CitationSource.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public int getAnchorsCount() {
+ if (anchorsBuilder_ == null) {
+ return anchors_.size();
+ } else {
+ return anchorsBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchor getAnchors(int index) {
+ if (anchorsBuilder_ == null) {
+ return anchors_.get(index);
+ } else {
+ return anchorsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setAnchors(
+ int index, com.google.cloud.geminidataanalytics.v1beta.CitationAnchor value) {
+ if (anchorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAnchorsIsMutable();
+ anchors_.set(index, value);
+ onChanged();
+ } else {
+ anchorsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setAnchors(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.Builder builderForValue) {
+ if (anchorsBuilder_ == null) {
+ ensureAnchorsIsMutable();
+ anchors_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ anchorsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAnchors(com.google.cloud.geminidataanalytics.v1beta.CitationAnchor value) {
+ if (anchorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAnchorsIsMutable();
+ anchors_.add(value);
+ onChanged();
+ } else {
+ anchorsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAnchors(
+ int index, com.google.cloud.geminidataanalytics.v1beta.CitationAnchor value) {
+ if (anchorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAnchorsIsMutable();
+ anchors_.add(index, value);
+ onChanged();
+ } else {
+ anchorsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAnchors(
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.Builder builderForValue) {
+ if (anchorsBuilder_ == null) {
+ ensureAnchorsIsMutable();
+ anchors_.add(builderForValue.build());
+ onChanged();
+ } else {
+ anchorsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAnchors(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.Builder builderForValue) {
+ if (anchorsBuilder_ == null) {
+ ensureAnchorsIsMutable();
+ anchors_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ anchorsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAllAnchors(
+ java.lang.Iterable extends com.google.cloud.geminidataanalytics.v1beta.CitationAnchor>
+ values) {
+ if (anchorsBuilder_ == null) {
+ ensureAnchorsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, anchors_);
+ onChanged();
+ } else {
+ anchorsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearAnchors() {
+ if (anchorsBuilder_ == null) {
+ anchors_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ anchorsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removeAnchors(int index) {
+ if (anchorsBuilder_ == null) {
+ ensureAnchorsIsMutable();
+ anchors_.remove(index);
+ onChanged();
+ } else {
+ anchorsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.Builder getAnchorsBuilder(
+ int index) {
+ return internalGetAnchorsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchorOrBuilder getAnchorsOrBuilder(
+ int index) {
+ if (anchorsBuilder_ == null) {
+ return anchors_.get(index);
+ } else {
+ return anchorsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.CitationAnchorOrBuilder>
+ getAnchorsOrBuilderList() {
+ if (anchorsBuilder_ != null) {
+ return anchorsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(anchors_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.Builder addAnchorsBuilder() {
+ return internalGetAnchorsFieldBuilder()
+ .addBuilder(
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.Builder addAnchorsBuilder(
+ int index) {
+ return internalGetAnchorsFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List
+ * The anchor of the citation.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.CitationAnchor}
+ */
+@com.google.protobuf.Generated
+public final class CitationAnchor extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.CitationAnchor)
+ CitationAnchorOrBuilder {
+ 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= */ "",
+ "CitationAnchor");
+ }
+
+ // Use CitationAnchor.newBuilder() to construct.
+ private CitationAnchor(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private CitationAnchor() {}
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.class,
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.Builder.class);
+ }
+
+ public interface TextMessageCitationAnchorOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Output only. The 0-based index of the part within the TextMessage.parts
+ * field.
+ *
+ *
+ * int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The partIndex.
+ */
+ int getPartIndex();
+
+ /**
+ *
+ *
+ *
+ * Output only. The offset, measured in UTF-8 bytes, within the part string
+ * where the citation begins (inclusive). Example: For the text "Hello,
+ * world" where "world" is cited, the start offset bytes (inclusive) is 7
+ * and the end offset bytes (exclusive) is 12.
+ *
+ *
+ * int32 start_offset_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The startOffsetBytes.
+ */
+ int getStartOffsetBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. The offset, measured in UTF-8 bytes, within the part string
+ * where the citation ends (exclusive). Example: For the text "Hello, world"
+ * where "world" is cited, the start offset bytes (inclusive) is 7 and the
+ * end offset bytes (exclusive) is 12.
+ *
+ *
+ * int32 end_offset_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The endOffsetBytes.
+ */
+ int getEndOffsetBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return A list containing the sourceIds.
+ */
+ java.util.List
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The count of sourceIds.
+ */
+ int getSourceIdsCount();
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the element to return.
+ * @return The sourceIds at the given index.
+ */
+ java.lang.String getSourceIds(int index);
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the sourceIds at the given index.
+ */
+ com.google.protobuf.ByteString getSourceIdsBytes(int index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Citation anchor within a TextMessage.
+ *
+ *
+ * Protobuf type {@code
+ * google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor}
+ */
+ public static final class TextMessageCitationAnchor extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor)
+ TextMessageCitationAnchorOrBuilder {
+ 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= */ "",
+ "TextMessageCitationAnchor");
+ }
+
+ // Use TextMessageCitationAnchor.newBuilder() to construct.
+ private TextMessageCitationAnchor(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private TextMessageCitationAnchor() {
+ sourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_TextMessageCitationAnchor_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_TextMessageCitationAnchor_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .class,
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .Builder.class);
+ }
+
+ public static final int PART_INDEX_FIELD_NUMBER = 1;
+ private int partIndex_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Output only. The 0-based index of the part within the TextMessage.parts
+ * field.
+ *
+ *
+ * int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The partIndex.
+ */
+ @java.lang.Override
+ public int getPartIndex() {
+ return partIndex_;
+ }
+
+ public static final int START_OFFSET_BYTES_FIELD_NUMBER = 2;
+ private int startOffsetBytes_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Output only. The offset, measured in UTF-8 bytes, within the part string
+ * where the citation begins (inclusive). Example: For the text "Hello,
+ * world" where "world" is cited, the start offset bytes (inclusive) is 7
+ * and the end offset bytes (exclusive) is 12.
+ *
+ *
+ * int32 start_offset_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The startOffsetBytes.
+ */
+ @java.lang.Override
+ public int getStartOffsetBytes() {
+ return startOffsetBytes_;
+ }
+
+ public static final int END_OFFSET_BYTES_FIELD_NUMBER = 3;
+ private int endOffsetBytes_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Output only. The offset, measured in UTF-8 bytes, within the part string
+ * where the citation ends (exclusive). Example: For the text "Hello, world"
+ * where "world" is cited, the start offset bytes (inclusive) is 7 and the
+ * end offset bytes (exclusive) is 12.
+ *
+ *
+ * int32 end_offset_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The endOffsetBytes.
+ */
+ @java.lang.Override
+ public int getEndOffsetBytes() {
+ return endOffsetBytes_;
+ }
+
+ public static final int SOURCE_IDS_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.LazyStringArrayList sourceIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return A list containing the sourceIds.
+ */
+ public com.google.protobuf.ProtocolStringList getSourceIdsList() {
+ return sourceIds_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The count of sourceIds.
+ */
+ public int getSourceIdsCount() {
+ return sourceIds_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the element to return.
+ * @return The sourceIds at the given index.
+ */
+ public java.lang.String getSourceIds(int index) {
+ return sourceIds_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the sourceIds at the given index.
+ */
+ public com.google.protobuf.ByteString getSourceIdsBytes(int index) {
+ return sourceIds_.getByteString(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 (partIndex_ != 0) {
+ output.writeInt32(1, partIndex_);
+ }
+ if (startOffsetBytes_ != 0) {
+ output.writeInt32(2, startOffsetBytes_);
+ }
+ if (endOffsetBytes_ != 0) {
+ output.writeInt32(3, endOffsetBytes_);
+ }
+ for (int i = 0; i < sourceIds_.size(); i++) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 4, sourceIds_.getRaw(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (partIndex_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, partIndex_);
+ }
+ if (startOffsetBytes_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, startOffsetBytes_);
+ }
+ if (endOffsetBytes_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, endOffsetBytes_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < sourceIds_.size(); i++) {
+ dataSize += computeStringSizeNoTag(sourceIds_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getSourceIdsList().size();
+ }
+ 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.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor other =
+ (com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor)
+ obj;
+
+ if (getPartIndex() != other.getPartIndex()) return false;
+ if (getStartOffsetBytes() != other.getStartOffsetBytes()) return false;
+ if (getEndOffsetBytes() != other.getEndOffsetBytes()) return false;
+ if (!getSourceIdsList().equals(other.getSourceIdsList())) 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) + PART_INDEX_FIELD_NUMBER;
+ hash = (53 * hash) + getPartIndex();
+ hash = (37 * hash) + START_OFFSET_BYTES_FIELD_NUMBER;
+ hash = (53 * hash) + getStartOffsetBytes();
+ hash = (37 * hash) + END_OFFSET_BYTES_FIELD_NUMBER;
+ hash = (53 * hash) + getEndOffsetBytes();
+ if (getSourceIdsCount() > 0) {
+ hash = (37 * hash) + SOURCE_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getSourceIdsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ 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.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ 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.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ 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.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ 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.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ 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.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * Citation anchor within a TextMessage.
+ *
+ *
+ * Protobuf type {@code
+ * google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Output only. The 0-based index of the part within the TextMessage.parts
+ * field.
+ *
+ *
+ * int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The partIndex.
+ */
+ @java.lang.Override
+ public int getPartIndex() {
+ return partIndex_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The 0-based index of the part within the TextMessage.parts
+ * field.
+ *
+ *
+ * int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The partIndex to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPartIndex(int value) {
+
+ partIndex_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The 0-based index of the part within the TextMessage.parts
+ * field.
+ *
+ *
+ * int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPartIndex() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ partIndex_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int startOffsetBytes_;
+
+ /**
+ *
+ *
+ *
+ * Output only. The offset, measured in UTF-8 bytes, within the part string
+ * where the citation begins (inclusive). Example: For the text "Hello,
+ * world" where "world" is cited, the start offset bytes (inclusive) is 7
+ * and the end offset bytes (exclusive) is 12.
+ *
+ *
+ * int32 start_offset_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The startOffsetBytes.
+ */
+ @java.lang.Override
+ public int getStartOffsetBytes() {
+ return startOffsetBytes_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The offset, measured in UTF-8 bytes, within the part string
+ * where the citation begins (inclusive). Example: For the text "Hello,
+ * world" where "world" is cited, the start offset bytes (inclusive) is 7
+ * and the end offset bytes (exclusive) is 12.
+ *
+ *
+ * int32 start_offset_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The startOffsetBytes to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStartOffsetBytes(int value) {
+
+ startOffsetBytes_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The offset, measured in UTF-8 bytes, within the part string
+ * where the citation begins (inclusive). Example: For the text "Hello,
+ * world" where "world" is cited, the start offset bytes (inclusive) is 7
+ * and the end offset bytes (exclusive) is 12.
+ *
+ *
+ * int32 start_offset_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearStartOffsetBytes() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ startOffsetBytes_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int endOffsetBytes_;
+
+ /**
+ *
+ *
+ *
+ * Output only. The offset, measured in UTF-8 bytes, within the part string
+ * where the citation ends (exclusive). Example: For the text "Hello, world"
+ * where "world" is cited, the start offset bytes (inclusive) is 7 and the
+ * end offset bytes (exclusive) is 12.
+ *
+ *
+ * int32 end_offset_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The endOffsetBytes.
+ */
+ @java.lang.Override
+ public int getEndOffsetBytes() {
+ return endOffsetBytes_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The offset, measured in UTF-8 bytes, within the part string
+ * where the citation ends (exclusive). Example: For the text "Hello, world"
+ * where "world" is cited, the start offset bytes (inclusive) is 7 and the
+ * end offset bytes (exclusive) is 12.
+ *
+ *
+ * int32 end_offset_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The endOffsetBytes to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndOffsetBytes(int value) {
+
+ endOffsetBytes_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The offset, measured in UTF-8 bytes, within the part string
+ * where the citation ends (exclusive). Example: For the text "Hello, world"
+ * where "world" is cited, the start offset bytes (inclusive) is 7 and the
+ * end offset bytes (exclusive) is 12.
+ *
+ *
+ * int32 end_offset_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEndOffsetBytes() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ endOffsetBytes_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringArrayList sourceIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ private void ensureSourceIdsIsMutable() {
+ if (!sourceIds_.isModifiable()) {
+ sourceIds_ = new com.google.protobuf.LazyStringArrayList(sourceIds_);
+ }
+ bitField0_ |= 0x00000008;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return A list containing the sourceIds.
+ */
+ public com.google.protobuf.ProtocolStringList getSourceIdsList() {
+ sourceIds_.makeImmutable();
+ return sourceIds_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The count of sourceIds.
+ */
+ public int getSourceIdsCount() {
+ return sourceIds_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the element to return.
+ * @return The sourceIds at the given index.
+ */
+ public java.lang.String getSourceIds(int index) {
+ return sourceIds_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the sourceIds at the given index.
+ */
+ public com.google.protobuf.ByteString getSourceIdsBytes(int index) {
+ return sourceIds_.getByteString(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index to set the value at.
+ * @param value The sourceIds to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSourceIds(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourceIdsIsMutable();
+ sourceIds_.set(index, value);
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The sourceIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addSourceIds(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourceIdsIsMutable();
+ sourceIds_.add(value);
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param values The sourceIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllSourceIds(java.lang.Iterable
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSourceIds() {
+ sourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ ;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The ids of the sources that are cited.
+ *
+ *
+ * repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes of the sourceIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addSourceIdsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureSourceIdsIsMutable();
+ sourceIds_.add(value);
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor)
+ private static final com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor();
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the textMessageAnchor field is set.
+ */
+ @java.lang.Override
+ public boolean hasTextMessageAnchor() {
+ return anchorTypeCase_ == 1;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The textMessageAnchor.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ getTextMessageAnchor() {
+ if (anchorTypeCase_ == 1) {
+ return (com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor)
+ anchorType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchorOrBuilder
+ getTextMessageAnchorOrBuilder() {
+ if (anchorTypeCase_ == 1) {
+ return (com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor)
+ anchorType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .getDefaultInstance();
+ }
+
+ 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 (anchorTypeCase_ == 1) {
+ output.writeMessage(
+ 1,
+ (com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor)
+ anchorType_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (anchorTypeCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1,
+ (com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor)
+ anchorType_);
+ }
+ 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.geminidataanalytics.v1beta.CitationAnchor)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor other =
+ (com.google.cloud.geminidataanalytics.v1beta.CitationAnchor) obj;
+
+ if (!getAnchorTypeCase().equals(other.getAnchorTypeCase())) return false;
+ switch (anchorTypeCase_) {
+ case 1:
+ if (!getTextMessageAnchor().equals(other.getTextMessageAnchor())) 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();
+ switch (anchorTypeCase_) {
+ case 1:
+ hash = (37 * hash) + TEXT_MESSAGE_ANCHOR_FIELD_NUMBER;
+ hash = (53 * hash) + getTextMessageAnchor().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor 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.geminidataanalytics.v1beta.CitationAnchor parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor 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.geminidataanalytics.v1beta.CitationAnchor parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor 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.geminidataanalytics.v1beta.CitationAnchor parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor 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.geminidataanalytics.v1beta.CitationAnchor parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor 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.geminidataanalytics.v1beta.CitationAnchor 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 anchor of the citation.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.CitationAnchor}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the textMessageAnchor field is set.
+ */
+ @java.lang.Override
+ public boolean hasTextMessageAnchor() {
+ return anchorTypeCase_ == 1;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The textMessageAnchor.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ getTextMessageAnchor() {
+ if (textMessageAnchorBuilder_ == null) {
+ if (anchorTypeCase_ == 1) {
+ return (com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor)
+ anchorType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .getDefaultInstance();
+ } else {
+ if (anchorTypeCase_ == 1) {
+ return textMessageAnchorBuilder_.getMessage();
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setTextMessageAnchor(
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ value) {
+ if (textMessageAnchorBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ anchorType_ = value;
+ onChanged();
+ } else {
+ textMessageAnchorBuilder_.setMessage(value);
+ }
+ anchorTypeCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setTextMessageAnchor(
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor.Builder
+ builderForValue) {
+ if (textMessageAnchorBuilder_ == null) {
+ anchorType_ = builderForValue.build();
+ onChanged();
+ } else {
+ textMessageAnchorBuilder_.setMessage(builderForValue.build());
+ }
+ anchorTypeCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeTextMessageAnchor(
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ value) {
+ if (textMessageAnchorBuilder_ == null) {
+ if (anchorTypeCase_ == 1
+ && anchorType_
+ != com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor.getDefaultInstance()) {
+ anchorType_ =
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .newBuilder(
+ (com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor)
+ anchorType_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ anchorType_ = value;
+ }
+ onChanged();
+ } else {
+ if (anchorTypeCase_ == 1) {
+ textMessageAnchorBuilder_.mergeFrom(value);
+ } else {
+ textMessageAnchorBuilder_.setMessage(value);
+ }
+ }
+ anchorTypeCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearTextMessageAnchor() {
+ if (textMessageAnchorBuilder_ == null) {
+ if (anchorTypeCase_ == 1) {
+ anchorTypeCase_ = 0;
+ anchorType_ = null;
+ onChanged();
+ }
+ } else {
+ if (anchorTypeCase_ == 1) {
+ anchorTypeCase_ = 0;
+ anchorType_ = null;
+ }
+ textMessageAnchorBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .Builder
+ getTextMessageAnchorBuilder() {
+ return internalGetTextMessageAnchorFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchorOrBuilder
+ getTextMessageAnchorOrBuilder() {
+ if ((anchorTypeCase_ == 1) && (textMessageAnchorBuilder_ != null)) {
+ return textMessageAnchorBuilder_.getMessageOrBuilder();
+ } else {
+ if (anchorTypeCase_ == 1) {
+ return (com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor)
+ anchorType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor,
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .Builder,
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchorOrBuilder>
+ internalGetTextMessageAnchorFieldBuilder() {
+ if (textMessageAnchorBuilder_ == null) {
+ if (!(anchorTypeCase_ == 1)) {
+ anchorType_ =
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .getDefaultInstance();
+ }
+ textMessageAnchorBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor,
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ .Builder,
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchorOrBuilder>(
+ (com.google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ .TextMessageCitationAnchor)
+ anchorType_,
+ getParentForChildren(),
+ isClean());
+ anchorType_ = null;
+ }
+ anchorTypeCase_ = 1;
+ onChanged();
+ return textMessageAnchorBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.CitationAnchor)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1beta.CitationAnchor)
+ private static final com.google.cloud.geminidataanalytics.v1beta.CitationAnchor DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.geminidataanalytics.v1beta.CitationAnchor();
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationAnchor getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the textMessageAnchor field is set.
+ */
+ boolean hasTextMessageAnchor();
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The textMessageAnchor.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ getTextMessageAnchor();
+
+ /**
+ *
+ *
+ *
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchorOrBuilder
+ getTextMessageAnchorOrBuilder();
+
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor.AnchorTypeCase getAnchorTypeCase();
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CitationOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CitationOrBuilder.java
new file mode 100644
index 000000000000..ca929fd8d5f5
--- /dev/null
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CitationOrBuilder.java
@@ -0,0 +1,162 @@
+/*
+ * 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/geminidataanalytics/v1beta/context.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.geminidataanalytics.v1beta;
+
+@com.google.protobuf.Generated
+public interface CitationOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.geminidataanalytics.v1beta.Citation)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.CitationSource getSources(int index);
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getSourcesCount();
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List extends com.google.cloud.geminidataanalytics.v1beta.CitationSourceOrBuilder>
+ getSourcesOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the sources being cited.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.CitationSourceOrBuilder getSourcesOrBuilder(
+ int index);
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchor getAnchors(int index);
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getAnchorsCount();
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List extends com.google.cloud.geminidataanalytics.v1beta.CitationAnchorOrBuilder>
+ getAnchorsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Output only. List of the anchors of the citations.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.CitationAnchorOrBuilder getAnchorsOrBuilder(
+ int index);
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CitationSource.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CitationSource.java
new file mode 100644
index 000000000000..efab9104e089
--- /dev/null
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CitationSource.java
@@ -0,0 +1,1795 @@
+/*
+ * 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/geminidataanalytics/v1beta/context.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.geminidataanalytics.v1beta;
+
+/**
+ *
+ *
+ *
+ * The source of the citation.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.CitationSource}
+ */
+@com.google.protobuf.Generated
+public final class CitationSource extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.CitationSource)
+ CitationSourceOrBuilder {
+ 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= */ "",
+ "CitationSource");
+ }
+
+ // Use CitationSource.newBuilder() to construct.
+ private CitationSource(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private CitationSource() {
+ id_ = "";
+ title_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_CitationSource_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_CitationSource_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.CitationSource.class,
+ com.google.cloud.geminidataanalytics.v1beta.CitationSource.Builder.class);
+ }
+
+ private int sourceTypeCase_ = 0;
+
+ @SuppressWarnings("serial")
+ private java.lang.Object sourceType_;
+
+ public enum SourceTypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
+ URI(3),
+ EXAMPLE_QUERY(4),
+ GLOSSARY_TERM(5),
+ SOURCETYPE_NOT_SET(0);
+ private final int value;
+
+ private SourceTypeCase(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 SourceTypeCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static SourceTypeCase forNumber(int value) {
+ switch (value) {
+ case 3:
+ return URI;
+ case 4:
+ return EXAMPLE_QUERY;
+ case 5:
+ return GLOSSARY_TERM;
+ case 0:
+ return SOURCETYPE_NOT_SET;
+ default:
+ return null;
+ }
+ }
+
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public SourceTypeCase getSourceTypeCase() {
+ return SourceTypeCase.forNumber(sourceTypeCase_);
+ }
+
+ public static final int URI_FIELD_NUMBER = 3;
+
+ /**
+ *
+ *
+ *
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the uri field is set.
+ */
+ public boolean hasUri() {
+ return sourceTypeCase_ == 3;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The uri.
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = "";
+ if (sourceTypeCase_ == 3) {
+ ref = sourceType_;
+ }
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (sourceTypeCase_ == 3) {
+ sourceType_ = s;
+ }
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for uri.
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = "";
+ if (sourceTypeCase_ == 3) {
+ ref = sourceType_;
+ }
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (sourceTypeCase_ == 3) {
+ sourceType_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int EXAMPLE_QUERY_FIELD_NUMBER = 4;
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the exampleQuery field is set.
+ */
+ @java.lang.Override
+ public boolean hasExampleQuery() {
+ return sourceTypeCase_ == 4;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The exampleQuery.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuery() {
+ if (sourceTypeCase_ == 4) {
+ return (com.google.cloud.geminidataanalytics.v1beta.ExampleQuery) sourceType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder
+ getExampleQueryOrBuilder() {
+ if (sourceTypeCase_ == 4) {
+ return (com.google.cloud.geminidataanalytics.v1beta.ExampleQuery) sourceType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance();
+ }
+
+ public static final int GLOSSARY_TERM_FIELD_NUMBER = 5;
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the glossaryTerm field is set.
+ */
+ @java.lang.Override
+ public boolean hasGlossaryTerm() {
+ return sourceTypeCase_ == 5;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The glossaryTerm.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm getGlossaryTerm() {
+ if (sourceTypeCase_ == 5) {
+ return (com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm) sourceType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTermOrBuilder
+ getGlossaryTermOrBuilder() {
+ if (sourceTypeCase_ == 5) {
+ return (com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm) sourceType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.getDefaultInstance();
+ }
+
+ public static final int ID_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object id_ = "";
+
+ /**
+ *
+ *
+ *
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ *
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The id.
+ */
+ @java.lang.Override
+ public java.lang.String getId() {
+ java.lang.Object ref = id_;
+ 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();
+ id_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ *
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for id.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getIdBytes() {
+ java.lang.Object ref = id_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ id_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TITLE_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object title_ = "";
+
+ /**
+ *
+ *
+ *
+ * Output only. The title of the source.
+ *
+ *
+ * string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The title.
+ */
+ @java.lang.Override
+ public java.lang.String getTitle() {
+ java.lang.Object ref = title_;
+ 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();
+ title_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The title of the source.
+ *
+ *
+ * string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for title.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getTitleBytes() {
+ java.lang.Object ref = title_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ title_ = 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(id_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, id_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, title_);
+ }
+ if (sourceTypeCase_ == 3) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, sourceType_);
+ }
+ if (sourceTypeCase_ == 4) {
+ output.writeMessage(
+ 4, (com.google.cloud.geminidataanalytics.v1beta.ExampleQuery) sourceType_);
+ }
+ if (sourceTypeCase_ == 5) {
+ output.writeMessage(
+ 5, (com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm) sourceType_);
+ }
+ 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(id_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, title_);
+ }
+ if (sourceTypeCase_ == 3) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, sourceType_);
+ }
+ if (sourceTypeCase_ == 4) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 4, (com.google.cloud.geminidataanalytics.v1beta.ExampleQuery) sourceType_);
+ }
+ if (sourceTypeCase_ == 5) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 5, (com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm) sourceType_);
+ }
+ 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.geminidataanalytics.v1beta.CitationSource)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.CitationSource other =
+ (com.google.cloud.geminidataanalytics.v1beta.CitationSource) obj;
+
+ if (!getId().equals(other.getId())) return false;
+ if (!getTitle().equals(other.getTitle())) return false;
+ if (!getSourceTypeCase().equals(other.getSourceTypeCase())) return false;
+ switch (sourceTypeCase_) {
+ case 3:
+ if (!getUri().equals(other.getUri())) return false;
+ break;
+ case 4:
+ if (!getExampleQuery().equals(other.getExampleQuery())) return false;
+ break;
+ case 5:
+ if (!getGlossaryTerm().equals(other.getGlossaryTerm())) 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();
+ hash = (37 * hash) + ID_FIELD_NUMBER;
+ hash = (53 * hash) + getId().hashCode();
+ hash = (37 * hash) + TITLE_FIELD_NUMBER;
+ hash = (53 * hash) + getTitle().hashCode();
+ switch (sourceTypeCase_) {
+ case 3:
+ hash = (37 * hash) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ break;
+ case 4:
+ hash = (37 * hash) + EXAMPLE_QUERY_FIELD_NUMBER;
+ hash = (53 * hash) + getExampleQuery().hashCode();
+ break;
+ case 5:
+ hash = (37 * hash) + GLOSSARY_TERM_FIELD_NUMBER;
+ hash = (53 * hash) + getGlossaryTerm().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationSource parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationSource 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.geminidataanalytics.v1beta.CitationSource parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationSource 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.geminidataanalytics.v1beta.CitationSource parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationSource parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationSource parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationSource 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.geminidataanalytics.v1beta.CitationSource parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationSource 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.geminidataanalytics.v1beta.CitationSource parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationSource 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.geminidataanalytics.v1beta.CitationSource 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 source of the citation.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.CitationSource}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the uri field is set.
+ */
+ @java.lang.Override
+ public boolean hasUri() {
+ return sourceTypeCase_ == 3;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The uri.
+ */
+ @java.lang.Override
+ public java.lang.String getUri() {
+ java.lang.Object ref = "";
+ if (sourceTypeCase_ == 3) {
+ ref = sourceType_;
+ }
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (sourceTypeCase_ == 3) {
+ sourceType_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for uri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = "";
+ if (sourceTypeCase_ == 3) {
+ ref = sourceType_;
+ }
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (sourceTypeCase_ == 3) {
+ sourceType_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sourceTypeCase_ = 3;
+ sourceType_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUri() {
+ if (sourceTypeCase_ == 3) {
+ sourceTypeCase_ = 0;
+ sourceType_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ sourceTypeCase_ = 3;
+ sourceType_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery,
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder>
+ exampleQueryBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the exampleQuery field is set.
+ */
+ @java.lang.Override
+ public boolean hasExampleQuery() {
+ return sourceTypeCase_ == 4;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The exampleQuery.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuery() {
+ if (exampleQueryBuilder_ == null) {
+ if (sourceTypeCase_ == 4) {
+ return (com.google.cloud.geminidataanalytics.v1beta.ExampleQuery) sourceType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance();
+ } else {
+ if (sourceTypeCase_ == 4) {
+ return exampleQueryBuilder_.getMessage();
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setExampleQuery(com.google.cloud.geminidataanalytics.v1beta.ExampleQuery value) {
+ if (exampleQueryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sourceType_ = value;
+ onChanged();
+ } else {
+ exampleQueryBuilder_.setMessage(value);
+ }
+ sourceTypeCase_ = 4;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setExampleQuery(
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.Builder builderForValue) {
+ if (exampleQueryBuilder_ == null) {
+ sourceType_ = builderForValue.build();
+ onChanged();
+ } else {
+ exampleQueryBuilder_.setMessage(builderForValue.build());
+ }
+ sourceTypeCase_ = 4;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeExampleQuery(
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery value) {
+ if (exampleQueryBuilder_ == null) {
+ if (sourceTypeCase_ == 4
+ && sourceType_
+ != com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance()) {
+ sourceType_ =
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.newBuilder(
+ (com.google.cloud.geminidataanalytics.v1beta.ExampleQuery) sourceType_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ sourceType_ = value;
+ }
+ onChanged();
+ } else {
+ if (sourceTypeCase_ == 4) {
+ exampleQueryBuilder_.mergeFrom(value);
+ } else {
+ exampleQueryBuilder_.setMessage(value);
+ }
+ }
+ sourceTypeCase_ = 4;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearExampleQuery() {
+ if (exampleQueryBuilder_ == null) {
+ if (sourceTypeCase_ == 4) {
+ sourceTypeCase_ = 0;
+ sourceType_ = null;
+ onChanged();
+ }
+ } else {
+ if (sourceTypeCase_ == 4) {
+ sourceTypeCase_ = 0;
+ sourceType_ = null;
+ }
+ exampleQueryBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.Builder
+ getExampleQueryBuilder() {
+ return internalGetExampleQueryFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder
+ getExampleQueryOrBuilder() {
+ if ((sourceTypeCase_ == 4) && (exampleQueryBuilder_ != null)) {
+ return exampleQueryBuilder_.getMessageOrBuilder();
+ } else {
+ if (sourceTypeCase_ == 4) {
+ return (com.google.cloud.geminidataanalytics.v1beta.ExampleQuery) sourceType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery,
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder>
+ internalGetExampleQueryFieldBuilder() {
+ if (exampleQueryBuilder_ == null) {
+ if (!(sourceTypeCase_ == 4)) {
+ sourceType_ =
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance();
+ }
+ exampleQueryBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery,
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder>(
+ (com.google.cloud.geminidataanalytics.v1beta.ExampleQuery) sourceType_,
+ getParentForChildren(),
+ isClean());
+ sourceType_ = null;
+ }
+ sourceTypeCase_ = 4;
+ onChanged();
+ return exampleQueryBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm,
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTermOrBuilder>
+ glossaryTermBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the glossaryTerm field is set.
+ */
+ @java.lang.Override
+ public boolean hasGlossaryTerm() {
+ return sourceTypeCase_ == 5;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The glossaryTerm.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm getGlossaryTerm() {
+ if (glossaryTermBuilder_ == null) {
+ if (sourceTypeCase_ == 5) {
+ return (com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm) sourceType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.getDefaultInstance();
+ } else {
+ if (sourceTypeCase_ == 5) {
+ return glossaryTermBuilder_.getMessage();
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setGlossaryTerm(com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm value) {
+ if (glossaryTermBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sourceType_ = value;
+ onChanged();
+ } else {
+ glossaryTermBuilder_.setMessage(value);
+ }
+ sourceTypeCase_ = 5;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setGlossaryTerm(
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder builderForValue) {
+ if (glossaryTermBuilder_ == null) {
+ sourceType_ = builderForValue.build();
+ onChanged();
+ } else {
+ glossaryTermBuilder_.setMessage(builderForValue.build());
+ }
+ sourceTypeCase_ = 5;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeGlossaryTerm(
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm value) {
+ if (glossaryTermBuilder_ == null) {
+ if (sourceTypeCase_ == 5
+ && sourceType_
+ != com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.getDefaultInstance()) {
+ sourceType_ =
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.newBuilder(
+ (com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm) sourceType_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ sourceType_ = value;
+ }
+ onChanged();
+ } else {
+ if (sourceTypeCase_ == 5) {
+ glossaryTermBuilder_.mergeFrom(value);
+ } else {
+ glossaryTermBuilder_.setMessage(value);
+ }
+ }
+ sourceTypeCase_ = 5;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearGlossaryTerm() {
+ if (glossaryTermBuilder_ == null) {
+ if (sourceTypeCase_ == 5) {
+ sourceTypeCase_ = 0;
+ sourceType_ = null;
+ onChanged();
+ }
+ } else {
+ if (sourceTypeCase_ == 5) {
+ sourceTypeCase_ = 0;
+ sourceType_ = null;
+ }
+ glossaryTermBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder
+ getGlossaryTermBuilder() {
+ return internalGetGlossaryTermFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTermOrBuilder
+ getGlossaryTermOrBuilder() {
+ if ((sourceTypeCase_ == 5) && (glossaryTermBuilder_ != null)) {
+ return glossaryTermBuilder_.getMessageOrBuilder();
+ } else {
+ if (sourceTypeCase_ == 5) {
+ return (com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm) sourceType_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm,
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTermOrBuilder>
+ internalGetGlossaryTermFieldBuilder() {
+ if (glossaryTermBuilder_ == null) {
+ if (!(sourceTypeCase_ == 5)) {
+ sourceType_ =
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.getDefaultInstance();
+ }
+ glossaryTermBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm,
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTermOrBuilder>(
+ (com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm) sourceType_,
+ getParentForChildren(),
+ isClean());
+ sourceType_ = null;
+ }
+ sourceTypeCase_ = 5;
+ onChanged();
+ return glossaryTermBuilder_;
+ }
+
+ private java.lang.Object id_ = "";
+
+ /**
+ *
+ *
+ *
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ *
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The id.
+ */
+ public java.lang.String getId() {
+ java.lang.Object ref = id_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ id_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ *
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for id.
+ */
+ public com.google.protobuf.ByteString getIdBytes() {
+ java.lang.Object ref = id_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ id_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ *
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The id to set.
+ * @return This builder for chaining.
+ */
+ public Builder setId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ id_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ *
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearId() {
+ id_ = getDefaultInstance().getId();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ *
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ id_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object title_ = "";
+
+ /**
+ *
+ *
+ *
+ * Output only. The title of the source.
+ *
+ *
+ * string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The title.
+ */
+ public java.lang.String getTitle() {
+ java.lang.Object ref = title_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ title_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The title of the source.
+ *
+ *
+ * string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for title.
+ */
+ public com.google.protobuf.ByteString getTitleBytes() {
+ java.lang.Object ref = title_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ title_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The title of the source.
+ *
+ *
+ * string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The title to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTitle(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ title_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The title of the source.
+ *
+ *
+ * string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTitle() {
+ title_ = getDefaultInstance().getTitle();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The title of the source.
+ *
+ *
+ * string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for title to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTitleBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ title_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.CitationSource)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1beta.CitationSource)
+ private static final com.google.cloud.geminidataanalytics.v1beta.CitationSource DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.geminidataanalytics.v1beta.CitationSource();
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.CitationSource getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the uri field is set.
+ */
+ boolean hasUri();
+
+ /**
+ *
+ *
+ *
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The uri.
+ */
+ java.lang.String getUri();
+
+ /**
+ *
+ *
+ *
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ *
+ * string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for uri.
+ */
+ com.google.protobuf.ByteString getUriBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the exampleQuery field is set.
+ */
+ boolean hasExampleQuery();
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The exampleQuery.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuery();
+
+ /**
+ *
+ *
+ *
+ * Output only. The example query used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQueryOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the glossaryTerm field is set.
+ */
+ boolean hasGlossaryTerm();
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The glossaryTerm.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm getGlossaryTerm();
+
+ /**
+ *
+ *
+ *
+ * Output only. The glossary term used as the source.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.GlossaryTermOrBuilder getGlossaryTermOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ *
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The id.
+ */
+ java.lang.String getId();
+
+ /**
+ *
+ *
+ *
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ *
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for id.
+ */
+ com.google.protobuf.ByteString getIdBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. The title of the source.
+ *
+ *
+ * string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The title.
+ */
+ java.lang.String getTitle();
+
+ /**
+ *
+ *
+ *
+ * Output only. The title of the source.
+ *
+ *
+ * string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for title.
+ */
+ com.google.protobuf.ByteString getTitleBytes();
+
+ com.google.cloud.geminidataanalytics.v1beta.CitationSource.SourceTypeCase getSourceTypeCase();
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationMessage.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationMessage.java
index 854442dd2fb7..891bcb1c5185 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationMessage.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationMessage.java
@@ -24,6 +24,7 @@
*
*
*
+ * Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead.
* A message of questions to help clarify the user's query. This is returned
* when the system cannot confidently answer the user's question.
*
@@ -31,6 +32,7 @@
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.ClarificationMessage}
*/
@com.google.protobuf.Generated
+@java.lang.Deprecated
public final class ClarificationMessage extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.ClarificationMessage)
@@ -81,14 +83,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
@java.lang.Override
+ @java.lang.Deprecated
public java.util.List
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
@java.lang.Override
+ @java.lang.Deprecated
public java.util.List<
? extends com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestionOrBuilder>
getQuestionsOrBuilderList() {
@@ -116,14 +122,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
@java.lang.Override
+ @java.lang.Deprecated
public int getQuestionsCount() {
return questions_.size();
}
@@ -132,14 +140,16 @@ public int getQuestionsCount() {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion getQuestions(int index) {
return questions_.get(index);
}
@@ -148,14 +158,16 @@ public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion getQues
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestionOrBuilder
getQuestionsOrBuilder(int index) {
return questions_.get(index);
@@ -328,6 +340,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
+ * Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead.
* A message of questions to help clarify the user's query. This is returned
* when the system cannot confidently answer the user's question.
*
@@ -548,13 +561,15 @@ private void ensureQuestionsIsMutable() {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public java.util.List
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public int getQuestionsCount() {
if (questionsBuilder_ == null) {
return questions_.size();
@@ -587,13 +604,15 @@ public int getQuestionsCount() {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion getQuestions(
int index) {
if (questionsBuilder_ == null) {
@@ -607,13 +626,15 @@ public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion getQues
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public Builder setQuestions(
int index, com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion value) {
if (questionsBuilder_ == null) {
@@ -633,13 +654,15 @@ public Builder setQuestions(
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public Builder setQuestions(
int index,
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.Builder builderForValue) {
@@ -657,13 +680,15 @@ public Builder setQuestions(
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public Builder addQuestions(
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion value) {
if (questionsBuilder_ == null) {
@@ -683,13 +708,15 @@ public Builder addQuestions(
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public Builder addQuestions(
int index, com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion value) {
if (questionsBuilder_ == null) {
@@ -709,13 +736,15 @@ public Builder addQuestions(
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public Builder addQuestions(
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.Builder builderForValue) {
if (questionsBuilder_ == null) {
@@ -732,13 +761,15 @@ public Builder addQuestions(
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public Builder addQuestions(
int index,
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.Builder builderForValue) {
@@ -756,13 +787,15 @@ public Builder addQuestions(
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public Builder addAllQuestions(
java.lang.Iterable<
? extends com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion>
@@ -781,13 +814,15 @@ public Builder addAllQuestions(
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public Builder clearQuestions() {
if (questionsBuilder_ == null) {
questions_ = java.util.Collections.emptyList();
@@ -803,13 +838,15 @@ public Builder clearQuestions() {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public Builder removeQuestions(int index) {
if (questionsBuilder_ == null) {
ensureQuestionsIsMutable();
@@ -825,13 +862,15 @@ public Builder removeQuestions(int index) {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.Builder
getQuestionsBuilder(int index) {
return internalGetQuestionsFieldBuilder().getBuilder(index);
@@ -841,13 +880,15 @@ public Builder removeQuestions(int index) {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestionOrBuilder
getQuestionsOrBuilder(int index) {
if (questionsBuilder_ == null) {
@@ -861,13 +902,15 @@ public Builder removeQuestions(int index) {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public java.util.List<
? extends com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestionOrBuilder>
getQuestionsOrBuilderList() {
@@ -882,13 +925,15 @@ public Builder removeQuestions(int index) {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.Builder
addQuestionsBuilder() {
return internalGetQuestionsFieldBuilder()
@@ -901,13 +946,15 @@ public Builder removeQuestions(int index) {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.Builder
addQuestionsBuilder(int index) {
return internalGetQuestionsFieldBuilder()
@@ -921,13 +968,15 @@ public Builder removeQuestions(int index) {
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
public java.util.List
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
java.util.List
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion getQuestions(int index);
/**
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
int getQuestionsCount();
/**
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
java.util.List<
? extends com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestionOrBuilder>
getQuestionsOrBuilderList();
@@ -85,13 +94,15 @@ public interface ClarificationMessageOrBuilder
*
*
*
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Deprecated
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestionOrBuilder getQuestionsOrBuilder(
int index);
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationQuestion.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationQuestion.java
index b30171fb97e5..a681caa03b01 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationQuestion.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationQuestion.java
@@ -24,12 +24,14 @@
*
*
*
+ * Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead.
* Represents a single question to the user to help clarify their query.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.ClarificationQuestion}
*/
@com.google.protobuf.Generated
+@java.lang.Deprecated
public final class ClarificationQuestion extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.ClarificationQuestion)
@@ -77,42 +79,50 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
+ * Deprecated: The parent message is deprecated.
* The selection mode for the clarification question.
*
*
* Protobuf enum {@code
* google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode}
*/
+ @java.lang.Deprecated
public enum SelectionMode implements com.google.protobuf.ProtocolMessageEnum {
/**
*
*
*
+ * Deprecated: The parent message is deprecated.
* Unspecified selection mode.
*
*
- * SELECTION_MODE_UNSPECIFIED = 0;
+ * SELECTION_MODE_UNSPECIFIED = 0 [deprecated = true];
*/
+ @java.lang.Deprecated
SELECTION_MODE_UNSPECIFIED(0),
/**
*
*
*
+ * Deprecated: The parent message is deprecated.
* The user can select only one option.
*
*
- * SINGLE_SELECT = 1;
+ * SINGLE_SELECT = 1 [deprecated = true];
*/
+ @java.lang.Deprecated
SINGLE_SELECT(1),
/**
*
*
*
+ * Deprecated: The parent message is deprecated.
* The user can select multiple options.
*
*
- * MULTI_SELECT = 2;
+ * MULTI_SELECT = 2 [deprecated = true];
*/
+ @java.lang.Deprecated
MULTI_SELECT(2),
UNRECOGNIZED(-1),
;
@@ -131,34 +141,37 @@ public enum SelectionMode implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
+ * Deprecated: The parent message is deprecated.
* Unspecified selection mode.
*
*
- * SELECTION_MODE_UNSPECIFIED = 0;
+ * SELECTION_MODE_UNSPECIFIED = 0 [deprecated = true];
*/
- public static final int SELECTION_MODE_UNSPECIFIED_VALUE = 0;
+ @java.lang.Deprecated public static final int SELECTION_MODE_UNSPECIFIED_VALUE = 0;
/**
*
*
*
+ * Deprecated: The parent message is deprecated.
* The user can select only one option.
*
*
- * SINGLE_SELECT = 1;
+ * SINGLE_SELECT = 1 [deprecated = true];
*/
- public static final int SINGLE_SELECT_VALUE = 1;
+ @java.lang.Deprecated public static final int SINGLE_SELECT_VALUE = 1;
/**
*
*
*
+ * Deprecated: The parent message is deprecated.
* The user can select multiple options.
*
*
- * MULTI_SELECT = 2;
+ * MULTI_SELECT = 2 [deprecated = true];
*/
- public static final int MULTI_SELECT_VALUE = 2;
+ @java.lang.Deprecated public static final int MULTI_SELECT_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -249,6 +262,7 @@ private SelectionMode(int value) {
*
*
*
+ * Deprecated: The parent message is deprecated.
* The type of clarification question.
* This enum may be extended with new values in the future.
*
@@ -256,38 +270,45 @@ private SelectionMode(int value) {
* Protobuf enum {@code
* google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType}
*/
+ @java.lang.Deprecated
public enum ClarificationQuestionType implements com.google.protobuf.ProtocolMessageEnum {
/**
*
*
*
+ * Deprecated: The parent message is deprecated.
* Unspecified clarification question type.
*
*
- * CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0;
+ * CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0 [deprecated = true];
*/
+ @java.lang.Deprecated
CLARIFICATION_QUESTION_TYPE_UNSPECIFIED(0),
/**
*
*
*
+ * Deprecated: The parent message is deprecated.
* The clarification question is for filter values.
*
*
- * FILTER_VALUES = 1;
+ * FILTER_VALUES = 1 [deprecated = true];
*/
+ @java.lang.Deprecated
FILTER_VALUES(1),
/**
*
*
*
+ * Deprecated: The parent message is deprecated.
* The clarification question is for data fields. This is a generic term
* encompassing SQL columns, Looker fields (dimensions/measures), or
* nested data structure properties.
*
*
- * FIELDS = 2;
+ * FIELDS = 2 [deprecated = true];
*/
+ @java.lang.Deprecated
FIELDS(2),
UNRECOGNIZED(-1),
;
@@ -306,36 +327,39 @@ public enum ClarificationQuestionType implements com.google.protobuf.ProtocolMes
*
*
*
+ * Deprecated: The parent message is deprecated.
* Unspecified clarification question type.
*
*
- * CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0;
+ * CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0 [deprecated = true];
*/
- public static final int CLARIFICATION_QUESTION_TYPE_UNSPECIFIED_VALUE = 0;
+ @java.lang.Deprecated public static final int CLARIFICATION_QUESTION_TYPE_UNSPECIFIED_VALUE = 0;
/**
*
*
*
+ * Deprecated: The parent message is deprecated.
* The clarification question is for filter values.
*
*
- * FILTER_VALUES = 1;
+ * FILTER_VALUES = 1 [deprecated = true];
*/
- public static final int FILTER_VALUES_VALUE = 1;
+ @java.lang.Deprecated public static final int FILTER_VALUES_VALUE = 1;
/**
*
*
*
+ * Deprecated: The parent message is deprecated.
* The clarification question is for data fields. This is a generic term
* encompassing SQL columns, Looker fields (dimensions/measures), or
* nested data structure properties.
*
*
- * FIELDS = 2;
+ * FIELDS = 2 [deprecated = true];
*/
- public static final int FIELDS_VALUE = 2;
+ @java.lang.Deprecated public static final int FIELDS_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -434,14 +458,18 @@ private ClarificationQuestionType(int value) {
*
*
*
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
*
- * string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892
* @return The question.
*/
@java.lang.Override
+ @java.lang.Deprecated
public java.lang.String getQuestion() {
java.lang.Object ref = question_;
if (ref instanceof java.lang.String) {
@@ -458,14 +486,18 @@ public java.lang.String getQuestion() {
*
*
*
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
*
- * string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892
* @return The bytes for question.
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.protobuf.ByteString getQuestionBytes() {
java.lang.Object ref = question_;
if (ref instanceof java.lang.String) {
@@ -485,16 +517,20 @@ public com.google.protobuf.ByteString getQuestionBytes() {
*
*
*
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897
* @return The enum numeric value on the wire for selectionMode.
*/
@java.lang.Override
+ @java.lang.Deprecated
public int getSelectionModeValue() {
return selectionMode_;
}
@@ -503,16 +539,20 @@ public int getSelectionModeValue() {
*
*
*
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897
* @return The selectionMode.
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode
getSelectionMode() {
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode result =
@@ -534,14 +574,19 @@ public int getSelectionModeValue() {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @return A list containing the options.
*/
+ @java.lang.Deprecated
public com.google.protobuf.ProtocolStringList getOptionsList() {
return options_;
}
@@ -550,14 +595,19 @@ public com.google.protobuf.ProtocolStringList getOptionsList() {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @return The count of options.
*/
+ @java.lang.Deprecated
public int getOptionsCount() {
return options_.size();
}
@@ -566,15 +616,20 @@ public int getOptionsCount() {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @param index The index of the element to return.
* @return The options at the given index.
*/
+ @java.lang.Deprecated
public java.lang.String getOptions(int index) {
return options_.get(index);
}
@@ -583,15 +638,20 @@ public java.lang.String getOptions(int index) {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @param index The index of the value to return.
* @return The bytes of the options at the given index.
*/
+ @java.lang.Deprecated
public com.google.protobuf.ByteString getOptionsBytes(int index) {
return options_.getByteString(index);
}
@@ -603,16 +663,21 @@ public com.google.protobuf.ByteString getOptionsBytes(int index) {
*
*
*
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated
+ * google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
+ * is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908
* @return The enum numeric value on the wire for clarificationQuestionType.
*/
@java.lang.Override
+ @java.lang.Deprecated
public int getClarificationQuestionTypeValue() {
return clarificationQuestionType_;
}
@@ -621,16 +686,21 @@ public int getClarificationQuestionTypeValue() {
*
*
*
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated
+ * google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
+ * is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908
* @return The clarificationQuestionType.
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType
getClarificationQuestionType() {
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType
@@ -855,6 +925,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
+ * Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead.
* Represents a single question to the user to help clarify their query.
*
*
@@ -1060,13 +1131,18 @@ public Builder mergeFrom(
*
*
*
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
*
- * string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892
* @return The question.
*/
+ @java.lang.Deprecated
public java.lang.String getQuestion() {
java.lang.Object ref = question_;
if (!(ref instanceof java.lang.String)) {
@@ -1083,13 +1159,18 @@ public java.lang.String getQuestion() {
*
*
*
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
*
- * string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892
* @return The bytes for question.
*/
+ @java.lang.Deprecated
public com.google.protobuf.ByteString getQuestionBytes() {
java.lang.Object ref = question_;
if (ref instanceof String) {
@@ -1106,14 +1187,19 @@ public com.google.protobuf.ByteString getQuestionBytes() {
*
*
*
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
*
- * string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892
* @param value The question to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setQuestion(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
@@ -1128,13 +1214,18 @@ public Builder setQuestion(java.lang.String value) {
*
*
*
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
*
- * string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder clearQuestion() {
question_ = getDefaultInstance().getQuestion();
bitField0_ = (bitField0_ & ~0x00000001);
@@ -1146,14 +1237,19 @@ public Builder clearQuestion() {
*
*
*
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
*
- * string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892
* @param value The bytes for question to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setQuestionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -1171,16 +1267,20 @@ public Builder setQuestionBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897
* @return The enum numeric value on the wire for selectionMode.
*/
@java.lang.Override
+ @java.lang.Deprecated
public int getSelectionModeValue() {
return selectionMode_;
}
@@ -1189,16 +1289,20 @@ public int getSelectionModeValue() {
*
*
*
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897
* @param value The enum numeric value on the wire for selectionMode to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setSelectionModeValue(int value) {
selectionMode_ = value;
bitField0_ |= 0x00000002;
@@ -1210,16 +1314,20 @@ public Builder setSelectionModeValue(int value) {
*
*
*
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897
* @return The selectionMode.
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode
getSelectionMode() {
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode result =
@@ -1235,16 +1343,20 @@ public Builder setSelectionModeValue(int value) {
*
*
*
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897
* @param value The selectionMode to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setSelectionMode(
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode value) {
if (value == null) {
@@ -1260,15 +1372,19 @@ public Builder setSelectionMode(
*
*
*
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder clearSelectionMode() {
bitField0_ = (bitField0_ & ~0x00000002);
selectionMode_ = 0;
@@ -1290,14 +1406,20 @@ private void ensureOptionsIsMutable() {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @return A list containing the options.
*/
+ @java.lang.Deprecated
public com.google.protobuf.ProtocolStringList getOptionsList() {
options_.makeImmutable();
return options_;
@@ -1307,14 +1429,20 @@ public com.google.protobuf.ProtocolStringList getOptionsList() {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @return The count of options.
*/
+ @java.lang.Deprecated
public int getOptionsCount() {
return options_.size();
}
@@ -1323,15 +1451,21 @@ public int getOptionsCount() {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @param index The index of the element to return.
* @return The options at the given index.
*/
+ @java.lang.Deprecated
public java.lang.String getOptions(int index) {
return options_.get(index);
}
@@ -1340,15 +1474,21 @@ public java.lang.String getOptions(int index) {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @param index The index of the value to return.
* @return The bytes of the options at the given index.
*/
+ @java.lang.Deprecated
public com.google.protobuf.ByteString getOptionsBytes(int index) {
return options_.getByteString(index);
}
@@ -1357,16 +1497,22 @@ public com.google.protobuf.ByteString getOptionsBytes(int index) {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @param index The index to set the value at.
* @param value The options to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setOptions(int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
@@ -1382,15 +1528,21 @@ public Builder setOptions(int index, java.lang.String value) {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @param value The options to add.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder addOptions(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
@@ -1406,15 +1558,21 @@ public Builder addOptions(java.lang.String value) {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @param values The options to add.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder addAllOptions(java.lang.Iterable
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder clearOptions() {
options_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
@@ -1447,15 +1611,21 @@ public Builder clearOptions() {
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @param value The bytes of the options to add.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder addOptionsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -1474,16 +1644,21 @@ public Builder addOptionsBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated
+ * google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
+ * is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908
* @return The enum numeric value on the wire for clarificationQuestionType.
*/
@java.lang.Override
+ @java.lang.Deprecated
public int getClarificationQuestionTypeValue() {
return clarificationQuestionType_;
}
@@ -1492,16 +1667,21 @@ public int getClarificationQuestionTypeValue() {
*
*
*
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated
+ * google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
+ * is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908
* @param value The enum numeric value on the wire for clarificationQuestionType to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setClarificationQuestionTypeValue(int value) {
clarificationQuestionType_ = value;
bitField0_ |= 0x00000008;
@@ -1513,16 +1693,21 @@ public Builder setClarificationQuestionTypeValue(int value) {
*
*
*
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated
+ * google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
+ * is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908
* @return The clarificationQuestionType.
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion
.ClarificationQuestionType
getClarificationQuestionType() {
@@ -1540,16 +1725,21 @@ public Builder setClarificationQuestionTypeValue(int value) {
*
*
*
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated
+ * google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
+ * is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908
* @param value The clarificationQuestionType to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setClarificationQuestionType(
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType
value) {
@@ -1566,15 +1756,20 @@ public Builder setClarificationQuestionType(
*
*
*
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated
+ * google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
+ * is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder clearClarificationQuestionType() {
bitField0_ = (bitField0_ & ~0x00000008);
clarificationQuestionType_ = 0;
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationQuestionOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationQuestionOrBuilder.java
index 4c0b62efd131..041b11b4cea2 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationQuestionOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ClarificationQuestionOrBuilder.java
@@ -21,6 +21,7 @@
package com.google.cloud.geminidataanalytics.v1beta;
@com.google.protobuf.Generated
+@java.lang.Deprecated
public interface ClarificationQuestionOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.geminidataanalytics.v1beta.ClarificationQuestion)
@@ -30,56 +31,72 @@ public interface ClarificationQuestionOrBuilder
*
*
*
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
*
- * string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892
* @return The question.
*/
+ @java.lang.Deprecated
java.lang.String getQuestion();
/**
*
*
*
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
*
- * string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892
* @return The bytes for question.
*/
+ @java.lang.Deprecated
com.google.protobuf.ByteString getQuestionBytes();
/**
*
*
*
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897
* @return The enum numeric value on the wire for selectionMode.
*/
+ @java.lang.Deprecated
int getSelectionModeValue();
/**
*
*
*
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897
* @return The selectionMode.
*/
+ @java.lang.Deprecated
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode
getSelectionMode();
@@ -87,88 +104,118 @@ public interface ClarificationQuestionOrBuilder
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @return A list containing the options.
*/
+ @java.lang.Deprecated
java.util.List
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @return The count of options.
*/
+ @java.lang.Deprecated
int getOptionsCount();
/**
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @param index The index of the element to return.
* @return The options at the given index.
*/
+ @java.lang.Deprecated
java.lang.String getOptions(int index);
/**
*
*
*
- * Required. A list of distinct options for the user to choose from.
+ * Required. Deprecated: The parent message is deprecated.
+ * A list of distinct options for the user to choose from.
* The number of options is limited to a maximum of 5.
*
*
- * repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ *
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903
* @param index The index of the value to return.
* @return The bytes of the options at the given index.
*/
+ @java.lang.Deprecated
com.google.protobuf.ByteString getOptionsBytes(int index);
/**
*
*
*
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated
+ * google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
+ * is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908
* @return The enum numeric value on the wire for clarificationQuestionType.
*/
+ @java.lang.Deprecated
int getClarificationQuestionTypeValue();
/**
*
*
*
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated
+ * google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
+ * is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908
* @return The clarificationQuestionType.
*/
+ @java.lang.Deprecated
com.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType
getClarificationQuestionType();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlDatabaseReference.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlDatabaseReference.java
index 720c53821242..3c7dbdcdd364 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlDatabaseReference.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlDatabaseReference.java
@@ -58,6 +58,7 @@ private CloudSqlDatabaseReference() {
instanceId_ = "";
databaseId_ = "";
tableIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ databaseTableReferences_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -570,6 +571,107 @@ public com.google.protobuf.ByteString getTableIdsBytes(int index) {
return tableIds_.getByteString(index);
}
+ public static final int DATABASE_TABLE_REFERENCES_FIELD_NUMBER = 8;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>
+ getDatabaseTableReferencesOrBuilderList() {
+ return databaseTableReferences_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getDatabaseTableReferencesCount() {
+ return databaseTableReferences_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ getDatabaseTableReferences(int index) {
+ return databaseTableReferences_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder
+ getDatabaseTableReferencesOrBuilder(int index) {
+ return databaseTableReferences_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -605,6 +707,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < tableIds_.size(); i++) {
com.google.protobuf.GeneratedMessage.writeString(output, 7, tableIds_.getRaw(i));
}
+ for (int i = 0; i < databaseTableReferences_.size(); i++) {
+ output.writeMessage(8, databaseTableReferences_.get(i));
+ }
getUnknownFields().writeTo(output);
}
@@ -640,6 +745,11 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getTableIdsList().size();
}
+ for (int i = 0; i < databaseTableReferences_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 8, databaseTableReferences_.get(i));
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -662,6 +772,8 @@ public boolean equals(final java.lang.Object obj) {
if (!getInstanceId().equals(other.getInstanceId())) return false;
if (!getDatabaseId().equals(other.getDatabaseId())) return false;
if (!getTableIdsList().equals(other.getTableIdsList())) return false;
+ if (!getDatabaseTableReferencesList().equals(other.getDatabaseTableReferencesList()))
+ return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -687,6 +799,10 @@ public int hashCode() {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
+ if (getDatabaseTableReferencesCount() > 0) {
+ hash = (37 * hash) + DATABASE_TABLE_REFERENCES_FIELD_NUMBER;
+ hash = (53 * hash) + getDatabaseTableReferencesList().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -836,6 +952,13 @@ public Builder clear() {
instanceId_ = "";
databaseId_ = "";
tableIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ if (databaseTableReferencesBuilder_ == null) {
+ databaseTableReferences_ = java.util.Collections.emptyList();
+ } else {
+ databaseTableReferences_ = null;
+ databaseTableReferencesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@@ -865,6 +988,7 @@ public com.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference bui
public com.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference buildPartial() {
com.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference result =
new com.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference(this);
+ buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -872,6 +996,20 @@ public com.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference bui
return result;
}
+ private void buildPartialRepeatedFields(
+ com.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference result) {
+ if (databaseTableReferencesBuilder_ == null) {
+ if (((bitField0_ & 0x00000040) != 0)) {
+ databaseTableReferences_ =
+ java.util.Collections.unmodifiableList(databaseTableReferences_);
+ bitField0_ = (bitField0_ & ~0x00000040);
+ }
+ result.databaseTableReferences_ = databaseTableReferences_;
+ } else {
+ result.databaseTableReferences_ = databaseTableReferencesBuilder_.build();
+ }
+ }
+
private void buildPartial0(
com.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference result) {
int from_bitField0_ = bitField0_;
@@ -945,6 +1083,33 @@ public Builder mergeFrom(
}
onChanged();
}
+ if (databaseTableReferencesBuilder_ == null) {
+ if (!other.databaseTableReferences_.isEmpty()) {
+ if (databaseTableReferences_.isEmpty()) {
+ databaseTableReferences_ = other.databaseTableReferences_;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ } else {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.addAll(other.databaseTableReferences_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.databaseTableReferences_.isEmpty()) {
+ if (databaseTableReferencesBuilder_.isEmpty()) {
+ databaseTableReferencesBuilder_.dispose();
+ databaseTableReferencesBuilder_ = null;
+ databaseTableReferences_ = other.databaseTableReferences_;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ databaseTableReferencesBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+ ? internalGetDatabaseTableReferencesFieldBuilder()
+ : null;
+ } else {
+ databaseTableReferencesBuilder_.addAllMessages(other.databaseTableReferences_);
+ }
+ }
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -1008,6 +1173,20 @@ public Builder mergeFrom(
tableIds_.add(s);
break;
} // case 58
+ case 66:
+ {
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference m =
+ input.readMessage(
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.parser(),
+ extensionRegistry);
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.add(m);
+ } else {
+ databaseTableReferencesBuilder_.addMessage(m);
+ }
+ break;
+ } // case 66
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1765,6 +1944,474 @@ public Builder addTableIdsBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.util.List
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getDatabaseTableReferencesCount() {
+ if (databaseTableReferencesBuilder_ == null) {
+ return databaseTableReferences_.size();
+ } else {
+ return databaseTableReferencesBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ getDatabaseTableReferences(int index) {
+ if (databaseTableReferencesBuilder_ == null) {
+ return databaseTableReferences_.get(index);
+ } else {
+ return databaseTableReferencesBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setDatabaseTableReferences(
+ int index, com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference value) {
+ if (databaseTableReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.set(index, value);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setDatabaseTableReferences(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ builderForValue) {
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addDatabaseTableReferences(
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference value) {
+ if (databaseTableReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.add(value);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addDatabaseTableReferences(
+ int index, com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference value) {
+ if (databaseTableReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.add(index, value);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addDatabaseTableReferences(
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ builderForValue) {
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.add(builderForValue.build());
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addDatabaseTableReferences(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ builderForValue) {
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllDatabaseTableReferences(
+ java.lang.Iterable<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference>
+ values) {
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseTableReferences_);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearDatabaseTableReferences() {
+ if (databaseTableReferencesBuilder_ == null) {
+ databaseTableReferences_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeDatabaseTableReferences(int index) {
+ if (databaseTableReferencesBuilder_ == null) {
+ ensureDatabaseTableReferencesIsMutable();
+ databaseTableReferences_.remove(index);
+ onChanged();
+ } else {
+ databaseTableReferencesBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ getDatabaseTableReferencesBuilder(int index) {
+ return internalGetDatabaseTableReferencesFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder
+ getDatabaseTableReferencesOrBuilder(int index) {
+ if (databaseTableReferencesBuilder_ == null) {
+ return databaseTableReferences_.get(index);
+ } else {
+ return databaseTableReferencesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>
+ getDatabaseTableReferencesOrBuilderList() {
+ if (databaseTableReferencesBuilder_ != null) {
+ return databaseTableReferencesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(databaseTableReferences_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ addDatabaseTableReferencesBuilder() {
+ return internalGetDatabaseTableReferencesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ .getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder
+ addDatabaseTableReferencesBuilder(int index) {
+ return internalGetDatabaseTableReferencesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ .getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder>
+ getDatabaseTableReferencesBuilderList() {
+ return internalGetDatabaseTableReferencesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>
+ internalGetDatabaseTableReferencesFieldBuilder() {
+ if (databaseTableReferencesBuilder_ == null) {
+ databaseTableReferencesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>(
+ databaseTableReferences_,
+ ((bitField0_ & 0x00000040) != 0),
+ getParentForChildren(),
+ isClean());
+ databaseTableReferences_ = null;
+ }
+ return databaseTableReferencesBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlDatabaseReferenceOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlDatabaseReferenceOrBuilder.java
index 048171e6e9a7..eac2bb0b8b9a 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlDatabaseReferenceOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlDatabaseReferenceOrBuilder.java
@@ -213,4 +213,84 @@ public interface CloudSqlDatabaseReferenceOrBuilder
* @return The bytes of the tableIds at the given index.
*/
com.google.protobuf.ByteString getTableIdsBytes(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference getDatabaseTableReferences(
+ int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getDatabaseTableReferencesCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>
+ getDatabaseTableReferencesOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Optional. References to tables within the database. Each reference
+ * specifies a table and can optionally include the table's schema to provide
+ * context for the query.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder
+ getDatabaseTableReferencesOrBuilder(int index);
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Context.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Context.java
index 4320b4b10f11..bdd11ef4659f 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Context.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Context.java
@@ -191,11 +191,11 @@ public interface SchemaRelationshipOrBuilder
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return A list containing the sources.
@@ -207,11 +207,11 @@ public interface SchemaRelationshipOrBuilder
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The count of sources.
@@ -222,11 +222,11 @@ public interface SchemaRelationshipOrBuilder
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param index The index of the element to return.
@@ -239,11 +239,11 @@ com.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source ge
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return A list containing the enum numeric values on the wire for sources.
@@ -254,11 +254,11 @@ com.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source ge
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param index The index of the value to return.
@@ -270,11 +270,11 @@ com.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source ge
*
*
*
- * A confidence score for the suggested relationship.
+ * Optional. A confidence score for the suggested relationship.
* Manually added edges have the highest confidence score.
*
*
- * float confidence_score = 4;
+ * float confidence_score = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The confidenceScore.
*/
@@ -1731,11 +1731,11 @@ public boolean hasRightSchemaPaths() {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return A list containing the sources.
@@ -1753,11 +1753,11 @@ public boolean hasRightSchemaPaths() {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The count of sources.
@@ -1771,11 +1771,11 @@ public int getSourcesCount() {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param index The index of the element to return.
@@ -1791,11 +1791,11 @@ public com.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.So
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return A list containing the enum numeric values on the wire for sources.
@@ -1809,11 +1809,11 @@ public java.util.List
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param index The index of the value to return.
@@ -1833,11 +1833,11 @@ public int getSourcesValue(int index) {
*
*
*
- * A confidence score for the suggested relationship.
+ * Optional. A confidence score for the suggested relationship.
* Manually added edges have the highest confidence score.
*
*
- * float confidence_score = 4;
+ * float confidence_score = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The confidenceScore.
*/
@@ -2849,11 +2849,11 @@ private void ensureSourcesIsMutable() {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return A list containing the sources.
@@ -2870,11 +2870,11 @@ private void ensureSourcesIsMutable() {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The count of sources.
@@ -2887,11 +2887,11 @@ public int getSourcesCount() {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param index The index of the element to return.
@@ -2906,11 +2906,11 @@ public int getSourcesCount() {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param index The index to set the value at.
@@ -2933,11 +2933,11 @@ public Builder setSources(
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param value The sources to add.
@@ -2958,11 +2958,11 @@ public Builder addSources(
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param values The sources to add.
@@ -2986,11 +2986,11 @@ public Builder addAllSources(
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return This builder for chaining.
@@ -3006,11 +3006,11 @@ public Builder clearSources() {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return A list containing the enum numeric values on the wire for sources.
@@ -3024,11 +3024,11 @@ public java.util.List
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param index The index of the value to return.
@@ -3042,11 +3042,11 @@ public int getSourcesValue(int index) {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param index The index to set the value at.
@@ -3064,11 +3064,11 @@ public Builder setSourcesValue(int index, int value) {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param value The enum numeric value on the wire for sources to add.
@@ -3085,11 +3085,11 @@ public Builder addSourcesValue(int value) {
*
*
*
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @param values The enum numeric values on the wire for sources to add.
@@ -3110,11 +3110,11 @@ public Builder addAllSourcesValue(java.lang.Iterable
- * A confidence score for the suggested relationship.
+ * Optional. A confidence score for the suggested relationship.
* Manually added edges have the highest confidence score.
*
*
- * float confidence_score = 4;
+ * float confidence_score = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The confidenceScore.
*/
@@ -3127,11 +3127,11 @@ public float getConfidenceScore() {
*
*
*
- * A confidence score for the suggested relationship.
+ * Optional. A confidence score for the suggested relationship.
* Manually added edges have the highest confidence score.
*
*
- * float confidence_score = 4;
+ * float confidence_score = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The confidenceScore to set.
* @return This builder for chaining.
@@ -3148,11 +3148,11 @@ public Builder setConfidenceScore(float value) {
*
*
*
- * A confidence score for the suggested relationship.
+ * Optional. A confidence score for the suggested relationship.
* Manually added edges have the highest confidence score.
*
*
- * float confidence_score = 4;
+ * float confidence_score = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return This builder for chaining.
*/
@@ -3415,7 +3415,8 @@ public com.google.cloud.geminidataanalytics.v1beta.ConversationOptions getOption
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -3434,7 +3435,8 @@ public com.google.cloud.geminidataanalytics.v1beta.ConversationOptions getOption
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -3453,7 +3455,8 @@ public com.google.cloud.geminidataanalytics.v1beta.ConversationOptions getOption
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -3471,7 +3474,8 @@ public int getExampleQueriesCount() {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -3489,7 +3493,8 @@ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuerie
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -3514,7 +3519,7 @@ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuerie
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -3533,7 +3538,7 @@ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuerie
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -3553,7 +3558,7 @@ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuerie
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -3571,7 +3576,7 @@ public int getLookerGoldenQueriesCount() {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -3590,7 +3595,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery getLookerGo
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -3613,6 +3618,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery getLookerGo
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -3630,6 +3636,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery getLookerGo
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -3647,6 +3654,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery getLookerGo
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -3663,6 +3671,7 @@ public int getGlossaryTermsCount() {
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -3679,6 +3688,7 @@ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm getGlossaryTerms
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -3787,6 +3797,66 @@ public int getSchemaRelationshipsCount() {
return schemaRelationships_.get(index);
}
+ public static final int USER_FUNCTIONS_FIELD_NUMBER = 10;
+ private com.google.cloud.geminidataanalytics.v1beta.UserFunctions userFunctions_;
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the userFunctions field is set.
+ */
+ @java.lang.Override
+ public boolean hasUserFunctions() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The userFunctions.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.UserFunctions getUserFunctions() {
+ return userFunctions_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.UserFunctions.getDefaultInstance()
+ : userFunctions_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.UserFunctionsOrBuilder
+ getUserFunctionsOrBuilder() {
+ return userFunctions_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.UserFunctions.getDefaultInstance()
+ : userFunctions_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -3819,6 +3889,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < schemaRelationships_.size(); i++) {
output.writeMessage(9, schemaRelationships_.get(i));
}
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeMessage(10, getUserFunctions());
+ }
for (int i = 0; i < lookerGoldenQueries_.size(); i++) {
output.writeMessage(11, lookerGoldenQueries_.get(i));
}
@@ -3851,6 +3924,9 @@ public int getSerializedSize() {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(9, schemaRelationships_.get(i));
}
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUserFunctions());
+ }
for (int i = 0; i < lookerGoldenQueries_.size(); i++) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(11, lookerGoldenQueries_.get(i));
@@ -3884,6 +3960,10 @@ public boolean equals(final java.lang.Object obj) {
if (!getLookerGoldenQueriesList().equals(other.getLookerGoldenQueriesList())) return false;
if (!getGlossaryTermsList().equals(other.getGlossaryTermsList())) return false;
if (!getSchemaRelationshipsList().equals(other.getSchemaRelationshipsList())) return false;
+ if (hasUserFunctions() != other.hasUserFunctions()) return false;
+ if (hasUserFunctions()) {
+ if (!getUserFunctions().equals(other.getUserFunctions())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -3921,6 +4001,10 @@ public int hashCode() {
hash = (37 * hash) + SCHEMA_RELATIONSHIPS_FIELD_NUMBER;
hash = (53 * hash) + getSchemaRelationshipsList().hashCode();
}
+ if (hasUserFunctions()) {
+ hash = (37 * hash) + USER_FUNCTIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getUserFunctions().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -4068,6 +4152,7 @@ private void maybeForceBuilderInitialization() {
internalGetLookerGoldenQueriesFieldBuilder();
internalGetGlossaryTermsFieldBuilder();
internalGetSchemaRelationshipsFieldBuilder();
+ internalGetUserFunctionsFieldBuilder();
}
}
@@ -4114,6 +4199,11 @@ public Builder clear() {
schemaRelationshipsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
+ userFunctions_ = null;
+ if (userFunctionsBuilder_ != null) {
+ userFunctionsBuilder_.dispose();
+ userFunctionsBuilder_ = null;
+ }
return this;
}
@@ -4206,6 +4296,11 @@ private void buildPartial0(com.google.cloud.geminidataanalytics.v1beta.Context r
result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build();
to_bitField0_ |= 0x00000002;
}
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.userFunctions_ =
+ userFunctionsBuilder_ == null ? userFunctions_ : userFunctionsBuilder_.build();
+ to_bitField0_ |= 0x00000004;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -4341,6 +4436,9 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.Context oth
}
}
}
+ if (other.hasUserFunctions()) {
+ mergeUserFunctions(other.getUserFunctions());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -4429,6 +4527,13 @@ public Builder mergeFrom(
}
break;
} // case 74
+ case 82:
+ {
+ input.readMessage(
+ internalGetUserFunctionsFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 82
case 90:
{
com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery m =
@@ -5061,7 +5166,8 @@ private void ensureExampleQueriesIsMutable() {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5083,7 +5189,8 @@ private void ensureExampleQueriesIsMutable() {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5104,7 +5211,8 @@ public int getExampleQueriesCount() {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5125,7 +5233,8 @@ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuerie
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5153,7 +5262,8 @@ public Builder setExampleQueries(
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5179,7 +5289,8 @@ public Builder setExampleQueries(
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5207,7 +5318,8 @@ public Builder addExampleQueries(
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5235,7 +5347,8 @@ public Builder addExampleQueries(
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5260,7 +5373,8 @@ public Builder addExampleQueries(
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5286,7 +5400,8 @@ public Builder addExampleQueries(
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5312,7 +5427,8 @@ public Builder addAllExampleQueries(
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5336,7 +5452,8 @@ public Builder clearExampleQueries() {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5360,7 +5477,8 @@ public Builder removeExampleQueries(int index) {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5378,7 +5496,8 @@ public Builder removeExampleQueries(int index) {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5400,7 +5519,8 @@ public Builder removeExampleQueries(int index) {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5423,7 +5543,8 @@ public Builder removeExampleQueries(int index) {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5443,7 +5564,8 @@ public Builder removeExampleQueries(int index) {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5463,7 +5585,8 @@ public Builder removeExampleQueries(int index) {
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5519,7 +5642,7 @@ private void ensureLookerGoldenQueriesIsMutable() {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5541,7 +5664,7 @@ private void ensureLookerGoldenQueriesIsMutable() {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5562,7 +5685,7 @@ public int getLookerGoldenQueriesCount() {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5584,7 +5707,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery getLookerGo
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5612,7 +5735,7 @@ public Builder setLookerGoldenQueries(
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5638,7 +5761,7 @@ public Builder setLookerGoldenQueries(
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5666,7 +5789,7 @@ public Builder addLookerGoldenQueries(
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5694,7 +5817,7 @@ public Builder addLookerGoldenQueries(
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5719,7 +5842,7 @@ public Builder addLookerGoldenQueries(
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5745,7 +5868,7 @@ public Builder addLookerGoldenQueries(
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5771,7 +5894,7 @@ public Builder addAllLookerGoldenQueries(
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5795,7 +5918,7 @@ public Builder clearLookerGoldenQueries() {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5819,7 +5942,7 @@ public Builder removeLookerGoldenQueries(int index) {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5837,7 +5960,7 @@ public Builder removeLookerGoldenQueries(int index) {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5859,7 +5982,7 @@ public Builder removeLookerGoldenQueries(int index) {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5882,7 +6005,7 @@ public Builder removeLookerGoldenQueries(int index) {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5902,7 +6025,7 @@ public Builder removeLookerGoldenQueries(int index) {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5923,7 +6046,7 @@ public Builder removeLookerGoldenQueries(int index) {
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -5978,6 +6101,7 @@ private void ensureGlossaryTermsIsMutable() {
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -5998,6 +6122,7 @@ private void ensureGlossaryTermsIsMutable() {
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6017,6 +6142,7 @@ public int getGlossaryTermsCount() {
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6036,6 +6162,7 @@ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm getGlossaryTerms
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6062,6 +6189,7 @@ public Builder setGlossaryTerms(
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6086,6 +6214,7 @@ public Builder setGlossaryTerms(
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6112,6 +6241,7 @@ public Builder addGlossaryTerms(
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6138,6 +6268,7 @@ public Builder addGlossaryTerms(
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6161,6 +6292,7 @@ public Builder addGlossaryTerms(
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6185,6 +6317,7 @@ public Builder addGlossaryTerms(
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6209,6 +6342,7 @@ public Builder addAllGlossaryTerms(
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6231,6 +6365,7 @@ public Builder clearGlossaryTerms() {
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6253,6 +6388,7 @@ public Builder removeGlossaryTerms(int index) {
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6269,6 +6405,7 @@ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder getGloss
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6289,6 +6426,7 @@ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder getGloss
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6310,6 +6448,7 @@ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder getGloss
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6328,6 +6467,7 @@ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder getGloss
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6346,6 +6486,7 @@ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder addGloss
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -6828,6 +6969,224 @@ public Builder removeSchemaRelationships(int index) {
return schemaRelationshipsBuilder_;
}
+ private com.google.cloud.geminidataanalytics.v1beta.UserFunctions userFunctions_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctions,
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctions.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctionsOrBuilder>
+ userFunctionsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the userFunctions field is set.
+ */
+ public boolean hasUserFunctions() {
+ return ((bitField0_ & 0x00000080) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The userFunctions.
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.UserFunctions getUserFunctions() {
+ if (userFunctionsBuilder_ == null) {
+ return userFunctions_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.UserFunctions.getDefaultInstance()
+ : userFunctions_;
+ } else {
+ return userFunctionsBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setUserFunctions(
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctions value) {
+ if (userFunctionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ userFunctions_ = value;
+ } else {
+ userFunctionsBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setUserFunctions(
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctions.Builder builderForValue) {
+ if (userFunctionsBuilder_ == null) {
+ userFunctions_ = builderForValue.build();
+ } else {
+ userFunctionsBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeUserFunctions(
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctions value) {
+ if (userFunctionsBuilder_ == null) {
+ if (((bitField0_ & 0x00000080) != 0)
+ && userFunctions_ != null
+ && userFunctions_
+ != com.google.cloud.geminidataanalytics.v1beta.UserFunctions.getDefaultInstance()) {
+ getUserFunctionsBuilder().mergeFrom(value);
+ } else {
+ userFunctions_ = value;
+ }
+ } else {
+ userFunctionsBuilder_.mergeFrom(value);
+ }
+ if (userFunctions_ != null) {
+ bitField0_ |= 0x00000080;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearUserFunctions() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ userFunctions_ = null;
+ if (userFunctionsBuilder_ != null) {
+ userFunctionsBuilder_.dispose();
+ userFunctionsBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.UserFunctions.Builder
+ getUserFunctionsBuilder() {
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return internalGetUserFunctionsFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.UserFunctionsOrBuilder
+ getUserFunctionsOrBuilder() {
+ if (userFunctionsBuilder_ != null) {
+ return userFunctionsBuilder_.getMessageOrBuilder();
+ } else {
+ return userFunctions_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.UserFunctions.getDefaultInstance()
+ : userFunctions_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctions,
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctions.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctionsOrBuilder>
+ internalGetUserFunctionsFieldBuilder() {
+ if (userFunctionsBuilder_ == null) {
+ userFunctionsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctions,
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctions.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctionsOrBuilder>(
+ getUserFunctions(), getParentForChildren(), isClean());
+ userFunctions_ = null;
+ }
+ return userFunctionsBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.Context)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextOrBuilder.java
index c1b8fec7cdf0..b8e72ad4a1fa 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextOrBuilder.java
@@ -155,7 +155,8 @@ public interface ContextOrBuilder
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -170,7 +171,8 @@ public interface ContextOrBuilder
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -185,7 +187,8 @@ public interface ContextOrBuilder
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -200,7 +203,8 @@ public interface ContextOrBuilder
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -216,7 +220,8 @@ public interface ContextOrBuilder
*
* Optional. A list of example queries, providing examples of relevant and
* commonly used SQL queries and their corresponding natural language queries
- * optionally present. Currently only used for BigQuery data sources.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -232,7 +237,7 @@ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQuer
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -248,7 +253,7 @@ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQuer
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -263,7 +268,7 @@ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQuer
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -278,7 +283,7 @@ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQuer
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -294,7 +299,7 @@ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQuer
*
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
*
*
@@ -309,6 +314,7 @@ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQuer
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -322,6 +328,7 @@ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQuer
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -335,6 +342,7 @@ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQuer
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -348,6 +356,7 @@ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQuer
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -362,6 +371,7 @@ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQuer
*
*
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
*
*
@@ -445,4 +455,47 @@ com.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship getSchema
*/
com.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationshipOrBuilder
getSchemaRelationshipsOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
*/
com.google.cloud.geminidataanalytics.v1beta.DatasourceOptionsOrBuilder getDatasourceOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the userFunctions field is set.
+ */
+ boolean hasUserFunctions();
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The userFunctions.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctions getUserFunctions();
+
+ /**
+ *
+ *
+ *
+ * Optional. A collection of user functions to be included in context.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.UserFunctionsOrBuilder getUserFunctionsOrBuilder();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextProto.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextProto.java
index 4b0e9e58c1f6..e309cfe97b05 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextProto.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextProto.java
@@ -52,10 +52,34 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_geminidataanalytics_v1beta_Context_SchemaRelationship_SchemaPaths_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_geminidataanalytics_v1beta_Context_SchemaRelationship_SchemaPaths_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_UserFunctions_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_UserFunctions_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutine_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutine_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutineReference_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutineReference_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQuery_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQuery_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_QueryParameter_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_QueryParameter_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_MatchedQuery_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_MatchedQuery_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_QueryParameterValues_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_QueryParameterValues_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -104,6 +128,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisOptions_Python_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisOptions_Python_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_Citation_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_Citation_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationSource_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationSource_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_TextMessageCitationAnchor_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_TextMessageCitationAnchor_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -116,30 +156,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n"
+ "5google/cloud/geminidataanalytics/v1beta/context.proto\022\'google.cloud.geminidata"
+ "analytics.v1beta\032\037google/api/field_behav"
- + "ior.proto\0328google/cloud/geminidataanalyt"
- + "ics/v1beta/datasource.proto\032\036google/protobuf/wrappers.proto\"\331\010\n"
+ + "ior.proto\032\031google/api/resource.proto\0328go"
+ + "ogle/cloud/geminidataanalytics/v1beta/da"
+ + "tasource.proto\032\036google/protobuf/wrappers.proto\"\270\t\n"
+ "\007Context\022\037\n"
+ "\022system_instruction\030\001 \001(\tB\003\340A\001\022a\n"
- + "\025datasource_references\030\007 \001(\0132=.google.cloud.geminidat"
- + "aanalytics.v1beta.DatasourceReferencesB\003\340A\002\022R\n"
- + "\007options\030\003 \001(\0132<.google.cloud.gemi"
- + "nidataanalytics.v1beta.ConversationOptionsB\003\340A\001\022S\n"
- + "\017example_queries\030\005 \003(\01325.googl"
- + "e.cloud.geminidataanalytics.v1beta.ExampleQueryB\003\340A\001\022^\n"
- + "\025looker_golden_queries\030\013 "
- + "\003(\0132:.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryB\003\340A\001\022R\n"
- + "\016glossary_terms\030\010"
- + " \003(\01325.google.cloud.geminidataanalytics.v1beta.GlossaryTermB\003\340A\001\022f\n"
- + "\024schema_relationships\030\t \003(\0132C.google.cloud.ge"
- + "minidataanalytics.v1beta.Context.SchemaRelationshipB\003\340A\001\032\204\004\n"
+ + "\025datasource_references\030\007 \001"
+ + "(\0132=.google.cloud.geminidataanalytics.v1beta.DatasourceReferencesB\003\340A\002\022R\n"
+ + "\007options\030\003"
+ + " \001(\0132<.google.cloud.geminidataanalytics.v1beta.ConversationOptionsB\003\340A\001\022S\n"
+ + "\017example_queries\030\005 \003(\01325.google.cloud.gemin"
+ + "idataanalytics.v1beta.ExampleQueryB\003\340A\001\022^\n"
+ + "\025looker_golden_queries\030\013 \003(\0132:.google."
+ + "cloud.geminidataanalytics.v1beta.LookerGoldenQueryB\003\340A\001\022R\n"
+ + "\016glossary_terms\030\010 \003(\0132"
+ + "5.google.cloud.geminidataanalytics.v1beta.GlossaryTermB\003\340A\001\022f\n"
+ + "\024schema_relationships\030\t \003(\0132C.google.cloud.geminidataanaly"
+ + "tics.v1beta.Context.SchemaRelationshipB\003\340A\001\022S\n"
+ + "\016user_functions\030\n"
+ + " \001(\01326.google.clo"
+ + "ud.geminidataanalytics.v1beta.UserFunctionsB\003\340A\001\032\216\004\n"
+ "\022SchemaRelationship\022j\n"
- + "\021left_schema_paths\030\001 \001(\0132O.google.clou"
- + "d.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\022k\n"
- + "\022right_schema_paths\030\002 \001(\0132O.google.cloud.geminidat"
- + "aanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\022[\n"
- + "\007sources\030\003 \003(\0162J.goog"
- + "le.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source\022\030\n"
- + "\020confidence_score\030\004 \001(\002\032/\n"
+ + "\021left_schema_paths\030\001 \001(\0132O.google.cloud.gemini"
+ + "dataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\022k\n"
+ + "\022right_schema_paths\030\002 \001(\0132O.google.cloud.geminidataanalyti"
+ + "cs.v1beta.Context.SchemaRelationship.SchemaPaths\022`\n"
+ + "\007sources\030\003 \003(\0162J.google.cloud"
+ + ".geminidataanalytics.v1beta.Context.SchemaRelationship.SourceB\003\340A\001\022\035\n"
+ + "\020confidence_score\030\004 \001(\002B\003\340A\001\032/\n"
+ "\013SchemaPaths\022\021\n"
+ "\ttable_fqn\030\001 \001(\t\022\r\n"
+ "\005paths\030\002 \003(\t\"m\n"
@@ -147,68 +191,129 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\022SOURCE_UNSPECIFIED\020\000\022\030\n"
+ "\024BIGQUERY_JOB_HISTORY\020\001\022\021\n\r"
+ "LLM_SUGGESTED\020\002\022\036\n"
- + "\032BIGQUERY_TABLE_CONSTRAINTS\020\003\"Y\n"
+ + "\032BIGQUERY_TABLE_CONSTRAINTS\020\003\"^\n\r"
+ + "UserFunctions\022M\n"
+ + "\013bq_routines\030\001"
+ + " \003(\01328.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine\"\204\001\n"
+ + "\017BigQueryRoutine\022\\\n"
+ + "\021routine_reference\030\001 \001(\013"
+ + "2A.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference\022\023\n"
+ + "\013description\030\002 \001(\t\"V\n"
+ + "\030BigQueryRoutineReference\022\022\n\n"
+ + "project_id\030\001 \001(\t\022\022\n\n"
+ + "dataset_id\030\002 \001(\t\022\022\n\n"
+ + "routine_id\030\003 \001(\t\"\253\001\n"
+ "\014ExampleQuery\022\030\n"
+ "\tsql_query\030e \001(\tB\003\340A\001H\000\022&\n"
- + "\031natural_language_question\030\001 \001(\tB\003\340A\001B\007\n"
- + "\005query\"\215\001\n"
+ + "\031natural_language_question\030\001 \001(\tB\003\340A\001\022P\n\n"
+ + "parameters\030\003 \003(\0132"
+ + "7.google.cloud.geminidataanalytics.v1beta.QueryParameterB\003\340A\001B\007\n"
+ + "\005query\"U\n"
+ + "\016QueryParameter\022\021\n"
+ + "\004name\030\001 \001(\tB\003\340A\002\022\030\n"
+ + "\013description\030\002 \001(\tB\003\340A\001\022\026\n"
+ + "\tdata_type\030\003 \001(\tB\003\340A\002\"\273\001\n"
+ + "\014MatchedQuery\022L\n\r"
+ + "example_query\030\001 \001(\01325."
+ + "google.cloud.geminidataanalytics.v1beta.ExampleQuery\022]\n"
+ + "\026query_parameter_values\030\002"
+ + " \003(\0132=.google.cloud.geminidataanalytics.v1beta.QueryParameterValues\"=\n"
+ + "\024QueryParameterValues\022\021\n"
+ + "\004name\030\001 \001(\tB\003\340A\002\022\022\n"
+ + "\005value\030\002 \001(\tB\003\340A\002\"\215\001\n"
+ "\021LookerGoldenQuery\022\'\n"
+ "\032natural_language_questions\030\004 \003(\tB\003\340A\001\022O\n"
- + "\014looker_query\030\005 \001(\01324.google"
- + ".cloud.geminidataanalytics.v1beta.LookerQueryB\003\340A\001\"\210\002\n"
+ + "\014looker_query\030\005"
+ + " \001(\01324.google.cloud.geminidataanalytics.v1beta.LookerQueryB\003\340A\001\"\353\002\n"
+ "\013LookerQuery\022\022\n"
+ "\005model\030\001 \001(\tB\003\340A\002\022\024\n"
+ "\007explore\030\002 \001(\tB\003\340A\002\022\023\n"
+ "\006fields\030\003 \003(\tB\003\340A\001\022Q\n"
- + "\007filters\030\004 \003(\0132;.google.clou"
- + "d.geminidataanalytics.v1beta.LookerQuery.FilterB\003\340A\001\022\022\n"
+ + "\007filters\030\004"
+ + " \003(\0132;.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterB\003\340A\001\022\022\n"
+ "\005sorts\030\005 \003(\tB\003\340A\001\022\027\n"
- + "\005limit\030\006 \001(\tB\003\340A\001H\000\210\001\001\0320\n"
+ + "\005limit\030\006 \001(\tB\003\340A\001H\000\210\001\001\022\032\n"
+ + "\010query_id\030\n"
+ + " \001(\tB\003\340A\001H\001\210\001\001\022\033\n"
+ + "\tclient_id\030\013 \001(\tB\003\340A\001H\002\210\001\001\032?\n"
+ "\006Filter\022\022\n"
- + "\005field\030\001 \001(\tB\003\340A\002\022\022\n"
- + "\005value\030\002 \001(\tB\003\340A\002B\010\n"
- + "\006_limit\"X\n"
+ + "\005field\030\001 \001(\tB\003\340A\002\022\027\n"
+ + "\005value\030\002 \001(\tB\003\340A\001H\000\210\001\001B\010\n"
+ + "\006_valueB\010\n"
+ + "\006_limitB\013\n"
+ + "\t_query_idB\014\n\n"
+ + "_client_id\"X\n"
+ "\014GlossaryTerm\022\031\n"
+ "\014display_name\030\001 \001(\tB\003\340A\002\022\030\n"
+ "\013description\030\002 \001(\tB\003\340A\002\022\023\n"
- + "\006labels\030\003 \003(\tB\003\340A\001\"\206\002\n"
+ + "\006labels\030\003 \003(\tB\003\340A\001\"\242\003\n"
+ "\023ConversationOptions\022I\n"
+ "\005chart\030\001"
+ " \001(\01325.google.cloud.geminidataanalytics.v1beta.ChartOptionsB\003\340A\001\022O\n"
+ "\010analysis\030\002"
+ " \001(\01328.google.cloud.geminidataanalytics.v1beta.AnalysisOptionsB\003\340A\001\022S\n\n"
+ "datasource\030\003"
- + " \001(\0132:.google.cloud.geminidataanalytics.v1beta.DatasourceOptionsB\003\340A\001\"Y\n"
+ + " \001(\0132:.google.cloud.geminidataanalytics.v1beta.DatasourceOptionsB\003\340A\001\022[\n"
+ + "\005model\030\006 \001(\0162B.google.cloud.geminidataanal"
+ + "ytics.v1beta.ConversationOptions.ModelB\003\340A\001H\000\210\001\001\"3\n"
+ + "\005Model\022\025\n"
+ + "\021MODEL_UNSPECIFIED\020\000\022\023\n"
+ + "\017LATEST_GA_MODEL\020\001B\010\n"
+ + "\006_model\"Y\n"
+ "\021DatasourceOptions\022D\n"
+ "\032big_query_max_billed_bytes\030\001"
+ " \001(\0132\033.google.protobuf.Int64ValueB\003\340A\001\"\326\002\n"
+ "\014ChartOptions\022V\n"
- + "\005image\030\001 \001(\0132B.go"
- + "ogle.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptionsB\003\340A\001\032\355\001\n"
+ + "\005image\030\001 \001(\0132B.goo"
+ + "gle.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptionsB\003\340A\001\032\355\001\n"
+ "\014ImageOptions\022^\n"
- + "\010no_image\030\001 \001(\0132J.google.cloud.g"
- + "eminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImageH\000\022\\\n"
- + "\003svg\030\002 \001(\0132M.goo"
- + "gle.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptionsH\000\032\t\n"
+ + "\010no_image\030\001 \001(\0132J.google.cloud.ge"
+ + "minidataanalytics.v1beta.ChartOptions.ImageOptions.NoImageH\000\022\\\n"
+ + "\003svg\030\002 \001(\0132M.goog"
+ + "le.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptionsH\000\032\t\n"
+ "\007NoImage\032\014\n\n"
+ "SvgOptionsB\006\n"
+ "\004kind\"\207\001\n"
+ "\017AnalysisOptions\022T\n"
- + "\006python\030\001 \001(\0132?.google.cloud."
- + "geminidataanalytics.v1beta.AnalysisOptions.PythonB\003\340A\001\032\036\n"
+ + "\006python\030\001 \001(\0132?.google.cloud.g"
+ + "eminidataanalytics.v1beta.AnalysisOptions.PythonB\003\340A\001\032\036\n"
+ "\006Python\022\024\n"
- + "\007enabled\030\001 \001(\010B\003\340A\001B\235\002\n"
- + "+com.google.cloud.geminidataanalytics.v1betaB\014ContextProtoP\001Z]cloud.go"
- + "ogle.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyt"
- + "icspb\252\002\'Google.Cloud.GeminiDataAnalytics"
- + ".V1Beta\312\002\'Google\\Cloud\\GeminiDataAnalyti"
- + "cs\\V1beta\352\002*Google::Cloud::GeminiDataAnalytics::V1betab\006proto3"
+ + "\007enabled\030\001 \001(\010B\003\340A\001\"\250\001\n"
+ + "\010Citation\022M\n"
+ + "\007sources\030\001 \003(\01327.go"
+ + "ogle.cloud.geminidataanalytics.v1beta.CitationSourceB\003\340A\003\022M\n"
+ + "\007anchors\030\002 \003(\01327.goo"
+ + "gle.cloud.geminidataanalytics.v1beta.CitationAnchorB\003\340A\003\"\202\002\n"
+ + "\016CitationSource\022\022\n"
+ + "\003uri\030\003 \001(\tB\003\340A\003H\000\022S\n\r"
+ + "example_query\030\004 \001(\01325"
+ + ".google.cloud.geminidataanalytics.v1beta.ExampleQueryB\003\340A\003H\000\022S\n\r"
+ + "glossary_term\030\005 "
+ + "\001(\01325.google.cloud.geminidataanalytics.v1beta.GlossaryTermB\003\340A\003H\000\022\017\n"
+ + "\002id\030\001 \001(\tB\003\340A\003\022\022\n"
+ + "\005title\030\002 \001(\tB\003\340A\003B\r\n"
+ + "\013source_type\"\246\002\n"
+ + "\016CitationAnchor\022u\n"
+ + "\023text_message_anchor\030\001 \001(\0132Q.google.cloud.geminidataanalytics"
+ + ".v1beta.CitationAnchor.TextMessageCitationAnchorB\003\340A\003H\000\032\215\001\n"
+ + "\031TextMessageCitationAnchor\022\027\n\n"
+ + "part_index\030\001 \001(\005B\003\340A\003\022\037\n"
+ + "\022start_offset_bytes\030\002 \001(\005B\003\340A\003\022\035\n"
+ + "\020end_offset_bytes\030\003 \001(\005B\003\340A\003\022\027\n\n"
+ + "source_ids\030\004 \003(\tB\003\340A\003B\r\n"
+ + "\013anchor_typeB\235\002\n"
+ + "+com.google.cloud.geminidataanalytics.v1betaB\014ContextProtoP\001Z]"
+ + "cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminida"
+ + "taanalyticspb\252\002\'Google.Cloud.GeminiDataA"
+ + "nalytics.V1Beta\312\002\'Google\\Cloud\\GeminiDat"
+ + "aAnalytics\\V1beta\352\002*Google::Cloud::GeminiDataAnalytics::V1betab\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.geminidataanalytics.v1beta.DatasourceProto.getDescriptor(),
com.google.protobuf.WrappersProto.getDescriptor(),
});
@@ -225,6 +330,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"LookerGoldenQueries",
"GlossaryTerms",
"SchemaRelationships",
+ "UserFunctions",
});
internal_static_google_cloud_geminidataanalytics_v1beta_Context_SchemaRelationship_descriptor =
internal_static_google_cloud_geminidataanalytics_v1beta_Context_descriptor.getNestedType(0);
@@ -243,16 +349,64 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"TableFqn", "Paths",
});
- internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQuery_descriptor =
+ internal_static_google_cloud_geminidataanalytics_v1beta_UserFunctions_descriptor =
getDescriptor().getMessageType(1);
+ internal_static_google_cloud_geminidataanalytics_v1beta_UserFunctions_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_UserFunctions_descriptor,
+ new java.lang.String[] {
+ "BqRoutines",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutine_descriptor =
+ getDescriptor().getMessageType(2);
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutine_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutine_descriptor,
+ new java.lang.String[] {
+ "RoutineReference", "Description",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutineReference_descriptor =
+ getDescriptor().getMessageType(3);
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutineReference_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryRoutineReference_descriptor,
+ new java.lang.String[] {
+ "ProjectId", "DatasetId", "RoutineId",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQuery_descriptor =
+ getDescriptor().getMessageType(4);
internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQuery_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQuery_descriptor,
new java.lang.String[] {
- "SqlQuery", "NaturalLanguageQuestion", "Query",
+ "SqlQuery", "NaturalLanguageQuestion", "Parameters", "Query",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_QueryParameter_descriptor =
+ getDescriptor().getMessageType(5);
+ internal_static_google_cloud_geminidataanalytics_v1beta_QueryParameter_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_QueryParameter_descriptor,
+ new java.lang.String[] {
+ "Name", "Description", "DataType",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_MatchedQuery_descriptor =
+ getDescriptor().getMessageType(6);
+ internal_static_google_cloud_geminidataanalytics_v1beta_MatchedQuery_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_MatchedQuery_descriptor,
+ new java.lang.String[] {
+ "ExampleQuery", "QueryParameterValues",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_QueryParameterValues_descriptor =
+ getDescriptor().getMessageType(7);
+ internal_static_google_cloud_geminidataanalytics_v1beta_QueryParameterValues_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_QueryParameterValues_descriptor,
+ new java.lang.String[] {
+ "Name", "Value",
});
internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_descriptor =
- getDescriptor().getMessageType(2);
+ getDescriptor().getMessageType(8);
internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_descriptor,
@@ -260,12 +414,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"NaturalLanguageQuestions", "LookerQuery",
});
internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor =
- getDescriptor().getMessageType(3);
+ getDescriptor().getMessageType(9);
internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor,
new java.lang.String[] {
- "Model", "Explore", "Fields", "Filters", "Sorts", "Limit",
+ "Model", "Explore", "Fields", "Filters", "Sorts", "Limit", "QueryId", "ClientId",
});
internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_descriptor =
internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor
@@ -277,7 +431,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Field", "Value",
});
internal_static_google_cloud_geminidataanalytics_v1beta_GlossaryTerm_descriptor =
- getDescriptor().getMessageType(4);
+ getDescriptor().getMessageType(10);
internal_static_google_cloud_geminidataanalytics_v1beta_GlossaryTerm_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_GlossaryTerm_descriptor,
@@ -285,15 +439,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DisplayName", "Description", "Labels",
});
internal_static_google_cloud_geminidataanalytics_v1beta_ConversationOptions_descriptor =
- getDescriptor().getMessageType(5);
+ getDescriptor().getMessageType(11);
internal_static_google_cloud_geminidataanalytics_v1beta_ConversationOptions_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_ConversationOptions_descriptor,
new java.lang.String[] {
- "Chart", "Analysis", "Datasource",
+ "Chart", "Analysis", "Datasource", "Model",
});
internal_static_google_cloud_geminidataanalytics_v1beta_DatasourceOptions_descriptor =
- getDescriptor().getMessageType(6);
+ getDescriptor().getMessageType(12);
internal_static_google_cloud_geminidataanalytics_v1beta_DatasourceOptions_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_DatasourceOptions_descriptor,
@@ -301,7 +455,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"BigQueryMaxBilledBytes",
});
internal_static_google_cloud_geminidataanalytics_v1beta_ChartOptions_descriptor =
- getDescriptor().getMessageType(7);
+ getDescriptor().getMessageType(13);
internal_static_google_cloud_geminidataanalytics_v1beta_ChartOptions_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_ChartOptions_descriptor,
@@ -332,7 +486,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
internal_static_google_cloud_geminidataanalytics_v1beta_ChartOptions_ImageOptions_SvgOptions_descriptor,
new java.lang.String[] {});
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisOptions_descriptor =
- getDescriptor().getMessageType(8);
+ getDescriptor().getMessageType(14);
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisOptions_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisOptions_descriptor,
@@ -348,8 +502,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Enabled",
});
+ internal_static_google_cloud_geminidataanalytics_v1beta_Citation_descriptor =
+ getDescriptor().getMessageType(15);
+ internal_static_google_cloud_geminidataanalytics_v1beta_Citation_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_Citation_descriptor,
+ new java.lang.String[] {
+ "Sources", "Anchors",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationSource_descriptor =
+ getDescriptor().getMessageType(16);
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationSource_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationSource_descriptor,
+ new java.lang.String[] {
+ "Uri", "ExampleQuery", "GlossaryTerm", "Id", "Title", "SourceType",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_descriptor =
+ getDescriptor().getMessageType(17);
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_descriptor,
+ new java.lang.String[] {
+ "TextMessageAnchor", "AnchorType",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_TextMessageCitationAnchor_descriptor =
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_descriptor
+ .getNestedType(0);
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_TextMessageCitationAnchor_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_CitationAnchor_TextMessageCitationAnchor_descriptor,
+ new java.lang.String[] {
+ "PartIndex", "StartOffsetBytes", "EndOffsetBytes", "SourceIds",
+ });
descriptor.resolveAllFeaturesImmutable();
com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
com.google.cloud.geminidataanalytics.v1beta.DatasourceProto.getDescriptor();
com.google.protobuf.WrappersProto.getDescriptor();
com.google.protobuf.ExtensionRegistry registry =
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Conversation.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Conversation.java
index 07df6b8fd035..70a28ca68fe6 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Conversation.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Conversation.java
@@ -54,6 +54,7 @@ private Conversation(com.google.protobuf.GeneratedMessage.Builder> builder) {
private Conversation() {
name_ = "";
agents_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ kmsKey_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -469,6 +470,131 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
return map.get(key);
}
+ public static final int KMS_KEY_FIELD_NUMBER = 10;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object kmsKey_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return Whether the kmsKey field is set.
+ */
+ @java.lang.Override
+ public boolean hasKmsKey() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The kmsKey.
+ */
+ @java.lang.Override
+ public java.lang.String getKmsKey() {
+ java.lang.Object ref = kmsKey_;
+ 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();
+ kmsKey_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for kmsKey.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getKmsKeyBytes() {
+ java.lang.Object ref = kmsKey_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ kmsKey_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int MEMORY_PAUSED_FIELD_NUMBER = 11;
+ private boolean memoryPaused_ = false;
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether memory is paused for this conversation.
+ *
+ *
+ * optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the memoryPaused field is set.
+ */
+ @java.lang.Override
+ public boolean hasMemoryPaused() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether memory is paused for this conversation.
+ *
+ *
+ * optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The memoryPaused.
+ */
+ @java.lang.Override
+ public boolean getMemoryPaused() {
+ return memoryPaused_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -497,6 +623,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
com.google.protobuf.GeneratedMessage.serializeStringMapTo(
output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 9);
+ if (((bitField0_ & 0x00000004) != 0)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 10, kmsKey_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ output.writeBool(11, memoryPaused_);
+ }
getUnknownFields().writeTo(output);
}
@@ -533,6 +665,12 @@ public int getSerializedSize() {
.build();
size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, labels__);
}
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(10, kmsKey_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, memoryPaused_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -560,6 +698,14 @@ public boolean equals(final java.lang.Object obj) {
if (!getLastUsedTime().equals(other.getLastUsedTime())) return false;
}
if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+ if (hasKmsKey() != other.hasKmsKey()) return false;
+ if (hasKmsKey()) {
+ if (!getKmsKey().equals(other.getKmsKey())) return false;
+ }
+ if (hasMemoryPaused() != other.hasMemoryPaused()) return false;
+ if (hasMemoryPaused()) {
+ if (getMemoryPaused() != other.getMemoryPaused()) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -589,6 +735,14 @@ public int hashCode() {
hash = (37 * hash) + LABELS_FIELD_NUMBER;
hash = (53 * hash) + internalGetLabels().hashCode();
}
+ if (hasKmsKey()) {
+ hash = (37 * hash) + KMS_KEY_FIELD_NUMBER;
+ hash = (53 * hash) + getKmsKey().hashCode();
+ }
+ if (hasMemoryPaused()) {
+ hash = (37 * hash) + MEMORY_PAUSED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMemoryPaused());
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -775,6 +929,8 @@ public Builder clear() {
lastUsedTimeBuilder_ = null;
}
internalGetMutableLabels().clear();
+ kmsKey_ = "";
+ memoryPaused_ = false;
return this;
}
@@ -832,6 +988,14 @@ private void buildPartial0(com.google.cloud.geminidataanalytics.v1beta.Conversat
result.labels_ = internalGetLabels();
result.labels_.makeImmutable();
}
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.kmsKey_ = kmsKey_;
+ to_bitField0_ |= 0x00000004;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.memoryPaused_ = memoryPaused_;
+ to_bitField0_ |= 0x00000008;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -871,6 +1035,14 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.Conversatio
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
bitField0_ |= 0x00000010;
+ if (other.hasKmsKey()) {
+ kmsKey_ = other.kmsKey_;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ }
+ if (other.hasMemoryPaused()) {
+ setMemoryPaused(other.getMemoryPaused());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -936,6 +1108,18 @@ public Builder mergeFrom(
bitField0_ |= 0x00000010;
break;
} // case 74
+ case 82:
+ {
+ kmsKey_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 82
+ case 88:
+ {
+ memoryPaused_ = input.readBool();
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 88
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1951,6 +2135,246 @@ public Builder putAllLabels(java.util.Map
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return Whether the kmsKey field is set.
+ */
+ public boolean hasKmsKey() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The kmsKey.
+ */
+ public java.lang.String getKmsKey() {
+ java.lang.Object ref = kmsKey_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ kmsKey_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for kmsKey.
+ */
+ public com.google.protobuf.ByteString getKmsKeyBytes() {
+ java.lang.Object ref = kmsKey_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ kmsKey_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The kmsKey to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKmsKey(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ kmsKey_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearKmsKey() {
+ kmsKey_ = getDefaultInstance().getKmsKey();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for kmsKey to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ kmsKey_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ private boolean memoryPaused_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether memory is paused for this conversation.
+ *
+ *
+ * optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the memoryPaused field is set.
+ */
+ @java.lang.Override
+ public boolean hasMemoryPaused() {
+ return ((bitField0_ & 0x00000040) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether memory is paused for this conversation.
+ *
+ *
+ * optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The memoryPaused.
+ */
+ @java.lang.Override
+ public boolean getMemoryPaused() {
+ return memoryPaused_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether memory is paused for this conversation.
+ *
+ *
+ * optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The memoryPaused to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMemoryPaused(boolean value) {
+
+ memoryPaused_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether memory is paused for this conversation.
+ *
+ *
+ * optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMemoryPaused() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ memoryPaused_ = false;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.Conversation)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOptions.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOptions.java
index 1918ab9fbbde..d69ae9db00b1 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOptions.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOptions.java
@@ -51,7 +51,9 @@ private ConversationOptions(com.google.protobuf.GeneratedMessage.Builder> buil
super(builder);
}
- private ConversationOptions() {}
+ private ConversationOptions() {
+ model_ = 0;
+ }
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.geminidataanalytics.v1beta.ContextProto
@@ -68,6 +70,158 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Builder.class);
}
+ /**
+ *
+ *
+ *
+ * Allowed models for the agent/conversation.
+ *
+ *
+ * Protobuf enum {@code google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model}
+ */
+ public enum Model implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * No model specified. The model may be set on the chat request, or the
+ * default model will be used.
+ *
+ *
+ * MODEL_UNSPECIFIED = 0;
+ */
+ MODEL_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * Use the most up-to-date non-preview model. This may constrain certain
+ * request level settings.
+ *
+ *
+ * LATEST_GA_MODEL = 1;
+ */
+ LATEST_GA_MODEL(1),
+ UNRECOGNIZED(-1),
+ ;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "Model");
+ }
+
+ /**
+ *
+ *
+ *
+ * No model specified. The model may be set on the chat request, or the
+ * default model will be used.
+ *
+ *
+ * MODEL_UNSPECIFIED = 0;
+ */
+ public static final int MODEL_UNSPECIFIED_VALUE = 0;
+
+ /**
+ *
+ *
+ *
+ * Use the most up-to-date non-preview model. This may constrain certain
+ * request level settings.
+ *
+ *
+ * LATEST_GA_MODEL = 1;
+ */
+ public static final int LATEST_GA_MODEL_VALUE = 1;
+
+ 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 Model 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 Model forNumber(int value) {
+ switch (value) {
+ case 0:
+ return MODEL_UNSPECIFIED;
+ case 1:
+ return LATEST_GA_MODEL;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the model field is set.
+ */
+ @java.lang.Override
+ public boolean hasModel() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for model.
+ */
+ @java.lang.Override
+ public int getModelValue() {
+ return model_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The model.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model getModel() {
+ com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model result =
+ com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model.forNumber(model_);
+ return result == null
+ ? com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model.UNRECOGNIZED
+ : result;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -271,6 +486,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getDatasource());
}
+ if (((bitField0_ & 0x00000008) != 0)) {
+ output.writeEnum(6, model_);
+ }
getUnknownFields().writeTo(output);
}
@@ -289,6 +507,9 @@ public int getSerializedSize() {
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDatasource());
}
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, model_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -317,6 +538,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasDatasource()) {
if (!getDatasource().equals(other.getDatasource())) return false;
}
+ if (hasModel() != other.hasModel()) return false;
+ if (hasModel()) {
+ if (model_ != other.model_) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -340,6 +565,10 @@ public int hashCode() {
hash = (37 * hash) + DATASOURCE_FIELD_NUMBER;
hash = (53 * hash) + getDatasource().hashCode();
}
+ if (hasModel()) {
+ hash = (37 * hash) + MODEL_FIELD_NUMBER;
+ hash = (53 * hash) + model_;
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -507,6 +736,7 @@ public Builder clear() {
datasourceBuilder_.dispose();
datasourceBuilder_ = null;
}
+ model_ = 0;
return this;
}
@@ -558,6 +788,10 @@ private void buildPartial0(
result.datasource_ = datasourceBuilder_ == null ? datasource_ : datasourceBuilder_.build();
to_bitField0_ |= 0x00000004;
}
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.model_ = model_;
+ to_bitField0_ |= 0x00000008;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -585,6 +819,9 @@ public Builder mergeFrom(
if (other.hasDatasource()) {
mergeDatasource(other.getDatasource());
}
+ if (other.hasModel()) {
+ setModelValue(other.getModelValue());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -631,6 +868,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000004;
break;
} // case 26
+ case 48:
+ {
+ model_ = input.readEnum();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 48
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1301,6 +1544,132 @@ public Builder clearDatasource() {
return datasourceBuilder_;
}
+ private int model_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the model field is set.
+ */
+ @java.lang.Override
+ public boolean hasModel() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for model.
+ */
+ @java.lang.Override
+ public int getModelValue() {
+ return model_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The enum numeric value on the wire for model to set.
+ * @return This builder for chaining.
+ */
+ public Builder setModelValue(int value) {
+ model_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The model.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model getModel() {
+ com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model result =
+ com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model.forNumber(model_);
+ return result == null
+ ? com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model.UNRECOGNIZED
+ : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The model to set.
+ * @return This builder for chaining.
+ */
+ public Builder setModel(
+ com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
+ model_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearModel() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ model_ = 0;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.ConversationOptions)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOptionsOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOptionsOrBuilder.java
index 3c333dfd7101..7d1710e1411c 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOptionsOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOptionsOrBuilder.java
@@ -154,4 +154,49 @@ public interface ConversationOptionsOrBuilder
*
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the model field is set.
+ */
+ boolean hasModel();
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for model.
+ */
+ int getModelValue();
+
+ /**
+ *
+ *
+ *
+ * Optional. The model to use for the agent loop.
+ *
+ *
+ *
+ * optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The model.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model getModel();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOrBuilder.java
index 880603be731a..a32ca1e5b33c 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationOrBuilder.java
@@ -299,4 +299,90 @@ java.lang.String getLabelsOrDefault(
* map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return Whether the kmsKey field is set.
+ */
+ boolean hasKmsKey();
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The kmsKey.
+ */
+ java.lang.String getKmsKey();
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * Conversation resources. Encryption will happen at Titan layer, we will pass
+ * the KMS key to Titan.
+ *
+ * Format:
+ * projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
+ *
+ *
+ *
+ * optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for kmsKey.
+ */
+ com.google.protobuf.ByteString getKmsKeyBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether memory is paused for this conversation.
+ *
+ *
+ * optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the memoryPaused field is set.
+ */
+ boolean hasMemoryPaused();
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether memory is paused for this conversation.
+ *
+ *
+ * optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The memoryPaused.
+ */
+ boolean getMemoryPaused();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationProto.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationProto.java
index a4e17a0ebdbc..b3a49b5a2fa2 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationProto.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ConversationProto.java
@@ -81,7 +81,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ":google/cloud/geminidataanalytics/v1beta/conversation.proto\022\'google.cloud.gemin"
+ "idataanalytics.v1beta\032\037google/api/field_"
+ "behavior.proto\032\033google/api/field_info.pr"
- + "oto\032\031google/api/resource.proto\032\037google/protobuf/timestamp.proto\"\312\003\n"
+ + "oto\032\031google/api/resource.proto\032\037google/protobuf/timestamp.proto\"\312\004\n"
+ "\014Conversation\022\024\n"
+ "\004name\030\001 \001(\tB\006\340A\001\340A\010\022\023\n"
+ "\006agents\030\002 \003(\tB\003\340A\002\0224\n"
@@ -89,26 +89,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\016last_used_time\030\004"
+ " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022V\n"
+ "\006labels\030\t \003(\0132A.google.cloud.geminidataanal"
- + "ytics.v1beta.Conversation.LabelsEntryB\003\340A\001\032-\n"
+ + "ytics.v1beta.Conversation.LabelsEntryB\003\340A\001\022?\n"
+ + "\007kms_key\030\n"
+ + " \001(\tB)\340A\001\372A#\n"
+ + "!cloudkms.googleapis.com/CryptoKeyH\000\210\001\001\022\037\n\r"
+ + "memory_paused\030\013 \001(\010B\003\340A\001H\001\210\001\001\032-\n"
+ "\013LabelsEntry\022\013\n"
+ "\003key\030\001 \001(\t\022\r\n"
+ "\005value\030\002 \001(\t:\0028\001:\230\001\352A\224\001\n"
- + "/geminidataanalytics.googleapis.com/Conversation\022Dprojects/{pro"
- + "ject}/locations/{location}/conversations/{conversation}*\r"
- + "conversations2\014conversation\"\365\001\n"
+ + "/geminidataanalytics.googleapis.com/Conversat"
+ + "ion\022Dprojects/{project}/locations/{location}/conversations/{conversation}*\r"
+ + "conversations2\014conversationB\n\n"
+ + "\010_kms_keyB\020\n"
+ + "\016_memory_paused\"\365\001\n"
+ "\031CreateConversationRequest\022G\n"
+ "\006parent\030\001 \001("
+ "\tB7\340A\002\372A1\022/geminidataanalytics.googleapis.com/Conversation\022\034\n"
+ "\017conversation_id\030\002 \001(\tB\003\340A\001\022P\n"
- + "\014conversation\030\003 \001(\0132"
- + "5.google.cloud.geminidataanalytics.v1beta.ConversationB\003\340A\002\022\037\n\n"
+ + "\014conversation\030\003"
+ + " \001(\01325.google.cloud.geminidataanalytics.v1beta.ConversationB\003\340A\002\022\037\n\n"
+ "request_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"_\n"
+ "\026GetConversationRequest\022E\n"
+ "\004name\030\001 \001(\tB7\340A\002\372A1\n"
+ "/geminidataanalytics.googleapis.com/Conversation\"\251\001\n"
+ "\030ListConversationsRequest\022G\n"
- + "\006parent\030\001 \001(\tB7\340A\002\372"
- + "A1\022/geminidataanalytics.googleapis.com/Conversation\022\026\n"
+ + "\006parent\030\001 \001("
+ + "\tB7\340A\002\372A1\022/geminidataanalytics.googleapis.com/Conversation\022\026\n"
+ "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n"
+ "page_token\030\003 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\004 \001(\tB\003\340A\001\"\202\001\n"
@@ -118,13 +124,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\017next_page_token\030\002 \001(\t\"b\n"
+ "\031DeleteConversationRequest\022E\n"
+ "\004name\030\001 \001(\tB7\340A\002\372A1\n"
- + "/geminidataanalytics.googleapis.com/ConversationB\242\002\n"
- + "+com.google.cloud.geminidataanalytics.v1be"
- + "taB\021ConversationProtoP\001Z]cloud.google.com/go/geminidataanalytics/apiv1beta/gemin"
- + "idataanalyticspb;geminidataanalyticspb\252\002"
- + "\'Google.Cloud.GeminiDataAnalytics.V1Beta"
- + "\312\002\'Google\\Cloud\\GeminiDataAnalytics\\V1be"
- + "ta\352\002*Google::Cloud::GeminiDataAnalytics::V1betab\006proto3"
+ + "/geminidataanalytics.googleapis.com/ConversationB\265\003\n"
+ + "+com.google.cloud.geminidataanalytics.v1betaB\021ConversationProtoP\001Z]cloud.g"
+ + "oogle.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanaly"
+ + "ticspb\252\002\'Google.Cloud.GeminiDataAnalytic"
+ + "s.V1Beta\312\002\'Google\\Cloud\\GeminiDataAnalyt"
+ + "ics\\V1beta\352\002*Google::Cloud::GeminiDataAnalytics::V1beta\352A\217\001\n"
+ + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project}/locat"
+ + "ions/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}*\n"
+ + "cryptoKeys2\tcryptoKeyb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -141,7 +149,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_Conversation_descriptor,
new java.lang.String[] {
- "Name", "Agents", "CreateTime", "LastUsedTime", "Labels",
+ "Name", "Agents", "CreateTime", "LastUsedTime", "Labels", "KmsKey", "MemoryPaused",
});
internal_static_google_cloud_geminidataanalytics_v1beta_Conversation_LabelsEntry_descriptor =
internal_static_google_cloud_geminidataanalytics_v1beta_Conversation_descriptor
@@ -202,6 +210,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.FieldInfoProto.fieldInfo);
registry.add(com.google.api.ResourceProto.resource);
+ registry.add(com.google.api.ResourceProto.resourceDefinition);
registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgent.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgent.java
index 2000e1f99e6a..d32dc40a7ab2 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgent.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgent.java
@@ -55,6 +55,7 @@ private DataAgent() {
name_ = "";
displayName_ = "";
description_ = "";
+ kmsKey_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -724,6 +725,90 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
}
+ public static final int KMS_KEY_FIELD_NUMBER = 14;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object kmsKey_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return Whether the kmsKey field is set.
+ */
+ @java.lang.Override
+ public boolean hasKmsKey() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The kmsKey.
+ */
+ @java.lang.Override
+ public java.lang.String getKmsKey() {
+ java.lang.Object ref = kmsKey_;
+ 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();
+ kmsKey_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for kmsKey.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getKmsKeyBytes() {
+ java.lang.Object ref = kmsKey_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ kmsKey_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -761,6 +846,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(13, getPurgeTime());
}
+ if (((bitField0_ & 0x00000010) != 0)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 14, kmsKey_);
+ }
if (typeCase_ == 101) {
output.writeMessage(
101, (com.google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent) type_);
@@ -805,6 +893,9 @@ public int getSerializedSize() {
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getPurgeTime());
}
+ if (((bitField0_ & 0x00000010) != 0)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(14, kmsKey_);
+ }
if (typeCase_ == 101) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
@@ -846,6 +937,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasPurgeTime()) {
if (!getPurgeTime().equals(other.getPurgeTime())) return false;
}
+ if (hasKmsKey() != other.hasKmsKey()) return false;
+ if (hasKmsKey()) {
+ if (!getKmsKey().equals(other.getKmsKey())) return false;
+ }
if (!getTypeCase().equals(other.getTypeCase())) return false;
switch (typeCase_) {
case 101:
@@ -891,6 +986,10 @@ public int hashCode() {
hash = (37 * hash) + PURGE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getPurgeTime().hashCode();
}
+ if (hasKmsKey()) {
+ hash = (37 * hash) + KMS_KEY_FIELD_NUMBER;
+ hash = (53 * hash) + getKmsKey().hashCode();
+ }
switch (typeCase_) {
case 101:
hash = (37 * hash) + DATA_ANALYTICS_AGENT_FIELD_NUMBER;
@@ -1101,6 +1200,7 @@ public Builder clear() {
purgeTimeBuilder_.dispose();
purgeTimeBuilder_ = null;
}
+ kmsKey_ = "";
typeCase_ = 0;
type_ = null;
return this;
@@ -1170,6 +1270,10 @@ private void buildPartial0(com.google.cloud.geminidataanalytics.v1beta.DataAgent
result.purgeTime_ = purgeTimeBuilder_ == null ? purgeTime_ : purgeTimeBuilder_.build();
to_bitField0_ |= 0x00000008;
}
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.kmsKey_ = kmsKey_;
+ to_bitField0_ |= 0x00000010;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -1223,6 +1327,11 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.DataAgent o
if (other.hasPurgeTime()) {
mergePurgeTime(other.getPurgeTime());
}
+ if (other.hasKmsKey()) {
+ kmsKey_ = other.kmsKey_;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ }
switch (other.getTypeCase()) {
case DATA_ANALYTICS_AGENT:
{
@@ -1318,6 +1427,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000100;
break;
} // case 106
+ case 114:
+ {
+ kmsKey_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 114
case 810:
{
input.readMessage(
@@ -3079,6 +3194,162 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
return purgeTimeBuilder_;
}
+ private java.lang.Object kmsKey_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return Whether the kmsKey field is set.
+ */
+ public boolean hasKmsKey() {
+ return ((bitField0_ & 0x00000200) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The kmsKey.
+ */
+ public java.lang.String getKmsKey() {
+ java.lang.Object ref = kmsKey_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ kmsKey_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for kmsKey.
+ */
+ public com.google.protobuf.ByteString getKmsKeyBytes() {
+ java.lang.Object ref = kmsKey_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ kmsKey_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The kmsKey to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKmsKey(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ kmsKey_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearKmsKey() {
+ kmsKey_ = getDefaultInstance().getKmsKey();
+ bitField0_ = (bitField0_ & ~0x00000200);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for kmsKey to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ kmsKey_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.DataAgent)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentContext.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentContext.java
index db286b163c25..23daf9f35cac 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentContext.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentContext.java
@@ -313,7 +313,8 @@ public com.google.protobuf.ByteString getDataAgentBytes() {
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -322,12 +323,15 @@ public com.google.protobuf.ByteString getDataAgentBytes() {
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.DataAgentContext.credentials is deprecated.
+ * See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=436
* @return Whether the credentials field is set.
*/
@java.lang.Override
+ @java.lang.Deprecated
public boolean hasCredentials() {
return ((bitField0_ & 0x00000001) != 0);
}
@@ -336,7 +340,8 @@ public boolean hasCredentials() {
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -345,12 +350,15 @@ public boolean hasCredentials() {
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.DataAgentContext.credentials is deprecated.
+ * See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=436
* @return The credentials.
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials() {
return credentials_ == null
? com.google.cloud.geminidataanalytics.v1beta.Credentials.getDefaultInstance()
@@ -361,7 +369,8 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials()
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -370,10 +379,11 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials()
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder
getCredentialsOrBuilder() {
return credentials_ == null
@@ -945,7 +955,8 @@ public Builder setDataAgentBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -954,11 +965,14 @@ public Builder setDataAgentBytes(com.google.protobuf.ByteString value) {
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.DataAgentContext.credentials is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=436
* @return Whether the credentials field is set.
*/
+ @java.lang.Deprecated
public boolean hasCredentials() {
return ((bitField0_ & 0x00000002) != 0);
}
@@ -967,7 +981,8 @@ public boolean hasCredentials() {
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -976,11 +991,14 @@ public boolean hasCredentials() {
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.DataAgentContext.credentials is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=436
* @return The credentials.
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials() {
if (credentialsBuilder_ == null) {
return credentials_ == null
@@ -995,7 +1013,8 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials()
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1004,9 +1023,10 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials()
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public Builder setCredentials(com.google.cloud.geminidataanalytics.v1beta.Credentials value) {
if (credentialsBuilder_ == null) {
if (value == null) {
@@ -1025,7 +1045,8 @@ public Builder setCredentials(com.google.cloud.geminidataanalytics.v1beta.Creden
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1034,9 +1055,10 @@ public Builder setCredentials(com.google.cloud.geminidataanalytics.v1beta.Creden
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public Builder setCredentials(
com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder builderForValue) {
if (credentialsBuilder_ == null) {
@@ -1053,7 +1075,8 @@ public Builder setCredentials(
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1062,9 +1085,10 @@ public Builder setCredentials(
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public Builder mergeCredentials(com.google.cloud.geminidataanalytics.v1beta.Credentials value) {
if (credentialsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)
@@ -1089,7 +1113,8 @@ public Builder mergeCredentials(com.google.cloud.geminidataanalytics.v1beta.Cred
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1098,9 +1123,10 @@ public Builder mergeCredentials(com.google.cloud.geminidataanalytics.v1beta.Cred
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public Builder clearCredentials() {
bitField0_ = (bitField0_ & ~0x00000002);
credentials_ = null;
@@ -1116,7 +1142,8 @@ public Builder clearCredentials() {
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1125,9 +1152,10 @@ public Builder clearCredentials() {
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCredentialsBuilder() {
bitField0_ |= 0x00000002;
onChanged();
@@ -1138,7 +1166,8 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCreden
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1147,9 +1176,10 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCreden
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder
getCredentialsOrBuilder() {
if (credentialsBuilder_ != null) {
@@ -1165,7 +1195,8 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCreden
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1174,7 +1205,7 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCreden
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilder<
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentContextOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentContextOrBuilder.java
index 15347c1d3d9d..db2670f34dbe 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentContextOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentContextOrBuilder.java
@@ -60,7 +60,8 @@ public interface DataAgentContextOrBuilder
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -69,18 +70,22 @@ public interface DataAgentContextOrBuilder
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.DataAgentContext.credentials is deprecated.
+ * See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=436
* @return Whether the credentials field is set.
*/
+ @java.lang.Deprecated
boolean hasCredentials();
/**
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -89,18 +94,22 @@ public interface DataAgentContextOrBuilder
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.DataAgentContext.credentials is deprecated.
+ * See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=436
* @return The credentials.
*/
+ @java.lang.Deprecated
com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials();
/**
*
*
*
- * Optional. The credentials to use when calling the Looker data source.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker data source.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -109,9 +118,10 @@ public interface DataAgentContextOrBuilder
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder getCredentialsOrBuilder();
/**
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentOrBuilder.java
index 58e7fbec8ec3..e89255027360 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentOrBuilder.java
@@ -433,5 +433,59 @@ java.lang.String getLabelsOrDefault(
*/
com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return Whether the kmsKey field is set.
+ */
+ boolean hasKmsKey();
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The kmsKey.
+ */
+ java.lang.String getKmsKey();
+
+ /**
+ *
+ *
+ *
+ * Optional. Customer managed encryption key (CMEK) to use for encrypting the
+ * DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
+ * as the DataAgent. The expected format is
+ * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
+ *
+ *
+ *
+ * optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for kmsKey.
+ */
+ com.google.protobuf.ByteString getKmsKeyBytes();
+
com.google.cloud.geminidataanalytics.v1beta.DataAgent.TypeCase getTypeCase();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentProto.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentProto.java
index 657a8b7a4312..6e7bd5e92bcf 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentProto.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataAgentProto.java
@@ -62,7 +62,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ataanalytics.v1beta\032\037google/api/field_be"
+ "havior.proto\032\031google/api/resource.proto\032"
+ "Bgoogle/cloud/geminidataanalytics/v1beta"
- + "/data_analytics_agent.proto\032\037google/protobuf/timestamp.proto\"\243\005\n"
+ + "/data_analytics_agent.proto\032\037google/protobuf/timestamp.proto\"\360\005\n"
+ "\tDataAgent\022[\n"
+ "\024data_analytics_agent\030e \001(\0132;.google.cloud."
+ "geminidataanalytics.v1beta.DataAnalyticsAgentH\000\022\024\n"
@@ -76,19 +76,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013delete_time\030\014"
+ " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0223\n\n"
+ "purge_time\030\r"
- + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\032-\n"
+ + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022?\n"
+ + "\007kms_key\030\016 \001(\tB)\340A\001\372A#\n"
+ + "!cloudkms.googleapis.com/CryptoKeyH\001\210\001\001\032-\n"
+ "\013LabelsEntry\022\013\n"
+ "\003key\030\001 \001(\t\022\r\n"
+ "\005value\030\002 \001(\t:\0028\001:\212\001\352A\206\001\n"
- + ",geminidataanalytics.googleapis.com/DataAge"
- + "nt\022?projects/{project}/locations/{location}/dataAgents/{data_agent}*\n"
+ + ",geminidataanalytics.googleapis.com/DataAgent\022?projects/{p"
+ + "roject}/locations/{location}/dataAgents/{data_agent}*\n"
+ "dataAgents2\tdataAgentB\006\n"
- + "\004typeB\237\002\n"
- + "+com.google.cloud.geminidataanalytics.v1betaB\016DataAgentPro"
- + "toP\001Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;ge"
- + "minidataanalyticspb\252\002\'Google.Cloud.Gemin"
- + "iDataAnalytics.V1Beta\312\002\'Google\\Cloud\\Gem"
- + "iniDataAnalytics\\V1beta\352\002*Google::Cloud::GeminiDataAnalytics::V1betab\006proto3"
+ + "\004typeB\n\n"
+ + "\010_kms_keyB\237\002\n"
+ + "+com.google.cloud.geminidataanalytics.v1betaB\016DataAgentProtoP"
+ + "\001Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;gemin"
+ + "idataanalyticspb\252\002\'Google.Cloud.GeminiDa"
+ + "taAnalytics.V1Beta\312\002\'Google\\Cloud\\Gemini"
+ + "DataAnalytics\\V1beta\352\002*Google::Cloud::GeminiDataAnalytics::V1betab\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -114,6 +117,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UpdateTime",
"DeleteTime",
"PurgeTime",
+ "KmsKey",
"Type",
});
internal_static_google_cloud_geminidataanalytics_v1beta_DataAgent_LabelsEntry_descriptor =
@@ -134,6 +138,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.ResourceProto.resource);
+ registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceProto.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceProto.java
index 92e66569577e..893455ee23d4 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceProto.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceProto.java
@@ -57,9 +57,9 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_ParametersEntry_descriptor;
+ internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_Parameter_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_ParametersEntry_fieldAccessorTable;
+ internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_Parameter_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_geminidataanalytics_v1beta_QueryDataResponse_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -112,6 +112,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_geminidataanalytics_v1beta_Message_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_geminidataanalytics_v1beta_Message_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_LookerSettings_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_LookerSettings_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_geminidataanalytics_v1beta_UserMessage_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -232,25 +236,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\025datasource_references\030\001 \001(\0132=.google.cloud.gemin"
+ "idataanalytics.v1beta.DatasourceReferencesB\003\340A\002\022}\n"
+ "$parameterized_secure_view_parameters\030\002 \001(\0132J.google.cloud.geminidataa"
- + "nalytics.v1beta.ParameterizedSecureViewParametersB\003\340A\001\"\313\001\n"
- + "!ParameterizedSecureViewParameters\022s\n\n"
- + "parameters\030\001 \003(\0132Z.google.cloud.geminidataanalytics.v1beta.Param"
- + "eterizedSecureViewParameters.ParametersEntryB\003\340A\001\0321\n"
- + "\017ParametersEntry\022\013\n"
- + "\003key\030\001 \001(\t\022\r\n"
- + "\005value\030\002 \001(\t:\0028\001\"\336\001\n"
+ + "nalytics.v1beta.ParameterizedSecureViewParametersB\003\340A\001\"\305\001\n"
+ + "!ParameterizedSecureViewParameters\022m\n\n"
+ + "parameters\030\001 \003(\0132T.google.cloud.geminidataanalytics.v1beta.Param"
+ + "eterizedSecureViewParameters.ParameterB\003\340A\001\0321\n"
+ + "\tParameter\022\020\n"
+ + "\003key\030\001 \001(\tB\003\340A\002\022\022\n"
+ + "\005value\030\002 \001(\tB\003\340A\002\"\336\001\n"
+ "\021QueryDataResponse\022\027\n"
+ "\017generated_query\030\001 \001(\t\022\032\n"
+ "\022intent_explanation\030\002 \001(\t\022R\n"
- + "\014query_result\030\003 \001(\0132<."
- + "google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult\022\037\n"
+ + "\014query_result\030\003 \001(\0132<.google"
+ + ".cloud.geminidataanalytics.v1beta.ExecutedQueryResult\022\037\n"
+ "\027natural_language_answer\030\004 \001(\t\022\037\n"
+ "\027disambiguation_question\030\005 \003(\t\"\244\003\n"
+ "\023ExecutedQueryResult\022T\n"
- + "\007columns\030\001"
- + " \003(\0132C.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column\022N\n"
- + "\004rows\030\002"
- + " \003(\0132@.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row\022\027\n"
+ + "\007columns\030\001 \003(\013"
+ + "2C.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column\022N\n"
+ + "\004rows\030\002 "
+ + "\003(\0132@.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row\022\027\n"
+ "\017total_row_count\030\003 \001(\003\022\026\n"
+ "\016partial_result\030\004 \001(\010\022\035\n"
+ "\025query_execution_error\030\005 \001(\t\032$\n"
@@ -260,8 +264,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\005Value\022\r\n"
+ "\005value\030\001 \001(\t\032Y\n"
+ "\003Row\022R\n"
- + "\006values\030\001 \003(\013"
- + "2B.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Value\"\244\001\n"
+ + "\006values\030\001 \003(\0132B.goo"
+ + "gle.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Value\"\244\001\n"
+ "\023ListMessagesRequest\022G\n"
+ "\006parent\030\001 \001(\tB7\340A\002\372A1\n"
+ "/geminidataanalytics.googleapis.com/Conversation\022\026\n"
@@ -269,41 +273,52 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "page_token\030\004 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\005 \001(\tB\003\340A\001\"z\n"
+ "\024ListMessagesResponse\022I\n"
- + "\010messages\030\001 \003(\01327."
- + "google.cloud.geminidataanalytics.v1beta.StorageMessage\022\027\n"
+ + "\010messages\030\001 \003(\01327.google"
+ + ".cloud.geminidataanalytics.v1beta.StorageMessage\022\027\n"
+ "\017next_page_token\030\002 \001(\t\"g\n"
+ "\016StorageMessage\022\022\n\n"
+ "message_id\030\001 \001(\t\022A\n"
+ "\007message\030\002"
- + " \001(\01320.google.cloud.geminidataanalytics.v1beta.Message\"\372\005\n"
+ + " \001(\01320.google.cloud.geminidataanalytics.v1beta.Message\"\277\010\n"
+ "\013ChatRequest\022O\n"
- + "\016inline_context\030e \001(\01320.google.cloud."
- + "geminidataanalytics.v1beta.ContextB\003\340A\001H\000\022e\n"
- + "\026conversation_reference\030g \001(\0132>.goog"
- + "le.cloud.geminidataanalytics.v1beta.ConversationReferenceB\003\340A\001H\000\022\\\n"
- + "\022data_agent_context\030h \001(\01329.google.cloud.geminidataan"
- + "alytics.v1beta.DataAgentContextB\003\340A\001H\000\022u\n"
- + "\037client_managed_resource_context\030i \001(\0132"
- + "E.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextB\003\340A\001H\000\022F\n"
+ + "\016inline_context\030e"
+ + " \001(\01320.google.cloud.geminidataanalytics.v1beta.ContextB\003\340A\001H\000\022e\n"
+ + "\026conversation_reference\030g \001(\0132>.google.clo"
+ + "ud.geminidataanalytics.v1beta.ConversationReferenceB\003\340A\001H\000\022\\\n"
+ + "\022data_agent_context\030h"
+ + " \001(\01329.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\003\340A\001H\000\022u\n"
+ + "\037client_managed_resource_context\030i \001(\0132E.goog"
+ + "le.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextB\003\340A\001H\000\022W\n"
+ + "\017looker_settings\030\r"
+ + " \001(\01327.google.cloud.geminida"
+ + "taanalytics.v1beta.LookerSettingsB\003\340A\001H\001\022F\n"
+ "\007project\030\001 \001(\tB5\030\001\340A\001\372A-\n"
+ "+cloudresourcemanager.googleapis.com/Project\022\023\n"
+ "\006parent\030\003 \001(\tB\003\340A\002\022G\n"
- + "\010messages\030\002 \003(\01320.google.cl"
- + "oud.geminidataanalytics.v1beta.MessageB\003\340A\002\022]\n\r"
- + "thinking_mode\030\t \001(\0162A.google.clou"
- + "d.geminidataanalytics.v1beta.ChatRequest.ThinkingModeB\003\340A\001\"E\n"
+ + "\010messages\030\002 \003(\01320.google"
+ + ".cloud.geminidataanalytics.v1beta.MessageB\003\340A\002\022N\n"
+ + "\013credentials\030\007 \001(\01324.google.clo"
+ + "ud.geminidataanalytics.v1beta.CredentialsB\003\340A\001\022]\n\r"
+ + "thinking_mode\030\t \001(\0162A.google.c"
+ + "loud.geminidataanalytics.v1beta.ChatRequest.ThinkingModeB\003\340A\001\022N\n"
+ + "\005model\030\013 \001(\0162:.g"
+ + "oogle.cloud.geminidataanalytics.v1beta.ChatRequest.ModelB\003\340A\001\"E\n"
+ "\014ThinkingMode\022\035\n"
+ "\031THINKING_MODE_UNSPECIFIED\020\000\022\010\n"
+ "\004FAST\020\001\022\014\n"
- + "\010THINKING\020\002B\022\n"
- + "\020context_provider\"\343\002\n"
+ + "\010THINKING\020\002\"3\n"
+ + "\005Model\022\025\n"
+ + "\021MODEL_UNSPECIFIED\020\000\022\023\n"
+ + "\017LATEST_GA_MODEL\020\001B\022\n"
+ + "\020context_providerB\025\n"
+ + "\023datasource_settings\"\345\002\n"
+ "\020DataAgentContext\022H\n\n"
+ "data_agent\030\001 \001(\tB4\340A\002\372A.\n"
- + ",geminidataanalytics.googleapis.com/DataAgent\022N\n"
- + "\013credentials\030\002 \001(\01324.google.cloud"
- + ".geminidataanalytics.v1beta.CredentialsB\003\340A\001\022f\n"
- + "\017context_version\030\003 \001(\0162H.google.c"
- + "loud.geminidataanalytics.v1beta.DataAgentContext.ContextVersionB\003\340A\001\"M\n"
+ + ",geminidataanalytics.googleapis.com/DataAgent\022P\n"
+ + "\013credentials\030\002 \001(\01324.google.cloud."
+ + "geminidataanalytics.v1beta.CredentialsB\005\030\001\340A\001\022f\n"
+ + "\017context_version\030\003 \001(\0162H.google."
+ + "cloud.geminidataanalytics.v1beta.DataAgentContext.ContextVersionB\003\340A\001\"M\n"
+ "\016ContextVersion\022\037\n"
+ "\033CONTEXT_VERSION_UNSPECIFIED\020\000\022\013\n"
+ "\007STAGING\020\001\022\r\n"
@@ -311,88 +326,96 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\025ConversationReference\022M\n"
+ "\014conversation\030\001 \001(\tB7\340A\002\372A1\n"
+ "/geminidataanalytics.googleapis.com/Conversation\022Z\n"
- + "\022data_agent_context\030\003 \001(\013"
- + "29.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\003\340A\002\"\242\001\n"
+ + "\022data_agent_context\030\003 \001("
+ + "\01329.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\003\340A\002\"\242\001\n"
+ "\034ClientManagedResourceContext\022M\n"
- + "\016inline_context\030\001 \001("
- + "\01320.google.cloud.geminidataanalytics.v1beta.ContextB\003\340A\002\022\034\n"
+ + "\016inline_context\030\001 \001"
+ + "(\01320.google.cloud.geminidataanalytics.v1beta.ContextB\003\340A\002\022\034\n"
+ "\017conversation_id\030\002 \001(\tB\003\340A\001\022\025\n"
+ "\010agent_id\030\003 \001(\tB\003\340A\001\"\376\001\n"
+ "\007Message\022L\n"
- + "\014user_message\030\002 \001(\01324.google.cloud.g"
- + "eminidataanalytics.v1beta.UserMessageH\000\022P\n"
- + "\016system_message\030\003 \001(\01326.google.cloud.g"
- + "eminidataanalytics.v1beta.SystemMessageH\000\0222\n"
+ + "\014user_message\030\002 \001(\01324.google.cloud."
+ + "geminidataanalytics.v1beta.UserMessageH\000\022P\n"
+ + "\016system_message\030\003 \001(\01326.google.cloud."
+ + "geminidataanalytics.v1beta.SystemMessageH\000\0222\n"
+ "\ttimestamp\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\027\n\n"
+ "message_id\030\004 \001(\tB\003\340A\001B\006\n"
- + "\004kind\"%\n"
+ + "\004kind\".\n"
+ + "\016LookerSettings\022\034\n"
+ + "\017enable_dev_mode\030\001 \001(\010B\003\340A\001\"%\n"
+ "\013UserMessage\022\016\n"
+ "\004text\030\001 \001(\tH\000B\006\n"
- + "\004kind\"\245\005\n\r"
+ + "\004kind\"\361\005\n\r"
+ "SystemMessage\022D\n"
- + "\004text\030\001 \001(\01324."
- + "google.cloud.geminidataanalytics.v1beta.TextMessageH\000\022H\n"
- + "\006schema\030\002 \001(\01326.google.c"
- + "loud.geminidataanalytics.v1beta.SchemaMessageH\000\022D\n"
- + "\004data\030\003"
- + " \001(\01324.google.cloud.geminidataanalytics.v1beta.DataMessageH\000\022L\n"
- + "\010analysis\030\004"
- + " \001(\01328.google.cloud.geminidataanalytics.v1beta.AnalysisMessageH\000\022F\n"
+ + "\004text\030\001"
+ + " \001(\01324.google.cloud.geminidataanalytics.v1beta.TextMessageH\000\022H\n"
+ + "\006schema\030\002 \001(\01326"
+ + ".google.cloud.geminidataanalytics.v1beta.SchemaMessageH\000\022D\n"
+ + "\004data\030\003 \001(\01324.google."
+ + "cloud.geminidataanalytics.v1beta.DataMessageH\000\022L\n"
+ + "\010analysis\030\004 \001(\01328.google.cloud."
+ + "geminidataanalytics.v1beta.AnalysisMessageH\000\022F\n"
+ "\005chart\030\005"
+ " \001(\01325.google.cloud.geminidataanalytics.v1beta.ChartMessageH\000\022F\n"
- + "\005error\030\006 \001"
- + "(\01325.google.cloud.geminidataanalytics.v1beta.ErrorMessageH\000\022W\n"
+ + "\005error\030\006"
+ + " \001(\01325.google.cloud.geminidataanalytics.v1beta.ErrorMessageH\000\022W\n"
+ "\017example_queries\030\r"
- + " \001(\01327.google.cloud.geminidataanalytics.v1beta.ExampleQueriesB\003\340A\001H\000\022[\n\r"
- + "clarification\030\016 \001(\0132=.google.cloud.geminidataana"
- + "lytics.v1beta.ClarificationMessageB\003\340A\001H\000\022\025\n"
- + "\010group_id\030\014 \001(\005H\001\210\001\001B\006\n"
+ + " \001(\01327.google.cloud.geminidataanalytics.v1beta.ExampleQueriesB\003\340A\001H\000\022]\n"
+ + "\r"
+ + "clarification\030\016 \001(\0132=.google.cloud.gemi"
+ + "nidataanalytics.v1beta.ClarificationMessageB\005\030\001\340A\001H\000\022\025\n"
+ + "\010group_id\030\014 \001(\005H\001\210\001\001\022H\n"
+ + "\010citation\030\017"
+ + " \001(\01321.google.cloud.geminidataanalytics.v1beta.CitationB\003\340A\003B\006\n"
+ "\004kindB\013\n"
- + "\t_group_id\"\356\001\n"
+ + "\t_group_id\"\206\002\n"
+ "\013TextMessage\022\022\n"
+ "\005parts\030\001 \003(\tB\003\340A\001\022U\n"
- + "\ttext_type\030\002 \001(\0162=.google.cloud.gemi"
- + "nidataanalytics.v1beta.TextMessage.TextTypeB\003\340A\001\022\036\n"
- + "\021thought_signature\030\003 \001(\014B\003\340A\001\"T\n"
+ + "\ttext_type\030\002 \001(\0162=.google.cloud"
+ + ".geminidataanalytics.v1beta.TextMessage.TextTypeB\003\340A\001\022\036\n"
+ + "\021thought_signature\030\003 \001(\014B\003\340A\001\"l\n"
+ "\010TextType\022\031\n"
+ "\025TEXT_TYPE_UNSPECIFIED\020\000\022\022\n"
+ "\016FINAL_RESPONSE\020\001\022\013\n"
+ "\007THOUGHT\020\002\022\014\n"
- + "\010PROGRESS\020\003\"\247\001\n\r"
+ + "\010PROGRESS\020\003\022\026\n"
+ + "\022FOLLOWUP_QUESTIONS\020\004\"\247\001\n\r"
+ "SchemaMessage\022E\n"
- + "\005query\030\001 \001(\0132"
- + "4.google.cloud.geminidataanalytics.v1beta.SchemaQueryH\000\022G\n"
- + "\006result\030\002 \001(\01325.google"
- + ".cloud.geminidataanalytics.v1beta.SchemaResultH\000B\006\n"
+ + "\005query\030\001 \001(\01324.google.cl"
+ + "oud.geminidataanalytics.v1beta.SchemaQueryH\000\022G\n"
+ + "\006result\030\002"
+ + " \001(\01325.google.cloud.geminidataanalytics.v1beta.SchemaResultH\000B\006\n"
+ "\004kind\"$\n"
+ "\013SchemaQuery\022\025\n"
+ "\010question\030\001 \001(\tB\003\340A\001\"]\n"
+ "\014SchemaResult\022M\n"
- + "\013datasources\030\001"
- + " \003(\01323.google.cloud.geminidataanalytics.v1beta.DatasourceB\003\340A\001\"\345\002\n"
+ + "\013datasources\030\001 \003(\013"
+ + "23.google.cloud.geminidataanalytics.v1beta.DatasourceB\003\340A\001\"\265\003\n"
+ "\013DataMessage\022C\n"
+ "\005query\030\001"
+ " \001(\01322.google.cloud.geminidataanalytics.v1beta.DataQueryH\000\022\027\n\r"
+ "generated_sql\030\002 \001(\tH\000\022E\n"
- + "\006result\030\003 \001(\01323.go"
- + "ogle.cloud.geminidataanalytics.v1beta.DataResultH\000\022Z\n"
- + "\026generated_looker_query\030\004 \001"
- + "(\01324.google.cloud.geminidataanalytics.v1beta.LookerQueryB\002\030\001H\000\022M\n\r"
- + "big_query_job\030\005"
- + " \001(\01324.google.cloud.geminidataanalytics.v1beta.BigQueryJobH\000B\006\n"
+ + "\006result\030\003 \001(\01323.google.cloud."
+ + "geminidataanalytics.v1beta.DataResultH\000\022Z\n"
+ + "\026generated_looker_query\030\004 \001(\01324.google"
+ + ".cloud.geminidataanalytics.v1beta.LookerQueryB\002\030\001H\000\022M\n\r"
+ + "big_query_job\030\005 \001(\01324.goo"
+ + "gle.cloud.geminidataanalytics.v1beta.BigQueryJobH\000\022N\n\r"
+ + "matched_query\030\006 \001(\01325.goog"
+ + "le.cloud.geminidataanalytics.v1beta.MatchedQueryH\000B\006\n"
+ "\004kind\"\337\001\n"
+ "\tDataQuery\022K\n"
- + "\006looker\030\004 \001(\01324.google.cloud.gemin"
- + "idataanalytics.v1beta.LookerQueryB\003\340A\001H\000\022\025\n"
+ + "\006looker\030\004"
+ + " \001(\01324.google.cloud.geminidataanalytics.v1beta.LookerQueryB\003\340A\001H\000\022\025\n"
+ "\010question\030\001 \001(\tB\003\340A\001\022\021\n"
+ "\004name\030\003 \001(\tB\003\340A\001\022M\n"
- + "\013datasources\030\002 \003(\01323.google.cloud.g"
- + "eminidataanalytics.v1beta.DatasourceB\003\340A\001B\014\n\n"
+ + "\013datasources\030\002"
+ + " \003(\01323.google.cloud.geminidataanalytics.v1beta.DatasourceB\003\340A\001B\014\n\n"
+ "query_type\"\307\001\n\n"
+ "DataResult\022\021\n"
+ "\004name\030\003 \001(\tB\003\340A\001\022D\n"
- + "\006schema\030\005 \001(\0132/.google.cloud"
- + ".geminidataanalytics.v1beta.SchemaB\003\340A\001\022*\n"
+ + "\006schema\030\005"
+ + " \001(\0132/.google.cloud.geminidataanalytics.v1beta.SchemaB\003\340A\001\022*\n"
+ "\004data\030\002 \003(\0132\027.google.protobuf.StructB\003\340A\001\0224\n"
+ "\016formatted_data\030\006"
+ " \003(\0132\027.google.protobuf.StructB\003\340A\001\"\371\001\n"
@@ -400,15 +423,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "project_id\030\001 \001(\tB\003\340A\002\022\023\n"
+ "\006job_id\030\002 \001(\tB\003\340A\002\022\025\n"
+ "\010location\030\005 \001(\tB\003\340A\001\022_\n"
- + "\021destination_table\030\003 \001(\0132?.google.cloud.geminidataanaly"
- + "tics.v1beta.BigQueryTableReferenceB\003\340A\001\022D\n"
+ + "\021destination_table\030\003 \001(\0132?"
+ + ".google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\003\340A\001\022D\n"
+ "\006schema\030\007"
+ " \001(\0132/.google.cloud.geminidataanalytics.v1beta.SchemaB\003\340A\001\"\264\001\n"
+ "\017AnalysisMessage\022G\n"
- + "\005query\030\001 \001(\01326.google.cloud."
- + "geminidataanalytics.v1beta.AnalysisQueryH\000\022P\n"
- + "\016progress_event\030\002 \001(\01326.google.clou"
- + "d.geminidataanalytics.v1beta.AnalysisEventH\000B\006\n"
+ + "\005query\030\001"
+ + " \001(\01326.google.cloud.geminidataanalytics.v1beta.AnalysisQueryH\000\022P\n"
+ + "\016progress_event\030\002"
+ + " \001(\01326.google.cloud.geminidataanalytics.v1beta.AnalysisEventH\000B\006\n"
+ "\004kind\"F\n\r"
+ "AnalysisQuery\022\025\n"
+ "\010question\030\001 \001(\tB\003\340A\001\022\036\n"
@@ -429,36 +452,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\014ChartMessage\022D\n"
+ "\005query\030\001"
+ " \001(\01323.google.cloud.geminidataanalytics.v1beta.ChartQueryH\000\022F\n"
- + "\006result\030\002"
- + " \001(\01324.google.cloud.geminidataanalytics.v1beta.ChartResultH\000B\006\n"
+ + "\006result\030\002 \001(\01324."
+ + "google.cloud.geminidataanalytics.v1beta.ChartResultH\000B\006\n"
+ "\004kind\"F\n\n"
+ "ChartQuery\022\031\n"
+ "\014instructions\030\001 \001(\tB\003\340A\001\022\035\n"
+ "\020data_result_name\030\002 \001(\tB\003\340A\001\"\203\001\n"
+ "\013ChartResult\0221\n"
+ "\013vega_config\030\002 \001(\0132\027.google.protobuf.StructB\003\340A\001\022A\n"
- + "\005image\030\003 \001(\0132-.google.clou"
- + "d.geminidataanalytics.v1beta.BlobB\003\340A\001\"!\n"
+ + "\005image\030\003"
+ + " \001(\0132-.google.cloud.geminidataanalytics.v1beta.BlobB\003\340A\001\"!\n"
+ "\014ErrorMessage\022\021\n"
- + "\004text\030\001 \001(\tB\003\340A\003\"\363\003\n"
- + "\025ClarificationQuestion\022\025\n"
- + "\010question\030\001 \001(\tB\003\340A\002\022i\n"
- + "\016selection_mode\030\002 \001(\0162L.google.clou"
- + "d.geminidataanalytics.v1beta.ClarificationQuestion.SelectionModeB\003\340A\002\022\024\n"
- + "\007options\030\003 \003(\tB\003\340A\002\022\202\001\n"
- + "\033clarification_question_type\030\004 \001(\0162X.google.cloud.geminidataanaly"
- + "tics.v1beta.ClarificationQuestion.ClarificationQuestionTypeB\003\340A\001\"T\n\r"
- + "SelectionMode\022\036\n"
- + "\032SELECTION_MODE_UNSPECIFIED\020\000\022\021\n\r"
- + "SINGLE_SELECT\020\001\022\020\n"
- + "\014MULTI_SELECT\020\002\"g\n"
- + "\031ClarificationQuestionType\022+\n"
- + "\'CLARIFICATION_QUESTION_TYPE_UNSPECIFIED\020\000\022\021\n\r"
- + "FILTER_VALUES\020\001\022\n\n"
- + "\006FIELDS\020\002\"n\n"
- + "\024ClarificationMessage\022V\n"
- + "\tquestions\030\001 \003(\0132>.google.cloud.gemini"
- + "dataanalytics.v1beta.ClarificationQuestionB\003\340A\002\"e\n"
+ + "\004text\030\001 \001(\tB\003\340A\003\"\237\004\n"
+ + "\025ClarificationQuestion\022\027\n"
+ + "\010question\030\001 \001(\tB\005\030\001\340A\002\022k\n"
+ + "\016selection_mode\030\002 \001(\0162L.google.cloud.geminid"
+ + "ataanalytics.v1beta.ClarificationQuestion.SelectionModeB\005\030\001\340A\002\022\026\n"
+ + "\007options\030\003 \003(\tB\005\030\001\340A\002\022\204\001\n"
+ + "\033clarification_question_type\030\004 \001(\0162X.google.cloud.geminidataanalytics."
+ + "v1beta.ClarificationQuestion.ClarificationQuestionTypeB\005\030\001\340A\001\"d\n\r"
+ + "SelectionMode\022\"\n"
+ + "\032SELECTION_MODE_UNSPECIFIED\020\000\032\002\010\001\022\025\n\r"
+ + "SINGLE_SELECT\020\001\032\002\010\001\022\024\n"
+ + "\014MULTI_SELECT\020\002\032\002\010\001\032\002\030\001\"w\n"
+ + "\031ClarificationQuestionType\022/\n"
+ + "\'CLARIFICATION_QUESTION_TYPE_UNSPECIFIED\020\000\032\002\010\001\022\025\n\r"
+ + "FILTER_VALUES\020\001\032\002\010\001\022\016\n"
+ + "\006FIELDS\020\002\032\002\010\001\032\002\030\001:\002\030\001\"t\n"
+ + "\024ClarificationMessage\022X\n"
+ + "\tquestions\030\001 \003(\0132>.google.cloud.geminidataana"
+ + "lytics.v1beta.ClarificationQuestionB\005\030\001\340A\002:\002\030\001\"e\n"
+ "\016ExampleQueries\022S\n"
+ "\017example_queries\030\001"
+ " \003(\01325.google.cloud.geminidataanalytics.v1beta.ExampleQueryB\003\340A\001\"1\n"
@@ -466,42 +489,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\tmime_type\030\001 \001(\tB\003\340A\002\022\021\n"
+ "\004data\030\002 \001(\014B\003\340A\0022\256\014\n"
+ "\017DataChatService\022\251\001\n"
- + "\004Chat\0224.google.cloud.geminidataanalytics.v1beta.ChatReq"
- + "uest\0320.google.cloud.geminidataanalytics."
- + "v1beta.Message\"7\202\323\344\223\0021\",/v1beta/{parent=projects/*/locations/*}:chat:\001*0\001\022\202\002\n"
- + "\022CreateConversation\022B.google.cloud.geminida"
- + "taanalytics.v1beta.CreateConversationRequest\0325.google.cloud.geminidataanalytics."
- + "v1beta.Conversation\"q\332A#parent,conversat"
- + "ion,conversation_id\202\323\344\223\002E\"5/v1beta/{pare"
- + "nt=projects/*/locations/*}/conversations:\014conversation\022\266\001\n"
- + "\022DeleteConversation\022B.google.cloud.geminidataanalytics.v1beta."
- + "DeleteConversationRequest\032\026.google.proto"
- + "buf.Empty\"D\332A\004name\202\323\344\223\0027*5/v1beta/{name="
- + "projects/*/locations/*/conversations/*}\022\317\001\n"
- + "\017GetConversation\022?.google.cloud.geminidataanalytics.v1beta.GetConversationReq"
- + "uest\0325.google.cloud.geminidataanalytics."
- + "v1beta.Conversation\"D\332A\004name\202\323\344\223\0027\0225/v1b"
- + "eta/{name=projects/*/locations/*/conversations/*}\022\342\001\n"
- + "\021ListConversations\022A.google.cloud.geminidataanalytics.v1beta.ListCo"
- + "nversationsRequest\032B.google.cloud.geminidataanalytics.v1beta.ListConversationsRe"
- + "sponse\"F\332A\006parent\202\323\344\223\0027\0225/v1beta/{parent"
- + "=projects/*/locations/*}/conversations\022\336\001\n"
- + "\014ListMessages\022<.google.cloud.geminidat"
- + "aanalytics.v1beta.ListMessagesRequest\032=.google.cloud.geminidataanalytics.v1beta."
- + "ListMessagesResponse\"Q\332A\006parent\202\323\344\223\002B\022@/"
- + "v1beta/{parent=projects/*/locations/*/conversations/*}/messages\022\300\001\n"
- + "\tQueryData\0229.google.cloud.geminidataanalytics.v1beta."
- + "QueryDataRequest\032:.google.cloud.geminida"
- + "taanalytics.v1beta.QueryDataResponse\"<\202\323"
- + "\344\223\0026\"1/v1beta/{parent=projects/*/locatio"
- + "ns/*}:queryData:\001*\032V\312A\"geminidataanalyti"
- + "cs.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platformB\245\002\n"
- + "+com.google.cloud.geminidataanalytics.v1betaB\024Data"
- + "ChatServiceProtoP\001Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidata"
- + "analyticspb;geminidataanalyticspb\252\002\'Goog"
- + "le.Cloud.GeminiDataAnalytics.V1Beta\312\002\'Go"
- + "ogle\\Cloud\\GeminiDataAnalytics\\V1beta\352\002*"
- + "Google::Cloud::GeminiDataAnalytics::V1betab\006proto3"
+ + "\004Chat\0224.google.cloud.geminidataanalytics.v1beta.ChatRequ"
+ + "est\0320.google.cloud.geminidataanalytics.v"
+ + "1beta.Message\"7\202\323\344\223\0021\",/v1beta/{parent=projects/*/locations/*}:chat:\001*0\001\022\202\002\n"
+ + "\022CreateConversation\022B.google.cloud.geminidat"
+ + "aanalytics.v1beta.CreateConversationRequest\0325.google.cloud.geminidataanalytics.v"
+ + "1beta.Conversation\"q\332A#parent,conversati"
+ + "on,conversation_id\202\323\344\223\002E\"5/v1beta/{paren"
+ + "t=projects/*/locations/*}/conversations:\014conversation\022\266\001\n"
+ + "\022DeleteConversation\022B.google.cloud.geminidataanalytics.v1beta.D"
+ + "eleteConversationRequest\032\026.google.protob"
+ + "uf.Empty\"D\332A\004name\202\323\344\223\0027*5/v1beta/{name=p"
+ + "rojects/*/locations/*/conversations/*}\022\317\001\n"
+ + "\017GetConversation\022?.google.cloud.geminidataanalytics.v1beta.GetConversationRequ"
+ + "est\0325.google.cloud.geminidataanalytics.v"
+ + "1beta.Conversation\"D\332A\004name\202\323\344\223\0027\0225/v1be"
+ + "ta/{name=projects/*/locations/*/conversations/*}\022\342\001\n"
+ + "\021ListConversations\022A.google.cloud.geminidataanalytics.v1beta.ListCon"
+ + "versationsRequest\032B.google.cloud.geminidataanalytics.v1beta.ListConversationsRes"
+ + "ponse\"F\332A\006parent\202\323\344\223\0027\0225/v1beta/{parent="
+ + "projects/*/locations/*}/conversations\022\336\001\n"
+ + "\014ListMessages\022<.google.cloud.geminidata"
+ + "analytics.v1beta.ListMessagesRequest\032=.google.cloud.geminidataanalytics.v1beta.L"
+ + "istMessagesResponse\"Q\332A\006parent\202\323\344\223\002B\022@/v"
+ + "1beta/{parent=projects/*/locations/*/conversations/*}/messages\022\300\001\n"
+ + "\tQueryData\0229.google.cloud.geminidataanalytics.v1beta.Q"
+ + "ueryDataRequest\032:.google.cloud.geminidat"
+ + "aanalytics.v1beta.QueryDataResponse\"<\202\323\344"
+ + "\223\0026\"1/v1beta/{parent=projects/*/location"
+ + "s/*}:queryData:\001*\032V\312A\"geminidataanalytic"
+ + "s.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platformB\245\002\n"
+ + "+com.google.cloud.geminidataanalytics.v1betaB\024DataC"
+ + "hatServiceProtoP\001Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataa"
+ + "nalyticspb;geminidataanalyticspb\252\002\'Googl"
+ + "e.Cloud.GeminiDataAnalytics.V1Beta\312\002\'Goo"
+ + "gle\\Cloud\\GeminiDataAnalytics\\V1beta\352\002*G"
+ + "oogle::Cloud::GeminiDataAnalytics::V1betab\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -554,12 +577,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Parameters",
});
- internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_ParametersEntry_descriptor =
+ internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_Parameter_descriptor =
internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_descriptor
.getNestedType(0);
- internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_ParametersEntry_fieldAccessorTable =
+ internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_Parameter_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_ParametersEntry_descriptor,
+ internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_Parameter_descriptor,
new java.lang.String[] {
"Key", "Value",
});
@@ -644,11 +667,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ConversationReference",
"DataAgentContext",
"ClientManagedResourceContext",
+ "LookerSettings",
"Project",
"Parent",
"Messages",
+ "Credentials",
"ThinkingMode",
+ "Model",
"ContextProvider",
+ "DatasourceSettings",
});
internal_static_google_cloud_geminidataanalytics_v1beta_DataAgentContext_descriptor =
getDescriptor().getMessageType(10);
@@ -682,8 +709,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"UserMessage", "SystemMessage", "Timestamp", "MessageId", "Kind",
});
- internal_static_google_cloud_geminidataanalytics_v1beta_UserMessage_descriptor =
+ internal_static_google_cloud_geminidataanalytics_v1beta_LookerSettings_descriptor =
getDescriptor().getMessageType(14);
+ internal_static_google_cloud_geminidataanalytics_v1beta_LookerSettings_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_LookerSettings_descriptor,
+ new java.lang.String[] {
+ "EnableDevMode",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_UserMessage_descriptor =
+ getDescriptor().getMessageType(15);
internal_static_google_cloud_geminidataanalytics_v1beta_UserMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_UserMessage_descriptor,
@@ -691,7 +726,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Text", "Kind",
});
internal_static_google_cloud_geminidataanalytics_v1beta_SystemMessage_descriptor =
- getDescriptor().getMessageType(15);
+ getDescriptor().getMessageType(16);
internal_static_google_cloud_geminidataanalytics_v1beta_SystemMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_SystemMessage_descriptor,
@@ -705,10 +740,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ExampleQueries",
"Clarification",
"GroupId",
+ "Citation",
"Kind",
});
internal_static_google_cloud_geminidataanalytics_v1beta_TextMessage_descriptor =
- getDescriptor().getMessageType(16);
+ getDescriptor().getMessageType(17);
internal_static_google_cloud_geminidataanalytics_v1beta_TextMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_TextMessage_descriptor,
@@ -716,7 +752,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parts", "TextType", "ThoughtSignature",
});
internal_static_google_cloud_geminidataanalytics_v1beta_SchemaMessage_descriptor =
- getDescriptor().getMessageType(17);
+ getDescriptor().getMessageType(18);
internal_static_google_cloud_geminidataanalytics_v1beta_SchemaMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_SchemaMessage_descriptor,
@@ -724,7 +760,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Query", "Result", "Kind",
});
internal_static_google_cloud_geminidataanalytics_v1beta_SchemaQuery_descriptor =
- getDescriptor().getMessageType(18);
+ getDescriptor().getMessageType(19);
internal_static_google_cloud_geminidataanalytics_v1beta_SchemaQuery_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_SchemaQuery_descriptor,
@@ -732,7 +768,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Question",
});
internal_static_google_cloud_geminidataanalytics_v1beta_SchemaResult_descriptor =
- getDescriptor().getMessageType(19);
+ getDescriptor().getMessageType(20);
internal_static_google_cloud_geminidataanalytics_v1beta_SchemaResult_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_SchemaResult_descriptor,
@@ -740,15 +776,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Datasources",
});
internal_static_google_cloud_geminidataanalytics_v1beta_DataMessage_descriptor =
- getDescriptor().getMessageType(20);
+ getDescriptor().getMessageType(21);
internal_static_google_cloud_geminidataanalytics_v1beta_DataMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_DataMessage_descriptor,
new java.lang.String[] {
- "Query", "GeneratedSql", "Result", "GeneratedLookerQuery", "BigQueryJob", "Kind",
+ "Query",
+ "GeneratedSql",
+ "Result",
+ "GeneratedLookerQuery",
+ "BigQueryJob",
+ "MatchedQuery",
+ "Kind",
});
internal_static_google_cloud_geminidataanalytics_v1beta_DataQuery_descriptor =
- getDescriptor().getMessageType(21);
+ getDescriptor().getMessageType(22);
internal_static_google_cloud_geminidataanalytics_v1beta_DataQuery_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_DataQuery_descriptor,
@@ -756,7 +798,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Looker", "Question", "Name", "Datasources", "QueryType",
});
internal_static_google_cloud_geminidataanalytics_v1beta_DataResult_descriptor =
- getDescriptor().getMessageType(22);
+ getDescriptor().getMessageType(23);
internal_static_google_cloud_geminidataanalytics_v1beta_DataResult_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_DataResult_descriptor,
@@ -764,7 +806,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "Schema", "Data", "FormattedData",
});
internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryJob_descriptor =
- getDescriptor().getMessageType(23);
+ getDescriptor().getMessageType(24);
internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryJob_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryJob_descriptor,
@@ -772,7 +814,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ProjectId", "JobId", "Location", "DestinationTable", "Schema",
});
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisMessage_descriptor =
- getDescriptor().getMessageType(24);
+ getDescriptor().getMessageType(25);
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisMessage_descriptor,
@@ -780,7 +822,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Query", "ProgressEvent", "Kind",
});
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisQuery_descriptor =
- getDescriptor().getMessageType(25);
+ getDescriptor().getMessageType(26);
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisQuery_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisQuery_descriptor,
@@ -788,7 +830,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Question", "DataResultNames",
});
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisEvent_descriptor =
- getDescriptor().getMessageType(26);
+ getDescriptor().getMessageType(27);
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisEvent_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisEvent_descriptor,
@@ -806,7 +848,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Kind",
});
internal_static_google_cloud_geminidataanalytics_v1beta_ChartMessage_descriptor =
- getDescriptor().getMessageType(27);
+ getDescriptor().getMessageType(28);
internal_static_google_cloud_geminidataanalytics_v1beta_ChartMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_ChartMessage_descriptor,
@@ -814,7 +856,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Query", "Result", "Kind",
});
internal_static_google_cloud_geminidataanalytics_v1beta_ChartQuery_descriptor =
- getDescriptor().getMessageType(28);
+ getDescriptor().getMessageType(29);
internal_static_google_cloud_geminidataanalytics_v1beta_ChartQuery_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_ChartQuery_descriptor,
@@ -822,7 +864,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Instructions", "DataResultName",
});
internal_static_google_cloud_geminidataanalytics_v1beta_ChartResult_descriptor =
- getDescriptor().getMessageType(29);
+ getDescriptor().getMessageType(30);
internal_static_google_cloud_geminidataanalytics_v1beta_ChartResult_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_ChartResult_descriptor,
@@ -830,7 +872,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"VegaConfig", "Image",
});
internal_static_google_cloud_geminidataanalytics_v1beta_ErrorMessage_descriptor =
- getDescriptor().getMessageType(30);
+ getDescriptor().getMessageType(31);
internal_static_google_cloud_geminidataanalytics_v1beta_ErrorMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_ErrorMessage_descriptor,
@@ -838,7 +880,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Text",
});
internal_static_google_cloud_geminidataanalytics_v1beta_ClarificationQuestion_descriptor =
- getDescriptor().getMessageType(31);
+ getDescriptor().getMessageType(32);
internal_static_google_cloud_geminidataanalytics_v1beta_ClarificationQuestion_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_ClarificationQuestion_descriptor,
@@ -846,7 +888,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Question", "SelectionMode", "Options", "ClarificationQuestionType",
});
internal_static_google_cloud_geminidataanalytics_v1beta_ClarificationMessage_descriptor =
- getDescriptor().getMessageType(32);
+ getDescriptor().getMessageType(33);
internal_static_google_cloud_geminidataanalytics_v1beta_ClarificationMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_ClarificationMessage_descriptor,
@@ -854,7 +896,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Questions",
});
internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQueries_descriptor =
- getDescriptor().getMessageType(33);
+ getDescriptor().getMessageType(34);
internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQueries_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQueries_descriptor,
@@ -862,7 +904,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ExampleQueries",
});
internal_static_google_cloud_geminidataanalytics_v1beta_Blob_descriptor =
- getDescriptor().getMessageType(34);
+ getDescriptor().getMessageType(35);
internal_static_google_cloud_geminidataanalytics_v1beta_Blob_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_Blob_descriptor,
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataMessage.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataMessage.java
index 8c7b298ba72a..58983e0aeba8 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataMessage.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataMessage.java
@@ -83,6 +83,7 @@ public enum KindCase
@java.lang.Deprecated
GENERATED_LOOKER_QUERY(4),
BIG_QUERY_JOB(5),
+ MATCHED_QUERY(6),
KIND_NOT_SET(0);
private final int value;
@@ -112,6 +113,8 @@ public static KindCase forNumber(int value) {
return GENERATED_LOOKER_QUERY;
case 5:
return BIG_QUERY_JOB;
+ case 6:
+ return MATCHED_QUERY;
case 0:
return KIND_NOT_SET;
default:
@@ -315,8 +318,8 @@ public com.google.cloud.geminidataanalytics.v1beta.DataResultOrBuilder getResult
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -324,7 +327,7 @@ public com.google.cloud.geminidataanalytics.v1beta.DataResultOrBuilder getResult
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.DataMessage.generated_looker_query is
- * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=575
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=637
* @return Whether the generatedLookerQuery field is set.
*/
@java.lang.Override
@@ -337,8 +340,8 @@ public boolean hasGeneratedLookerQuery() {
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -346,7 +349,7 @@ public boolean hasGeneratedLookerQuery() {
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.DataMessage.generated_looker_query is
- * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=575
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=637
* @return The generatedLookerQuery.
*/
@java.lang.Override
@@ -362,8 +365,8 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerQuery getGeneratedLooke
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -435,6 +438,61 @@ public com.google.cloud.geminidataanalytics.v1beta.BigQueryJob getBigQueryJob()
return com.google.cloud.geminidataanalytics.v1beta.BigQueryJob.getDefaultInstance();
}
+ public static final int MATCHED_QUERY_FIELD_NUMBER = 6;
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ *
+ * @return Whether the matchedQuery field is set.
+ */
+ @java.lang.Override
+ public boolean hasMatchedQuery() {
+ return kindCase_ == 6;
+ }
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ *
+ * @return The matchedQuery.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.MatchedQuery getMatchedQuery() {
+ if (kindCase_ == 6) {
+ return (com.google.cloud.geminidataanalytics.v1beta.MatchedQuery) kind_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.MatchedQueryOrBuilder
+ getMatchedQueryOrBuilder() {
+ if (kindCase_ == 6) {
+ return (com.google.cloud.geminidataanalytics.v1beta.MatchedQuery) kind_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.getDefaultInstance();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -464,6 +522,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (kindCase_ == 5) {
output.writeMessage(5, (com.google.cloud.geminidataanalytics.v1beta.BigQueryJob) kind_);
}
+ if (kindCase_ == 6) {
+ output.writeMessage(6, (com.google.cloud.geminidataanalytics.v1beta.MatchedQuery) kind_);
+ }
getUnknownFields().writeTo(output);
}
@@ -496,6 +557,11 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
5, (com.google.cloud.geminidataanalytics.v1beta.BigQueryJob) kind_);
}
+ if (kindCase_ == 6) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 6, (com.google.cloud.geminidataanalytics.v1beta.MatchedQuery) kind_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -529,6 +595,9 @@ public boolean equals(final java.lang.Object obj) {
case 5:
if (!getBigQueryJob().equals(other.getBigQueryJob())) return false;
break;
+ case 6:
+ if (!getMatchedQuery().equals(other.getMatchedQuery())) return false;
+ break;
case 0:
default:
}
@@ -564,6 +633,10 @@ public int hashCode() {
hash = (37 * hash) + BIG_QUERY_JOB_FIELD_NUMBER;
hash = (53 * hash) + getBigQueryJob().hashCode();
break;
+ case 6:
+ hash = (37 * hash) + MATCHED_QUERY_FIELD_NUMBER;
+ hash = (53 * hash) + getMatchedQuery().hashCode();
+ break;
case 0:
default:
}
@@ -720,6 +793,9 @@ public Builder clear() {
if (bigQueryJobBuilder_ != null) {
bigQueryJobBuilder_.clear();
}
+ if (matchedQueryBuilder_ != null) {
+ matchedQueryBuilder_.clear();
+ }
kindCase_ = 0;
kind_ = null;
return this;
@@ -777,6 +853,9 @@ private void buildPartialOneofs(
if (kindCase_ == 5 && bigQueryJobBuilder_ != null) {
result.kind_ = bigQueryJobBuilder_.build();
}
+ if (kindCase_ == 6 && matchedQueryBuilder_ != null) {
+ result.kind_ = matchedQueryBuilder_.build();
+ }
}
@java.lang.Override
@@ -820,6 +899,11 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.DataMessage
mergeBigQueryJob(other.getBigQueryJob());
break;
}
+ case MATCHED_QUERY:
+ {
+ mergeMatchedQuery(other.getMatchedQuery());
+ break;
+ }
case KIND_NOT_SET:
{
break;
@@ -884,6 +968,13 @@ public Builder mergeFrom(
kindCase_ = 5;
break;
} // case 42
+ case 50:
+ {
+ input.readMessage(
+ internalGetMatchedQueryFieldBuilder().getBuilder(), extensionRegistry);
+ kindCase_ = 6;
+ break;
+ } // case 50
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1504,8 +1595,8 @@ public com.google.cloud.geminidataanalytics.v1beta.DataResultOrBuilder getResult
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -1513,7 +1604,7 @@ public com.google.cloud.geminidataanalytics.v1beta.DataResultOrBuilder getResult
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.DataMessage.generated_looker_query is
- * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=575
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=637
* @return Whether the generatedLookerQuery field is set.
*/
@java.lang.Override
@@ -1526,8 +1617,8 @@ public boolean hasGeneratedLookerQuery() {
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -1535,7 +1626,7 @@ public boolean hasGeneratedLookerQuery() {
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.DataMessage.generated_looker_query is
- * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=575
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=637
* @return The generatedLookerQuery.
*/
@java.lang.Override
@@ -1558,8 +1649,8 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerQuery getGeneratedLooke
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -1586,8 +1677,8 @@ public Builder setGeneratedLookerQuery(
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -1611,8 +1702,8 @@ public Builder setGeneratedLookerQuery(
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -1650,8 +1741,8 @@ public Builder mergeGeneratedLookerQuery(
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -1680,8 +1771,8 @@ public Builder clearGeneratedLookerQuery() {
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -1698,8 +1789,8 @@ public Builder clearGeneratedLookerQuery() {
*
*
*
*/
public com.google.protobuf.Struct.Builder getStructSchemaBuilder() {
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return internalGetStructSchemaFieldBuilder().getBuilder();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceOrBuilder.java
index 21652a4d40eb..ef418850414e 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceOrBuilder.java
@@ -270,6 +270,51 @@ public interface DatasourceOrBuilder
com.google.cloud.geminidataanalytics.v1beta.CloudSqlReferenceOrBuilder
getCloudSqlReferenceOrBuilder();
+ /**
+ *
+ *
+ *
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -1724,8 +1815,8 @@ public Builder clearGeneratedLookerQuery() {
*
*
*
*/
public Builder clearStructSchema() {
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000100);
structSchema_ = null;
if (structSchemaBuilder_ != null) {
structSchemaBuilder_.dispose();
@@ -2963,7 +3325,7 @@ public Builder clearStructSchema() {
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -1976,6 +2067,228 @@ public com.google.cloud.geminidataanalytics.v1beta.BigQueryJob.Builder getBigQue
return bigQueryJobBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery,
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQueryOrBuilder>
+ matchedQueryBuilder_;
+
+ /**
+ *
+ *
+ *
*/
public com.google.cloud.geminidataanalytics.v1beta.Schema.Builder getSchemaBuilder() {
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return internalGetSchemaFieldBuilder().getBuilder();
}
@@ -2802,7 +3164,7 @@ public com.google.cloud.geminidataanalytics.v1beta.SchemaOrBuilder getSchemaOrBu
* @return Whether the structSchema field is set.
*/
public boolean hasStructSchema() {
- return ((bitField0_ & 0x00000080) != 0);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
@@ -2856,7 +3218,7 @@ public Builder setStructSchema(com.google.protobuf.Struct value) {
} else {
structSchemaBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -2882,7 +3244,7 @@ public Builder setStructSchema(com.google.protobuf.Struct.Builder builderForValu
} else {
structSchemaBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -2904,7 +3266,7 @@ public Builder setStructSchema(com.google.protobuf.Struct.Builder builderForValu
*/
public Builder mergeStructSchema(com.google.protobuf.Struct value) {
if (structSchemaBuilder_ == null) {
- if (((bitField0_ & 0x00000080) != 0)
+ if (((bitField0_ & 0x00000100) != 0)
&& structSchema_ != null
&& structSchema_ != com.google.protobuf.Struct.getDefaultInstance()) {
getStructSchemaBuilder().mergeFrom(value);
@@ -2915,7 +3277,7 @@ public Builder mergeStructSchema(com.google.protobuf.Struct value) {
structSchemaBuilder_.mergeFrom(value);
}
if (structSchema_ != null) {
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
}
return this;
@@ -2937,7 +3299,7 @@ public Builder mergeStructSchema(com.google.protobuf.Struct value) {
*
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ *
+ * @return Whether the matchedQuery field is set.
+ */
+ @java.lang.Override
+ public boolean hasMatchedQuery() {
+ return kindCase_ == 6;
+ }
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ *
+ * @return The matchedQuery.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.MatchedQuery getMatchedQuery() {
+ if (matchedQueryBuilder_ == null) {
+ if (kindCase_ == 6) {
+ return (com.google.cloud.geminidataanalytics.v1beta.MatchedQuery) kind_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.getDefaultInstance();
+ } else {
+ if (kindCase_ == 6) {
+ return matchedQueryBuilder_.getMessage();
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ */
+ public Builder setMatchedQuery(com.google.cloud.geminidataanalytics.v1beta.MatchedQuery value) {
+ if (matchedQueryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ kind_ = value;
+ onChanged();
+ } else {
+ matchedQueryBuilder_.setMessage(value);
+ }
+ kindCase_ = 6;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ */
+ public Builder setMatchedQuery(
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.Builder builderForValue) {
+ if (matchedQueryBuilder_ == null) {
+ kind_ = builderForValue.build();
+ onChanged();
+ } else {
+ matchedQueryBuilder_.setMessage(builderForValue.build());
+ }
+ kindCase_ = 6;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ */
+ public Builder mergeMatchedQuery(
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery value) {
+ if (matchedQueryBuilder_ == null) {
+ if (kindCase_ == 6
+ && kind_
+ != com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.getDefaultInstance()) {
+ kind_ =
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.newBuilder(
+ (com.google.cloud.geminidataanalytics.v1beta.MatchedQuery) kind_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ kind_ = value;
+ }
+ onChanged();
+ } else {
+ if (kindCase_ == 6) {
+ matchedQueryBuilder_.mergeFrom(value);
+ } else {
+ matchedQueryBuilder_.setMessage(value);
+ }
+ }
+ kindCase_ = 6;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ */
+ public Builder clearMatchedQuery() {
+ if (matchedQueryBuilder_ == null) {
+ if (kindCase_ == 6) {
+ kindCase_ = 0;
+ kind_ = null;
+ onChanged();
+ }
+ } else {
+ if (kindCase_ == 6) {
+ kindCase_ = 0;
+ kind_ = null;
+ }
+ matchedQueryBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.Builder
+ getMatchedQueryBuilder() {
+ return internalGetMatchedQueryFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.MatchedQueryOrBuilder
+ getMatchedQueryOrBuilder() {
+ if ((kindCase_ == 6) && (matchedQueryBuilder_ != null)) {
+ return matchedQueryBuilder_.getMessageOrBuilder();
+ } else {
+ if (kindCase_ == 6) {
+ return (com.google.cloud.geminidataanalytics.v1beta.MatchedQuery) kind_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery,
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQueryOrBuilder>
+ internalGetMatchedQueryFieldBuilder() {
+ if (matchedQueryBuilder_ == null) {
+ if (!(kindCase_ == 6)) {
+ kind_ = com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.getDefaultInstance();
+ }
+ matchedQueryBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery,
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQueryOrBuilder>(
+ (com.google.cloud.geminidataanalytics.v1beta.MatchedQuery) kind_,
+ getParentForChildren(),
+ isClean());
+ kind_ = null;
+ }
+ kindCase_ = 6;
+ onChanged();
+ return matchedQueryBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.DataMessage)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataMessageOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataMessageOrBuilder.java
index cbeac7fd424e..b8eadc54d9f5 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataMessageOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataMessageOrBuilder.java
@@ -143,8 +143,8 @@ public interface DataMessageOrBuilder
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -152,7 +152,7 @@ public interface DataMessageOrBuilder
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.DataMessage.generated_looker_query is
- * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=575
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=637
* @return Whether the generatedLookerQuery field is set.
*/
@java.lang.Deprecated
@@ -162,8 +162,8 @@ public interface DataMessageOrBuilder
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -171,7 +171,7 @@ public interface DataMessageOrBuilder
*
*
* @deprecated google.cloud.geminidataanalytics.v1beta.DataMessage.generated_looker_query is
- * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=575
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=637
* @return The generatedLookerQuery.
*/
@java.lang.Deprecated
@@ -181,8 +181,8 @@ public interface DataMessageOrBuilder
*
*
*
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
*
*
@@ -230,5 +230,42 @@ public interface DataMessageOrBuilder
*/
com.google.cloud.geminidataanalytics.v1beta.BigQueryJobOrBuilder getBigQueryJobOrBuilder();
+ /**
+ *
+ *
+ *
*/
public Builder clearSchema() {
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000080);
schema_ = null;
if (schemaBuilder_ != null) {
schemaBuilder_.dispose();
@@ -2723,7 +3085,7 @@ public Builder clearSchema() {
*
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ *
+ * @return Whether the matchedQuery field is set.
+ */
+ boolean hasMatchedQuery();
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ *
+ * @return The matchedQuery.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery getMatchedQuery();
+
+ /**
+ *
+ *
+ *
+ * A pre-existing query that was matched to retrieve data.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ */
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQueryOrBuilder getMatchedQueryOrBuilder();
+
com.google.cloud.geminidataanalytics.v1beta.DataMessage.KindCase getKindCase();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatabaseTableReference.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatabaseTableReference.java
new file mode 100644
index 000000000000..d9d1cbbe07b0
--- /dev/null
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatabaseTableReference.java
@@ -0,0 +1,1099 @@
+/*
+ * 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/geminidataanalytics/v1beta/datasource.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.geminidataanalytics.v1beta;
+
+/**
+ *
+ *
+ *
+ * Message representing a table including its schema.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.DatabaseTableReference}
+ */
+@com.google.protobuf.Generated
+public final class DatabaseTableReference extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.DatabaseTableReference)
+ DatabaseTableReferenceOrBuilder {
+ 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= */ "",
+ "DatabaseTableReference");
+ }
+
+ // Use DatabaseTableReference.newBuilder() to construct.
+ private DatabaseTableReference(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private DatabaseTableReference() {
+ tableId_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.DatasourceProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_DatabaseTableReference_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.DatasourceProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_DatabaseTableReference_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.class,
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int TABLE_ID_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object tableId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the table as defined in the database.
+ *
+ * Note: The precise rules for table naming, including valid characters,
+ * length limits, and case sensitivity, are determined by the specific
+ * database system.
+ *
+ * Requirements:
+ * - Exact Match: The provided name must be identical to the name stored
+ * in the database.
+ * - Case Sensitivity: Respect the case sensitivity rules of the specific
+ * database system and how the table was created. For example, "Orders"
+ * and "orders" may be distinct table names.
+ * - Special Characters/Keywords: If the table name includes spaces, special
+ * characters, or is a database reserved keyword, provide the literal name
+ * as it is stored. Do not add any database-specific identifier quoting
+ * characters (e.g., ", `, []).
+ *
+ * Examples:
+ * - Simple name: "orders", "UserActivity"
+ * - Case sensitive: "MyTable"
+ * - Name with spaces: "Order Details"
+ * - Name with other special characters: "user/data", "order-items"
+ * - Name that is a keyword: "Group", "Order"
+ *
+ * Permissions: The caller's credentials must have the necessary database
+ * permissions to access the table's schema and data.
+ *
+ *
+ * string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The tableId.
+ */
+ @java.lang.Override
+ public java.lang.String getTableId() {
+ java.lang.Object ref = tableId_;
+ 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();
+ tableId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the table as defined in the database.
+ *
+ * Note: The precise rules for table naming, including valid characters,
+ * length limits, and case sensitivity, are determined by the specific
+ * database system.
+ *
+ * Requirements:
+ * - Exact Match: The provided name must be identical to the name stored
+ * in the database.
+ * - Case Sensitivity: Respect the case sensitivity rules of the specific
+ * database system and how the table was created. For example, "Orders"
+ * and "orders" may be distinct table names.
+ * - Special Characters/Keywords: If the table name includes spaces, special
+ * characters, or is a database reserved keyword, provide the literal name
+ * as it is stored. Do not add any database-specific identifier quoting
+ * characters (e.g., ", `, []).
+ *
+ * Examples:
+ * - Simple name: "orders", "UserActivity"
+ * - Case sensitive: "MyTable"
+ * - Name with spaces: "Order Details"
+ * - Name with other special characters: "user/data", "order-items"
+ * - Name that is a keyword: "Group", "Order"
+ *
+ * Permissions: The caller's credentials must have the necessary database
+ * permissions to access the table's schema and data.
+ *
+ *
+ * string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for tableId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getTableIdBytes() {
+ java.lang.Object ref = tableId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ tableId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SCHEMA_FIELD_NUMBER = 2;
+ private com.google.cloud.geminidataanalytics.v1beta.Schema schema_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the schema field is set.
+ */
+ @java.lang.Override
+ public boolean hasSchema() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The schema.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.Schema getSchema() {
+ return schema_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.Schema.getDefaultInstance()
+ : schema_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.SchemaOrBuilder getSchemaOrBuilder() {
+ return schema_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.Schema.getDefaultInstance()
+ : schema_;
+ }
+
+ 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(tableId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, tableId_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(2, getSchema());
+ }
+ 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(tableId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tableId_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema());
+ }
+ 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.geminidataanalytics.v1beta.DatabaseTableReference)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference other =
+ (com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference) obj;
+
+ if (!getTableId().equals(other.getTableId())) return false;
+ if (hasSchema() != other.hasSchema()) return false;
+ if (hasSchema()) {
+ if (!getSchema().equals(other.getSchema())) 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) + TABLE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getTableId().hashCode();
+ if (hasSchema()) {
+ hash = (37 * hash) + SCHEMA_FIELD_NUMBER;
+ hash = (53 * hash) + getSchema().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference 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.geminidataanalytics.v1beta.DatabaseTableReference parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference 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.geminidataanalytics.v1beta.DatabaseTableReference parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference 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.geminidataanalytics.v1beta.DatabaseTableReference
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ 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.geminidataanalytics.v1beta.DatabaseTableReference parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference 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.geminidataanalytics.v1beta.DatabaseTableReference 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * Message representing a table including its schema.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.DatabaseTableReference}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Required. The name of the table as defined in the database.
+ *
+ * Note: The precise rules for table naming, including valid characters,
+ * length limits, and case sensitivity, are determined by the specific
+ * database system.
+ *
+ * Requirements:
+ * - Exact Match: The provided name must be identical to the name stored
+ * in the database.
+ * - Case Sensitivity: Respect the case sensitivity rules of the specific
+ * database system and how the table was created. For example, "Orders"
+ * and "orders" may be distinct table names.
+ * - Special Characters/Keywords: If the table name includes spaces, special
+ * characters, or is a database reserved keyword, provide the literal name
+ * as it is stored. Do not add any database-specific identifier quoting
+ * characters (e.g., ", `, []).
+ *
+ * Examples:
+ * - Simple name: "orders", "UserActivity"
+ * - Case sensitive: "MyTable"
+ * - Name with spaces: "Order Details"
+ * - Name with other special characters: "user/data", "order-items"
+ * - Name that is a keyword: "Group", "Order"
+ *
+ * Permissions: The caller's credentials must have the necessary database
+ * permissions to access the table's schema and data.
+ *
+ *
+ * string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The tableId.
+ */
+ public java.lang.String getTableId() {
+ java.lang.Object ref = tableId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ tableId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the table as defined in the database.
+ *
+ * Note: The precise rules for table naming, including valid characters,
+ * length limits, and case sensitivity, are determined by the specific
+ * database system.
+ *
+ * Requirements:
+ * - Exact Match: The provided name must be identical to the name stored
+ * in the database.
+ * - Case Sensitivity: Respect the case sensitivity rules of the specific
+ * database system and how the table was created. For example, "Orders"
+ * and "orders" may be distinct table names.
+ * - Special Characters/Keywords: If the table name includes spaces, special
+ * characters, or is a database reserved keyword, provide the literal name
+ * as it is stored. Do not add any database-specific identifier quoting
+ * characters (e.g., ", `, []).
+ *
+ * Examples:
+ * - Simple name: "orders", "UserActivity"
+ * - Case sensitive: "MyTable"
+ * - Name with spaces: "Order Details"
+ * - Name with other special characters: "user/data", "order-items"
+ * - Name that is a keyword: "Group", "Order"
+ *
+ * Permissions: The caller's credentials must have the necessary database
+ * permissions to access the table's schema and data.
+ *
+ *
+ * string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for tableId.
+ */
+ public com.google.protobuf.ByteString getTableIdBytes() {
+ java.lang.Object ref = tableId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ tableId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the table as defined in the database.
+ *
+ * Note: The precise rules for table naming, including valid characters,
+ * length limits, and case sensitivity, are determined by the specific
+ * database system.
+ *
+ * Requirements:
+ * - Exact Match: The provided name must be identical to the name stored
+ * in the database.
+ * - Case Sensitivity: Respect the case sensitivity rules of the specific
+ * database system and how the table was created. For example, "Orders"
+ * and "orders" may be distinct table names.
+ * - Special Characters/Keywords: If the table name includes spaces, special
+ * characters, or is a database reserved keyword, provide the literal name
+ * as it is stored. Do not add any database-specific identifier quoting
+ * characters (e.g., ", `, []).
+ *
+ * Examples:
+ * - Simple name: "orders", "UserActivity"
+ * - Case sensitive: "MyTable"
+ * - Name with spaces: "Order Details"
+ * - Name with other special characters: "user/data", "order-items"
+ * - Name that is a keyword: "Group", "Order"
+ *
+ * Permissions: The caller's credentials must have the necessary database
+ * permissions to access the table's schema and data.
+ *
+ *
+ * string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The tableId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTableId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ tableId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the table as defined in the database.
+ *
+ * Note: The precise rules for table naming, including valid characters,
+ * length limits, and case sensitivity, are determined by the specific
+ * database system.
+ *
+ * Requirements:
+ * - Exact Match: The provided name must be identical to the name stored
+ * in the database.
+ * - Case Sensitivity: Respect the case sensitivity rules of the specific
+ * database system and how the table was created. For example, "Orders"
+ * and "orders" may be distinct table names.
+ * - Special Characters/Keywords: If the table name includes spaces, special
+ * characters, or is a database reserved keyword, provide the literal name
+ * as it is stored. Do not add any database-specific identifier quoting
+ * characters (e.g., ", `, []).
+ *
+ * Examples:
+ * - Simple name: "orders", "UserActivity"
+ * - Case sensitive: "MyTable"
+ * - Name with spaces: "Order Details"
+ * - Name with other special characters: "user/data", "order-items"
+ * - Name that is a keyword: "Group", "Order"
+ *
+ * Permissions: The caller's credentials must have the necessary database
+ * permissions to access the table's schema and data.
+ *
+ *
+ * string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTableId() {
+ tableId_ = getDefaultInstance().getTableId();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the table as defined in the database.
+ *
+ * Note: The precise rules for table naming, including valid characters,
+ * length limits, and case sensitivity, are determined by the specific
+ * database system.
+ *
+ * Requirements:
+ * - Exact Match: The provided name must be identical to the name stored
+ * in the database.
+ * - Case Sensitivity: Respect the case sensitivity rules of the specific
+ * database system and how the table was created. For example, "Orders"
+ * and "orders" may be distinct table names.
+ * - Special Characters/Keywords: If the table name includes spaces, special
+ * characters, or is a database reserved keyword, provide the literal name
+ * as it is stored. Do not add any database-specific identifier quoting
+ * characters (e.g., ", `, []).
+ *
+ * Examples:
+ * - Simple name: "orders", "UserActivity"
+ * - Case sensitive: "MyTable"
+ * - Name with spaces: "Order Details"
+ * - Name with other special characters: "user/data", "order-items"
+ * - Name that is a keyword: "Group", "Order"
+ *
+ * Permissions: The caller's credentials must have the necessary database
+ * permissions to access the table's schema and data.
+ *
+ *
+ * string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for tableId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ tableId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private com.google.cloud.geminidataanalytics.v1beta.Schema schema_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.Schema,
+ com.google.cloud.geminidataanalytics.v1beta.Schema.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.SchemaOrBuilder>
+ schemaBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the schema field is set.
+ */
+ public boolean hasSchema() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The schema.
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.Schema getSchema() {
+ if (schemaBuilder_ == null) {
+ return schema_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.Schema.getDefaultInstance()
+ : schema_;
+ } else {
+ return schemaBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setSchema(com.google.cloud.geminidataanalytics.v1beta.Schema value) {
+ if (schemaBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ schema_ = value;
+ } else {
+ schemaBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setSchema(
+ com.google.cloud.geminidataanalytics.v1beta.Schema.Builder builderForValue) {
+ if (schemaBuilder_ == null) {
+ schema_ = builderForValue.build();
+ } else {
+ schemaBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeSchema(com.google.cloud.geminidataanalytics.v1beta.Schema value) {
+ if (schemaBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && schema_ != null
+ && schema_ != com.google.cloud.geminidataanalytics.v1beta.Schema.getDefaultInstance()) {
+ getSchemaBuilder().mergeFrom(value);
+ } else {
+ schema_ = value;
+ }
+ } else {
+ schemaBuilder_.mergeFrom(value);
+ }
+ if (schema_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearSchema() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ schema_ = null;
+ if (schemaBuilder_ != null) {
+ schemaBuilder_.dispose();
+ schemaBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.Schema.Builder getSchemaBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return internalGetSchemaFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.SchemaOrBuilder getSchemaOrBuilder() {
+ if (schemaBuilder_ != null) {
+ return schemaBuilder_.getMessageOrBuilder();
+ } else {
+ return schema_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.Schema.getDefaultInstance()
+ : schema_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.Schema,
+ com.google.cloud.geminidataanalytics.v1beta.Schema.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.SchemaOrBuilder>
+ internalGetSchemaFieldBuilder() {
+ if (schemaBuilder_ == null) {
+ schemaBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.Schema,
+ com.google.cloud.geminidataanalytics.v1beta.Schema.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.SchemaOrBuilder>(
+ getSchema(), getParentForChildren(), isClean());
+ schema_ = null;
+ }
+ return schemaBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.DatabaseTableReference)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1beta.DatabaseTableReference)
+ private static final com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference();
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The name of the table as defined in the database.
+ *
+ * Note: The precise rules for table naming, including valid characters,
+ * length limits, and case sensitivity, are determined by the specific
+ * database system.
+ *
+ * Requirements:
+ * - Exact Match: The provided name must be identical to the name stored
+ * in the database.
+ * - Case Sensitivity: Respect the case sensitivity rules of the specific
+ * database system and how the table was created. For example, "Orders"
+ * and "orders" may be distinct table names.
+ * - Special Characters/Keywords: If the table name includes spaces, special
+ * characters, or is a database reserved keyword, provide the literal name
+ * as it is stored. Do not add any database-specific identifier quoting
+ * characters (e.g., ", `, []).
+ *
+ * Examples:
+ * - Simple name: "orders", "UserActivity"
+ * - Case sensitive: "MyTable"
+ * - Name with spaces: "Order Details"
+ * - Name with other special characters: "user/data", "order-items"
+ * - Name that is a keyword: "Group", "Order"
+ *
+ * Permissions: The caller's credentials must have the necessary database
+ * permissions to access the table's schema and data.
+ *
+ *
+ * string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The tableId.
+ */
+ java.lang.String getTableId();
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the table as defined in the database.
+ *
+ * Note: The precise rules for table naming, including valid characters,
+ * length limits, and case sensitivity, are determined by the specific
+ * database system.
+ *
+ * Requirements:
+ * - Exact Match: The provided name must be identical to the name stored
+ * in the database.
+ * - Case Sensitivity: Respect the case sensitivity rules of the specific
+ * database system and how the table was created. For example, "Orders"
+ * and "orders" may be distinct table names.
+ * - Special Characters/Keywords: If the table name includes spaces, special
+ * characters, or is a database reserved keyword, provide the literal name
+ * as it is stored. Do not add any database-specific identifier quoting
+ * characters (e.g., ", `, []).
+ *
+ * Examples:
+ * - Simple name: "orders", "UserActivity"
+ * - Case sensitive: "MyTable"
+ * - Name with spaces: "Order Details"
+ * - Name with other special characters: "user/data", "order-items"
+ * - Name that is a keyword: "Group", "Order"
+ *
+ * Permissions: The caller's credentials must have the necessary database
+ * permissions to access the table's schema and data.
+ *
+ *
+ * string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for tableId.
+ */
+ com.google.protobuf.ByteString getTableIdBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the schema field is set.
+ */
+ boolean hasSchema();
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The schema.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.Schema getSchema();
+
+ /**
+ *
+ *
+ *
+ * Optional. The schema of the table.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.SchemaOrBuilder getSchemaOrBuilder();
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Datasource.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Datasource.java
index 6b021e3e327f..6f030b7eebda 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Datasource.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Datasource.java
@@ -84,6 +84,7 @@ public enum ReferenceCase
ALLOY_DB_REFERENCE(12),
SPANNER_REFERENCE(13),
CLOUD_SQL_REFERENCE(14),
+ BIGQUERY_PROPERTY_GRAPH_REFERENCE(16),
REFERENCE_NOT_SET(0);
private final int value;
@@ -115,6 +116,8 @@ public static ReferenceCase forNumber(int value) {
return SPANNER_REFERENCE;
case 14:
return CLOUD_SQL_REFERENCE;
+ case 16:
+ return BIGQUERY_PROPERTY_GRAPH_REFERENCE;
case 0:
return REFERENCE_NOT_SET;
default:
@@ -496,6 +499,72 @@ public com.google.cloud.geminidataanalytics.v1beta.CloudSqlReference getCloudSql
return com.google.cloud.geminidataanalytics.v1beta.CloudSqlReference.getDefaultInstance();
}
+ public static final int BIGQUERY_PROPERTY_GRAPH_REFERENCE_FIELD_NUMBER = 16;
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ *
+ * @return Whether the bigqueryPropertyGraphReference field is set.
+ */
+ @java.lang.Override
+ public boolean hasBigqueryPropertyGraphReference() {
+ return referenceCase_ == 16;
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ *
+ * @return The bigqueryPropertyGraphReference.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ getBigqueryPropertyGraphReference() {
+ if (referenceCase_ == 16) {
+ return (com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)
+ reference_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ .getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder
+ getBigqueryPropertyGraphReferenceOrBuilder() {
+ if (referenceCase_ == 16) {
+ return (com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)
+ reference_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ .getDefaultInstance();
+ }
+
public static final int SCHEMA_FIELD_NUMBER = 7;
private com.google.cloud.geminidataanalytics.v1beta.Schema schema_;
@@ -665,6 +734,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
output.writeMessage(
14, (com.google.cloud.geminidataanalytics.v1beta.CloudSqlReference) reference_);
}
+ if (referenceCase_ == 16) {
+ output.writeMessage(
+ 16,
+ (com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference) reference_);
+ }
getUnknownFields().writeTo(output);
}
@@ -708,6 +782,13 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
14, (com.google.cloud.geminidataanalytics.v1beta.CloudSqlReference) reference_);
}
+ if (referenceCase_ == 16) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 16,
+ (com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)
+ reference_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -752,6 +833,10 @@ public boolean equals(final java.lang.Object obj) {
case 14:
if (!getCloudSqlReference().equals(other.getCloudSqlReference())) return false;
break;
+ case 16:
+ if (!getBigqueryPropertyGraphReference().equals(other.getBigqueryPropertyGraphReference()))
+ return false;
+ break;
case 0:
default:
}
@@ -799,6 +884,10 @@ public int hashCode() {
hash = (37 * hash) + CLOUD_SQL_REFERENCE_FIELD_NUMBER;
hash = (53 * hash) + getCloudSqlReference().hashCode();
break;
+ case 16:
+ hash = (37 * hash) + BIGQUERY_PROPERTY_GRAPH_REFERENCE_FIELD_NUMBER;
+ hash = (53 * hash) + getBigqueryPropertyGraphReference().hashCode();
+ break;
case 0:
default:
}
@@ -968,6 +1057,9 @@ public Builder clear() {
if (cloudSqlReferenceBuilder_ != null) {
cloudSqlReferenceBuilder_.clear();
}
+ if (bigqueryPropertyGraphReferenceBuilder_ != null) {
+ bigqueryPropertyGraphReferenceBuilder_.clear();
+ }
schema_ = null;
if (schemaBuilder_ != null) {
schemaBuilder_.dispose();
@@ -1018,11 +1110,11 @@ public com.google.cloud.geminidataanalytics.v1beta.Datasource buildPartial() {
private void buildPartial0(com.google.cloud.geminidataanalytics.v1beta.Datasource result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000040) != 0)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build();
to_bitField0_ |= 0x00000001;
}
- if (((from_bitField0_ & 0x00000080) != 0)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
result.structSchema_ =
structSchemaBuilder_ == null ? structSchema_ : structSchemaBuilder_.build();
to_bitField0_ |= 0x00000002;
@@ -1048,6 +1140,9 @@ private void buildPartialOneofs(com.google.cloud.geminidataanalytics.v1beta.Data
if (referenceCase_ == 14 && cloudSqlReferenceBuilder_ != null) {
result.reference_ = cloudSqlReferenceBuilder_.build();
}
+ if (referenceCase_ == 16 && bigqueryPropertyGraphReferenceBuilder_ != null) {
+ result.reference_ = bigqueryPropertyGraphReferenceBuilder_.build();
+ }
}
@java.lang.Override
@@ -1102,6 +1197,11 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.Datasource
mergeCloudSqlReference(other.getCloudSqlReference());
break;
}
+ case BIGQUERY_PROPERTY_GRAPH_REFERENCE:
+ {
+ mergeBigqueryPropertyGraphReference(other.getBigqueryPropertyGraphReference());
+ break;
+ }
case REFERENCE_NOT_SET:
{
break;
@@ -1159,14 +1259,14 @@ public Builder mergeFrom(
case 58:
{
input.readMessage(internalGetSchemaFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
break;
} // case 58
case 82:
{
input.readMessage(
internalGetStructSchemaFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
break;
} // case 82
case 98:
@@ -1190,6 +1290,14 @@ public Builder mergeFrom(
referenceCase_ = 14;
break;
} // case 114
+ case 130:
+ {
+ input.readMessage(
+ internalGetBigqueryPropertyGraphReferenceFieldBuilder().getBuilder(),
+ extensionRegistry);
+ referenceCase_ = 16;
+ break;
+ } // case 130
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -2564,6 +2672,260 @@ public Builder clearCloudSqlReference() {
return cloudSqlReferenceBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder>
+ bigqueryPropertyGraphReferenceBuilder_;
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ *
+ * @return Whether the bigqueryPropertyGraphReference field is set.
+ */
+ @java.lang.Override
+ public boolean hasBigqueryPropertyGraphReference() {
+ return referenceCase_ == 16;
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ *
+ * @return The bigqueryPropertyGraphReference.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ getBigqueryPropertyGraphReference() {
+ if (bigqueryPropertyGraphReferenceBuilder_ == null) {
+ if (referenceCase_ == 16) {
+ return (com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)
+ reference_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ .getDefaultInstance();
+ } else {
+ if (referenceCase_ == 16) {
+ return bigqueryPropertyGraphReferenceBuilder_.getMessage();
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ */
+ public Builder setBigqueryPropertyGraphReference(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference value) {
+ if (bigqueryPropertyGraphReferenceBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ reference_ = value;
+ onChanged();
+ } else {
+ bigqueryPropertyGraphReferenceBuilder_.setMessage(value);
+ }
+ referenceCase_ = 16;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ */
+ public Builder setBigqueryPropertyGraphReference(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder
+ builderForValue) {
+ if (bigqueryPropertyGraphReferenceBuilder_ == null) {
+ reference_ = builderForValue.build();
+ onChanged();
+ } else {
+ bigqueryPropertyGraphReferenceBuilder_.setMessage(builderForValue.build());
+ }
+ referenceCase_ = 16;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ */
+ public Builder mergeBigqueryPropertyGraphReference(
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference value) {
+ if (bigqueryPropertyGraphReferenceBuilder_ == null) {
+ if (referenceCase_ == 16
+ && reference_
+ != com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ .getDefaultInstance()) {
+ reference_ =
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.newBuilder(
+ (com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)
+ reference_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ reference_ = value;
+ }
+ onChanged();
+ } else {
+ if (referenceCase_ == 16) {
+ bigqueryPropertyGraphReferenceBuilder_.mergeFrom(value);
+ } else {
+ bigqueryPropertyGraphReferenceBuilder_.setMessage(value);
+ }
+ }
+ referenceCase_ = 16;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ */
+ public Builder clearBigqueryPropertyGraphReference() {
+ if (bigqueryPropertyGraphReferenceBuilder_ == null) {
+ if (referenceCase_ == 16) {
+ referenceCase_ = 0;
+ reference_ = null;
+ onChanged();
+ }
+ } else {
+ if (referenceCase_ == 16) {
+ referenceCase_ = 0;
+ reference_ = null;
+ }
+ bigqueryPropertyGraphReferenceBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder
+ getBigqueryPropertyGraphReferenceBuilder() {
+ return internalGetBigqueryPropertyGraphReferenceFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder
+ getBigqueryPropertyGraphReferenceOrBuilder() {
+ if ((referenceCase_ == 16) && (bigqueryPropertyGraphReferenceBuilder_ != null)) {
+ return bigqueryPropertyGraphReferenceBuilder_.getMessageOrBuilder();
+ } else {
+ if (referenceCase_ == 16) {
+ return (com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)
+ reference_;
+ }
+ return com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder>
+ internalGetBigqueryPropertyGraphReferenceFieldBuilder() {
+ if (bigqueryPropertyGraphReferenceBuilder_ == null) {
+ if (!(referenceCase_ == 16)) {
+ reference_ =
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ .getDefaultInstance();
+ }
+ bigqueryPropertyGraphReferenceBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference,
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference.Builder,
+ com.google.cloud.geminidataanalytics.v1beta
+ .BigQueryPropertyGraphReferenceOrBuilder>(
+ (com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference)
+ reference_,
+ getParentForChildren(),
+ isClean());
+ reference_ = null;
+ }
+ referenceCase_ = 16;
+ onChanged();
+ return bigqueryPropertyGraphReferenceBuilder_;
+ }
+
private com.google.cloud.geminidataanalytics.v1beta.Schema schema_;
private com.google.protobuf.SingleFieldBuilder<
com.google.cloud.geminidataanalytics.v1beta.Schema,
@@ -2585,7 +2947,7 @@ public Builder clearCloudSqlReference() {
* @return Whether the schema field is set.
*/
public boolean hasSchema() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
@@ -2631,7 +2993,7 @@ public Builder setSchema(com.google.cloud.geminidataanalytics.v1beta.Schema valu
} else {
schemaBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -2654,7 +3016,7 @@ public Builder setSchema(
} else {
schemaBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -2672,7 +3034,7 @@ public Builder setSchema(
*/
public Builder mergeSchema(com.google.cloud.geminidataanalytics.v1beta.Schema value) {
if (schemaBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0)
+ if (((bitField0_ & 0x00000080) != 0)
&& schema_ != null
&& schema_ != com.google.cloud.geminidataanalytics.v1beta.Schema.getDefaultInstance()) {
getSchemaBuilder().mergeFrom(value);
@@ -2683,7 +3045,7 @@ public Builder mergeSchema(com.google.cloud.geminidataanalytics.v1beta.Schema va
schemaBuilder_.mergeFrom(value);
}
if (schema_ != null) {
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
}
return this;
@@ -2701,7 +3063,7 @@ public Builder mergeSchema(com.google.cloud.geminidataanalytics.v1beta.Schema va
*
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ *
+ * @return Whether the bigqueryPropertyGraphReference field is set.
+ */
+ boolean hasBigqueryPropertyGraphReference();
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ *
+ * @return The bigqueryPropertyGraphReference.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ getBigqueryPropertyGraphReference();
+
+ /**
+ *
+ *
+ *
+ * A reference to a BigQuery property graph.
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceOrBuilder
+ getBigqueryPropertyGraphReferenceOrBuilder();
+
/**
*
*
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceProto.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceProto.java
index af9b0cca1ecb..450a3f85d674 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceProto.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceProto.java
@@ -64,6 +64,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_geminidataanalytics_v1beta_AlloyDbReference_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_geminidataanalytics_v1beta_AlloyDbReference_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_DatabaseTableReference_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_DatabaseTableReference_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_geminidataanalytics_v1beta_AlloyDbDatabaseReference_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -92,6 +96,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_geminidataanalytics_v1beta_LookerExploreReference_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_geminidataanalytics_v1beta_LookerExploreReference_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryPropertyGraphReference_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryPropertyGraphReference_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_geminidataanalytics_v1beta_PrivateLookerInstanceInfo_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -140,99 +148,118 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "eminidataanalytics.v1beta.SpannerReferenceH\000\022Y\n"
+ "\023cloud_sql_reference\030\n"
+ " \001(\0132:.google.cloud.geminidataanalytics.v1beta.CloudSqlReferenceH\000B\014\n\n"
- + "references\"y\n"
+ + "references\"\352\001\n"
+ "\027BigQueryTableReferences\022^\n"
- + "\020table_references\030\001 \003"
- + "(\0132?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\003\340A\001\"\247\001\n"
+ + "\020table_references\030\001 "
+ + "\003(\0132?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\003\340A\001\022o\n"
+ + "\031property_graph_references\030\002 \003(\0132G.google.cl"
+ + "oud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceB\003\340A\001\"\247\001\n"
+ "\026BigQueryTableReference\022\027\n\n"
+ "project_id\030\001 \001(\tB\003\340A\002\022\027\n\n"
+ "dataset_id\030\003 \001(\tB\003\340A\002\022\025\n"
+ "\010table_id\030\004 \001(\tB\003\340A\002\022D\n"
- + "\006schema\030\006 \001(\0132/.google.cl"
- + "oud.geminidataanalytics.v1beta.SchemaB\003\340A\001\"{\n"
- + "\032StudioDatasourceReferences\022]\n"
- + "\021studio_references\030\002 \003(\0132B.google.cloud.gemin"
- + "idataanalytics.v1beta.StudioDatasourceReference\"7\n"
+ + "\006schema\030\006"
+ + " \001(\0132/.google.cloud.geminidataanalytics.v1beta.SchemaB\003\340A\001\"\200\001\n"
+ + "\032StudioDatasourceReferences\022b\n"
+ + "\021studio_references\030\002 \003(\0132B.google.cloud.geminidata"
+ + "analytics.v1beta.StudioDatasourceReferenceB\003\340A\001\"7\n"
+ "\031StudioDatasourceReference\022\032\n\r"
+ "datasource_id\030\001 \001(\tB\003\340A\002\"\334\001\n"
+ "\020AlloyDbReference\022b\n"
+ "\022database_reference\030\001 \001(\0132A.goog"
+ "le.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReferenceB\003\340A\002\022d\n"
+ "\027agent_context_reference\030\003 \001(\0132>.google.cloud.gemini"
- + "dataanalytics.v1beta.AgentContextReferenceB\003\340A\001\"\255\001\n"
+ + "dataanalytics.v1beta.AgentContextReferenceB\003\340A\001\"u\n"
+ + "\026DatabaseTableReference\022\025\n"
+ + "\010table_id\030\001 \001(\tB\003\340A\002\022D\n"
+ + "\006schema\030\002 \001(\0132/.googl"
+ + "e.cloud.geminidataanalytics.v1beta.SchemaB\003\340A\001\"\226\002\n"
+ "\030AlloyDbDatabaseReference\022\027\n\n"
+ "project_id\030\001 \001(\tB\003\340A\002\022\023\n"
+ "\006region\030\002 \001(\tB\003\340A\002\022\027\n\n"
+ "cluster_id\030\003 \001(\tB\003\340A\002\022\030\n"
+ "\013instance_id\030\004 \001(\tB\003\340A\002\022\030\n"
+ "\013database_id\030\005 \001(\tB\003\340A\002\022\026\n"
- + "\ttable_ids\030\006 \003(\tB\003\340A\001\"\334\001\n"
+ + "\ttable_ids\030\006 \003(\tB\003\340A\001\022g\n"
+ + "\031database_table_references\030\007 \003(\0132?.google.cloud.geminid"
+ + "ataanalytics.v1beta.DatabaseTableReferenceB\003\340A\001\"\334\001\n"
+ "\020SpannerReference\022b\n"
- + "\022database_reference\030\001 \001(\0132A.googl"
- + "e.cloud.geminidataanalytics.v1beta.SpannerDatabaseReferenceB\003\340A\002\022d\n"
- + "\027agent_context_reference\030\002 \001(\0132>.google.cloud.geminid"
- + "ataanalytics.v1beta.AgentContextReferenceB\003\340A\001\"\265\002\n"
+ + "\022database_reference\030\001 \001(\0132A.google.cloud.geminida"
+ + "taanalytics.v1beta.SpannerDatabaseReferenceB\003\340A\002\022d\n"
+ + "\027agent_context_reference\030\002 \001("
+ + "\0132>.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\003\340A\001\"\265\003\n"
+ "\030SpannerDatabaseReference\022]\n"
- + "\006engine\030\006 \001(\0162H.google.cloud.geminidataana"
- + "lytics.v1beta.SpannerDatabaseReference.EngineB\003\340A\002\022\027\n\n"
- + "project_id\030\001 \001(\tB\003\340A\002\022\023\n"
- + "\006region\030\002 \001(\tB\003\340A\002\022\030\n"
+ + "\006engine\030\006 \001(\0162H.go"
+ + "ogle.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference.EngineB\003\340A\002\022\027\n\n"
+ + "project_id\030\001 \001(\tB\003\340A\002\022\030\n"
+ "\013instance_id\030\003 \001(\tB\003\340A\002\022\030\n"
+ "\013database_id\030\004 \001(\tB\003\340A\002\022\026\n"
- + "\ttable_ids\030\005 \003(\tB\003\340A\001\"@\n"
+ + "\ttable_ids\030\005 \003(\tB\003\340A\001\022g\n"
+ + "\031database_table_references\030\007 \003(\0132?.google.cloud.geminidataanal"
+ + "ytics.v1beta.DatabaseTableReferenceB\003\340A\001\022\025\n"
+ + "\010priority\030\010 \001(\tB\003\340A\001\022\023\n"
+ + "\013request_tag\030\t \001(\t\"@\n"
+ "\006Engine\022\026\n"
+ "\022ENGINE_UNSPECIFIED\020\000\022\016\n\n"
+ "GOOGLE_SQL\020\001\022\016\n\n"
+ "POSTGRESQL\020\002\"\336\001\n"
+ "\021CloudSqlReference\022c\n"
- + "\022database_reference\030\001 \001(\0132B.google.cloud.geminidataanalyt"
- + "ics.v1beta.CloudSqlDatabaseReferenceB\003\340A\002\022d\n"
- + "\027agent_context_reference\030\002 \001(\0132>.goo"
- + "gle.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\003\340A\001\"\262\002\n"
+ + "\022database_reference\030\001 \001(\013"
+ + "2B.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReferenceB\003\340A\002\022d\n"
+ + "\027agent_context_reference\030\002 \001(\0132>.google.clou"
+ + "d.geminidataanalytics.v1beta.AgentContextReferenceB\003\340A\001\"\233\003\n"
+ "\031CloudSqlDatabaseReference\022^\n"
- + "\006engine\030\001 \001(\0162I.google.c"
- + "loud.geminidataanalytics.v1beta.CloudSqlDatabaseReference.EngineB\003\340A\002\022\027\n\n"
+ + "\006engine\030\001 \001(\0162I.google.cloud.gem"
+ + "inidataanalytics.v1beta.CloudSqlDatabaseReference.EngineB\003\340A\002\022\027\n\n"
+ "project_id\030\002 \001(\tB\003\340A\002\022\023\n"
+ "\006region\030\003 \001(\tB\003\340A\002\022\030\n"
+ "\013instance_id\030\004 \001(\tB\003\340A\002\022\030\n"
+ "\013database_id\030\005 \001(\tB\003\340A\002\022\026\n"
- + "\ttable_ids\030\007 \003(\tB\003\340A\001\";\n"
+ + "\ttable_ids\030\007 \003(\tB\003\340A\001\022g\n"
+ + "\031database_table_references\030\010 \003(\0132?.google.cloud.gemini"
+ + "dataanalytics.v1beta.DatabaseTableReferenceB\003\340A\001\";\n"
+ "\006Engine\022\026\n"
+ "\022ENGINE_UNSPECIFIED\020\000\022\016\n\n"
+ "POSTGRESQL\020\001\022\t\n"
- + "\005MYSQL\020\002\"\313\001\n"
+ + "\005MYSQL\020\002\"\315\001\n"
+ "\027LookerExploreReferences\022`\n"
- + "\022explore_references\030\001 \003(\0132?.google.cl"
- + "oud.geminidataanalytics.v1beta.LookerExploreReferenceB\003\340A\002\022N\n"
- + "\013credentials\030\002 \001(\0132"
- + "4.google.cloud.geminidataanalytics.v1beta.CredentialsB\003\340A\001\"\246\002\n"
+ + "\022explore_references\030\001"
+ + " \003(\0132?.google.cloud.geminidataanalytics.v1beta.LookerExploreReferenceB\003\340A\002\022P\n"
+ + "\013credentials\030\002 \001(\01324.google.cloud.geminida"
+ + "taanalytics.v1beta.CredentialsB\005\030\001\340A\001\"\246\002\n"
+ "\026LookerExploreReference\022\035\n"
+ "\023looker_instance_uri\030\t \001(\tH\000\022j\n"
+ "\034private_looker_instance_info\030\n"
- + " \001(\0132B.goo"
- + "gle.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfoH\000\022\031\n"
+ + " \001(\0132B.google.cloud.geminidataa"
+ + "nalytics.v1beta.PrivateLookerInstanceInfoH\000\022\031\n"
+ "\014lookml_model\030\004 \001(\tB\003\340A\002\022\024\n"
+ "\007explore\030\005 \001(\tB\003\340A\002\022D\n"
- + "\006schema\030\010"
- + " \001(\0132/.google.cloud.geminidataanalytics.v1beta.SchemaB\003\340A\001B\n\n"
- + "\010instance\"W\n"
+ + "\006schema\030\010 \001(\0132/.google.cl"
+ + "oud.geminidataanalytics.v1beta.SchemaB\003\340A\001B\n\n"
+ + "\010instance\"r\n"
+ + "\036BigQueryPropertyGraphReference\022\027\n\n"
+ + "project_id\030\001 \001(\tB\003\340A\002\022\027\n\n"
+ + "dataset_id\030\002 \001(\tB\003\340A\002\022\036\n"
+ + "\021property_graph_id\030\003 \001(\tB\003\340A\002\"W\n"
+ "\031PrivateLookerInstanceInfo\022\032\n"
+ "\022looker_instance_id\030\001 \001(\t\022\036\n"
- + "\026service_directory_name\030\002 \001(\t\"\212\005\n\n"
+ + "\026service_directory_name\030\002 \001(\t\"\200\006\n\n"
+ "Datasource\022c\n"
- + "\030bigquery_table_reference\030\001 \001(\0132?.google.cloud.geminidataa"
- + "nalytics.v1beta.BigQueryTableReferenceH\000\022\036\n"
+ + "\030bigquery_table_reference\030\001 \001(\0132?.google.cl"
+ + "oud.geminidataanalytics.v1beta.BigQueryTableReferenceH\000\022\036\n"
+ "\024studio_datasource_id\030\002 \001(\tH\000\022c\n"
- + "\030looker_explore_reference\030\004 \001(\0132?.google.clou"
- + "d.geminidataanalytics.v1beta.LookerExploreReferenceH\000\022W\n"
- + "\022alloy_db_reference\030\014 \001("
- + "\01329.google.cloud.geminidataanalytics.v1beta.AlloyDbReferenceH\000\022V\n"
+ + "\030looker_explore_reference\030\004 \001("
+ + "\0132?.google.cloud.geminidataanalytics.v1beta.LookerExploreReferenceH\000\022W\n"
+ + "\022alloy_db_reference\030\014"
+ + " \001(\01329.google.cloud.geminidataanalytics.v1beta.AlloyDbReferenceH\000\022V\n"
+ "\021spanner_reference\030\r"
+ " \001(\01329.google.cloud.geminidataanalytics.v1beta.SpannerReferenceH\000\022Y\n"
- + "\023cloud_sql_reference\030\016 \001(\0132:.google.cloud.gemin"
- + "idataanalytics.v1beta.CloudSqlReferenceH\000\022D\n"
- + "\006schema\030\007"
- + " \001(\0132/.google.cloud.geminidataanalytics.v1beta.SchemaB\003\340A\001\0223\n\r"
+ + "\023cloud_sql_reference\030\016 \001(\0132:.goo"
+ + "gle.cloud.geminidataanalytics.v1beta.CloudSqlReferenceH\000\022t\n"
+ + "!bigquery_property_graph_reference\030\020 \001(\0132G.google.cloud.gemin"
+ + "idataanalytics.v1beta.BigQueryPropertyGraphReferenceH\000\022D\n"
+ + "\006schema\030\007 \001(\0132/.google."
+ + "cloud.geminidataanalytics.v1beta.SchemaB\003\340A\001\0223\n\r"
+ "struct_schema\030\n"
+ " \001(\0132\027.google.protobuf.StructB\003\340A\001B\013\n"
+ "\treference\"\367\001\n"
@@ -243,8 +270,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010synonyms\030\003 \003(\tB\003\340A\001\022\021\n"
+ "\004tags\030\004 \003(\tB\003\340A\001\022\031\n"
+ "\014display_name\030\005 \001(\tB\003\340A\001\022I\n"
- + "\007filters\030\006"
- + " \003(\01323.google.cloud.geminidataanalytics.v1beta.DataFilterB\003\340A\001\"\231\002\n"
+ + "\007filters\030\006 \003(\01323.google.cloud.ge"
+ + "minidataanalytics.v1beta.DataFilterB\003\340A\001\"\231\002\n"
+ "\005Field\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\001\022\021\n"
+ "\004type\030\002 \001(\tB\003\340A\001\022\030\n"
@@ -261,17 +288,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "DataFilter\022\022\n"
+ "\005field\030\001 \001(\tB\003\340A\001\022\022\n"
+ "\005value\030\002 \001(\tB\003\340A\001\022J\n"
- + "\004type\030\003 \001(\01627.google.cloud.gemi"
- + "nidataanalytics.v1beta.DataFilterTypeB\003\340A\001*E\n"
+ + "\004type\030\003 \001(\01627.goog"
+ + "le.cloud.geminidataanalytics.v1beta.DataFilterTypeB\003\340A\001*E\n"
+ "\016DataFilterType\022 \n"
+ "\034DATA_FILTER_TYPE_UNSPECIFIED\020\000\022\021\n\r"
+ "ALWAYS_FILTER\020\001B\240\002\n"
- + "+com.google.cloud.geminidataanalytics.v1bet"
- + "aB\017DatasourceProtoP\001Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminida"
- + "taanalyticspb;geminidataanalyticspb\252\002\'Go"
- + "ogle.Cloud.GeminiDataAnalytics.V1Beta\312\002\'"
- + "Google\\Cloud\\GeminiDataAnalytics\\V1beta\352"
- + "\002*Google::Cloud::GeminiDataAnalytics::V1betab\006proto3"
+ + "+com.google.cloud.geminidataanalytics.v1betaB\017DatasourceProtoP\001Z]cloud"
+ + ".google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataana"
+ + "lyticspb\252\002\'Google.Cloud.GeminiDataAnalyt"
+ + "ics.V1Beta\312\002\'Google\\Cloud\\GeminiDataAnal"
+ + "ytics\\V1beta\352\002*Google::Cloud::GeminiDataAnalytics::V1betab\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -302,7 +328,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryTableReferences_descriptor,
new java.lang.String[] {
- "TableReferences",
+ "TableReferences", "PropertyGraphReferences",
});
internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryTableReference_descriptor =
getDescriptor().getMessageType(2);
@@ -336,16 +362,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"DatabaseReference", "AgentContextReference",
});
- internal_static_google_cloud_geminidataanalytics_v1beta_AlloyDbDatabaseReference_descriptor =
+ internal_static_google_cloud_geminidataanalytics_v1beta_DatabaseTableReference_descriptor =
getDescriptor().getMessageType(6);
+ internal_static_google_cloud_geminidataanalytics_v1beta_DatabaseTableReference_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_DatabaseTableReference_descriptor,
+ new java.lang.String[] {
+ "TableId", "Schema",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1beta_AlloyDbDatabaseReference_descriptor =
+ getDescriptor().getMessageType(7);
internal_static_google_cloud_geminidataanalytics_v1beta_AlloyDbDatabaseReference_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_AlloyDbDatabaseReference_descriptor,
new java.lang.String[] {
- "ProjectId", "Region", "ClusterId", "InstanceId", "DatabaseId", "TableIds",
+ "ProjectId",
+ "Region",
+ "ClusterId",
+ "InstanceId",
+ "DatabaseId",
+ "TableIds",
+ "DatabaseTableReferences",
});
internal_static_google_cloud_geminidataanalytics_v1beta_SpannerReference_descriptor =
- getDescriptor().getMessageType(7);
+ getDescriptor().getMessageType(8);
internal_static_google_cloud_geminidataanalytics_v1beta_SpannerReference_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_SpannerReference_descriptor,
@@ -353,15 +393,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DatabaseReference", "AgentContextReference",
});
internal_static_google_cloud_geminidataanalytics_v1beta_SpannerDatabaseReference_descriptor =
- getDescriptor().getMessageType(8);
+ getDescriptor().getMessageType(9);
internal_static_google_cloud_geminidataanalytics_v1beta_SpannerDatabaseReference_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_SpannerDatabaseReference_descriptor,
new java.lang.String[] {
- "Engine", "ProjectId", "Region", "InstanceId", "DatabaseId", "TableIds",
+ "Engine",
+ "ProjectId",
+ "InstanceId",
+ "DatabaseId",
+ "TableIds",
+ "DatabaseTableReferences",
+ "Priority",
+ "RequestTag",
});
internal_static_google_cloud_geminidataanalytics_v1beta_CloudSqlReference_descriptor =
- getDescriptor().getMessageType(9);
+ getDescriptor().getMessageType(10);
internal_static_google_cloud_geminidataanalytics_v1beta_CloudSqlReference_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_CloudSqlReference_descriptor,
@@ -369,15 +416,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DatabaseReference", "AgentContextReference",
});
internal_static_google_cloud_geminidataanalytics_v1beta_CloudSqlDatabaseReference_descriptor =
- getDescriptor().getMessageType(10);
+ getDescriptor().getMessageType(11);
internal_static_google_cloud_geminidataanalytics_v1beta_CloudSqlDatabaseReference_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_CloudSqlDatabaseReference_descriptor,
new java.lang.String[] {
- "Engine", "ProjectId", "Region", "InstanceId", "DatabaseId", "TableIds",
+ "Engine",
+ "ProjectId",
+ "Region",
+ "InstanceId",
+ "DatabaseId",
+ "TableIds",
+ "DatabaseTableReferences",
});
internal_static_google_cloud_geminidataanalytics_v1beta_LookerExploreReferences_descriptor =
- getDescriptor().getMessageType(11);
+ getDescriptor().getMessageType(12);
internal_static_google_cloud_geminidataanalytics_v1beta_LookerExploreReferences_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_LookerExploreReferences_descriptor,
@@ -385,7 +438,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ExploreReferences", "Credentials",
});
internal_static_google_cloud_geminidataanalytics_v1beta_LookerExploreReference_descriptor =
- getDescriptor().getMessageType(12);
+ getDescriptor().getMessageType(13);
internal_static_google_cloud_geminidataanalytics_v1beta_LookerExploreReference_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_LookerExploreReference_descriptor,
@@ -397,8 +450,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Schema",
"Instance",
});
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryPropertyGraphReference_descriptor =
+ getDescriptor().getMessageType(14);
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryPropertyGraphReference_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryPropertyGraphReference_descriptor,
+ new java.lang.String[] {
+ "ProjectId", "DatasetId", "PropertyGraphId",
+ });
internal_static_google_cloud_geminidataanalytics_v1beta_PrivateLookerInstanceInfo_descriptor =
- getDescriptor().getMessageType(13);
+ getDescriptor().getMessageType(15);
internal_static_google_cloud_geminidataanalytics_v1beta_PrivateLookerInstanceInfo_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_PrivateLookerInstanceInfo_descriptor,
@@ -406,7 +467,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"LookerInstanceId", "ServiceDirectoryName",
});
internal_static_google_cloud_geminidataanalytics_v1beta_Datasource_descriptor =
- getDescriptor().getMessageType(14);
+ getDescriptor().getMessageType(16);
internal_static_google_cloud_geminidataanalytics_v1beta_Datasource_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_Datasource_descriptor,
@@ -417,12 +478,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"AlloyDbReference",
"SpannerReference",
"CloudSqlReference",
+ "BigqueryPropertyGraphReference",
"Schema",
"StructSchema",
"Reference",
});
internal_static_google_cloud_geminidataanalytics_v1beta_Schema_descriptor =
- getDescriptor().getMessageType(15);
+ getDescriptor().getMessageType(17);
internal_static_google_cloud_geminidataanalytics_v1beta_Schema_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_Schema_descriptor,
@@ -430,7 +492,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Fields", "Description", "Synonyms", "Tags", "DisplayName", "Filters",
});
internal_static_google_cloud_geminidataanalytics_v1beta_Field_descriptor =
- getDescriptor().getMessageType(16);
+ getDescriptor().getMessageType(18);
internal_static_google_cloud_geminidataanalytics_v1beta_Field_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_Field_descriptor,
@@ -447,7 +509,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ValueFormat",
});
internal_static_google_cloud_geminidataanalytics_v1beta_DataFilter_descriptor =
- getDescriptor().getMessageType(17);
+ getDescriptor().getMessageType(19);
internal_static_google_cloud_geminidataanalytics_v1beta_DataFilter_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1beta_DataFilter_descriptor,
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ExampleQuery.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ExampleQuery.java
index c4256d56fe8e..1c1e493a1dc6 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ExampleQuery.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ExampleQuery.java
@@ -55,6 +55,7 @@ private ExampleQuery(com.google.protobuf.GeneratedMessage.Builder> builder) {
private ExampleQuery() {
naturalLanguageQuestion_ = "";
+ parameters_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -253,6 +254,110 @@ public com.google.protobuf.ByteString getNaturalLanguageQuestionBytes() {
}
}
+ public static final int PARAMETERS_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.QueryParameterOrBuilder>
+ getParametersOrBuilderList() {
+ return parameters_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getParametersCount() {
+ return parameters_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameter getParameters(int index) {
+ return parameters_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameterOrBuilder getParametersOrBuilder(
+ int index) {
+ return parameters_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -270,6 +375,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(naturalLanguageQuestion_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, naturalLanguageQuestion_);
}
+ for (int i = 0; i < parameters_.size(); i++) {
+ output.writeMessage(3, parameters_.get(i));
+ }
if (queryCase_ == 101) {
com.google.protobuf.GeneratedMessage.writeString(output, 101, query_);
}
@@ -285,6 +393,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(naturalLanguageQuestion_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, naturalLanguageQuestion_);
}
+ for (int i = 0; i < parameters_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, parameters_.get(i));
+ }
if (queryCase_ == 101) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(101, query_);
}
@@ -305,6 +416,7 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.geminidataanalytics.v1beta.ExampleQuery) obj;
if (!getNaturalLanguageQuestion().equals(other.getNaturalLanguageQuestion())) return false;
+ if (!getParametersList().equals(other.getParametersList())) return false;
if (!getQueryCase().equals(other.getQueryCase())) return false;
switch (queryCase_) {
case 101:
@@ -326,6 +438,10 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NATURAL_LANGUAGE_QUESTION_FIELD_NUMBER;
hash = (53 * hash) + getNaturalLanguageQuestion().hashCode();
+ if (getParametersCount() > 0) {
+ hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
+ hash = (53 * hash) + getParametersList().hashCode();
+ }
switch (queryCase_) {
case 101:
hash = (37 * hash) + SQL_QUERY_FIELD_NUMBER;
@@ -478,6 +594,13 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
naturalLanguageQuestion_ = "";
+ if (parametersBuilder_ == null) {
+ parameters_ = java.util.Collections.emptyList();
+ } else {
+ parameters_ = null;
+ parametersBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
queryCase_ = 0;
query_ = null;
return this;
@@ -507,6 +630,7 @@ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery build() {
public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery buildPartial() {
com.google.cloud.geminidataanalytics.v1beta.ExampleQuery result =
new com.google.cloud.geminidataanalytics.v1beta.ExampleQuery(this);
+ buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -515,6 +639,19 @@ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery buildPartial() {
return result;
}
+ private void buildPartialRepeatedFields(
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery result) {
+ if (parametersBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)) {
+ parameters_ = java.util.Collections.unmodifiableList(parameters_);
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.parameters_ = parameters_;
+ } else {
+ result.parameters_ = parametersBuilder_.build();
+ }
+ }
+
private void buildPartial0(com.google.cloud.geminidataanalytics.v1beta.ExampleQuery result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000002) != 0)) {
@@ -546,6 +683,33 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.ExampleQuer
bitField0_ |= 0x00000002;
onChanged();
}
+ if (parametersBuilder_ == null) {
+ if (!other.parameters_.isEmpty()) {
+ if (parameters_.isEmpty()) {
+ parameters_ = other.parameters_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureParametersIsMutable();
+ parameters_.addAll(other.parameters_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.parameters_.isEmpty()) {
+ if (parametersBuilder_.isEmpty()) {
+ parametersBuilder_.dispose();
+ parametersBuilder_ = null;
+ parameters_ = other.parameters_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ parametersBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+ ? internalGetParametersFieldBuilder()
+ : null;
+ } else {
+ parametersBuilder_.addAllMessages(other.parameters_);
+ }
+ }
+ }
switch (other.getQueryCase()) {
case SQL_QUERY:
{
@@ -591,6 +755,20 @@ public Builder mergeFrom(
bitField0_ |= 0x00000002;
break;
} // case 10
+ case 26:
+ {
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameter m =
+ input.readMessage(
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameter.parser(),
+ extensionRegistry);
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ parameters_.add(m);
+ } else {
+ parametersBuilder_.addMessage(m);
+ }
+ break;
+ } // case 26
case 810:
{
java.lang.String s = input.readStringRequireUtf8();
@@ -898,6 +1076,479 @@ public Builder setNaturalLanguageQuestionBytes(com.google.protobuf.ByteString va
return this;
}
+ private java.util.List
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getParametersCount() {
+ if (parametersBuilder_ == null) {
+ return parameters_.size();
+ } else {
+ return parametersBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameter getParameters(int index) {
+ if (parametersBuilder_ == null) {
+ return parameters_.get(index);
+ } else {
+ return parametersBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setParameters(
+ int index, com.google.cloud.geminidataanalytics.v1beta.QueryParameter value) {
+ if (parametersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureParametersIsMutable();
+ parameters_.set(index, value);
+ onChanged();
+ } else {
+ parametersBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setParameters(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameter.Builder builderForValue) {
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ parameters_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ parametersBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addParameters(com.google.cloud.geminidataanalytics.v1beta.QueryParameter value) {
+ if (parametersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureParametersIsMutable();
+ parameters_.add(value);
+ onChanged();
+ } else {
+ parametersBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addParameters(
+ int index, com.google.cloud.geminidataanalytics.v1beta.QueryParameter value) {
+ if (parametersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureParametersIsMutable();
+ parameters_.add(index, value);
+ onChanged();
+ } else {
+ parametersBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addParameters(
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameter.Builder builderForValue) {
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ parameters_.add(builderForValue.build());
+ onChanged();
+ } else {
+ parametersBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addParameters(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameter.Builder builderForValue) {
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ parameters_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ parametersBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllParameters(
+ java.lang.Iterable extends com.google.cloud.geminidataanalytics.v1beta.QueryParameter>
+ values) {
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_);
+ onChanged();
+ } else {
+ parametersBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearParameters() {
+ if (parametersBuilder_ == null) {
+ parameters_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ parametersBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeParameters(int index) {
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ parameters_.remove(index);
+ onChanged();
+ } else {
+ parametersBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameter.Builder getParametersBuilder(
+ int index) {
+ return internalGetParametersFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameterOrBuilder
+ getParametersOrBuilder(int index) {
+ if (parametersBuilder_ == null) {
+ return parameters_.get(index);
+ } else {
+ return parametersBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.QueryParameterOrBuilder>
+ getParametersOrBuilderList() {
+ if (parametersBuilder_ != null) {
+ return parametersBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(parameters_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameter.Builder
+ addParametersBuilder() {
+ return internalGetParametersFieldBuilder()
+ .addBuilder(
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameter.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameter.Builder addParametersBuilder(
+ int index) {
+ return internalGetParametersFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameter.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameter getParameters(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getParametersCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List extends com.google.cloud.geminidataanalytics.v1beta.QueryParameterOrBuilder>
+ getParametersOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Optional. The list of query parameters.
+ * Example: The parameterized SQL query
+ * "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
+ * id.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameterOrBuilder getParametersOrBuilder(
+ int index);
+
com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.QueryCase getQueryCase();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Field.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Field.java
index 513a22792079..30baf256a3f7 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Field.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Field.java
@@ -593,8 +593,6 @@ public com.google.cloud.geminidataanalytics.v1beta.FieldOrBuilder getSubfieldsOr
*
*
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
*
* string category = 10 [(.google.api.field_behavior) = OPTIONAL];
@@ -619,8 +617,6 @@ public java.lang.String getCategory() {
*
*
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
*
* string category = 10 [(.google.api.field_behavior) = OPTIONAL];
@@ -2674,8 +2670,6 @@ public com.google.cloud.geminidataanalytics.v1beta.Field.Builder addSubfieldsBui
*
*
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
*
* string category = 10 [(.google.api.field_behavior) = OPTIONAL];
@@ -2699,8 +2693,6 @@ public java.lang.String getCategory() {
*
*
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
*
* string category = 10 [(.google.api.field_behavior) = OPTIONAL];
@@ -2724,8 +2716,6 @@ public com.google.protobuf.ByteString getCategoryBytes() {
*
*
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
*
* string category = 10 [(.google.api.field_behavior) = OPTIONAL];
@@ -2748,8 +2738,6 @@ public Builder setCategory(java.lang.String value) {
*
*
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
*
* string category = 10 [(.google.api.field_behavior) = OPTIONAL];
@@ -2768,8 +2756,6 @@ public Builder clearCategory() {
*
*
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
*
* string category = 10 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/FieldOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/FieldOrBuilder.java
index 5cde92ee101f..4af7bdec9e91 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/FieldOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/FieldOrBuilder.java
@@ -351,8 +351,6 @@ public interface FieldOrBuilder
*
*
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
*
* string category = 10 [(.google.api.field_behavior) = OPTIONAL];
@@ -366,8 +364,6 @@ public interface FieldOrBuilder
*
*
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
*
* string category = 10 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListConversationsRequest.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListConversationsRequest.java
index 09485d6b3210..95131388d152 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListConversationsRequest.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListConversationsRequest.java
@@ -139,8 +139,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Optional. Requested page size. Server may return fewer items than
- * requested. The max page size is 100. All larger page sizes will be coerced
- * to 100. If unspecified, server will pick 50 as an approperiate default.
+ * requested. The max page size is `100`. All larger page sizes will be
+ * coerced to `100`. If unspecified, server will pick `50` as an appropriate
+ * default.
*
*
* int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -786,8 +787,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* Optional. Requested page size. Server may return fewer items than
- * requested. The max page size is 100. All larger page sizes will be coerced
- * to 100. If unspecified, server will pick 50 as an approperiate default.
+ * requested. The max page size is `100`. All larger page sizes will be
+ * coerced to `100`. If unspecified, server will pick `50` as an appropriate
+ * default.
*
*
* int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -804,8 +806,9 @@ public int getPageSize() {
*
*
* Optional. Requested page size. Server may return fewer items than
- * requested. The max page size is 100. All larger page sizes will be coerced
- * to 100. If unspecified, server will pick 50 as an approperiate default.
+ * requested. The max page size is `100`. All larger page sizes will be
+ * coerced to `100`. If unspecified, server will pick `50` as an appropriate
+ * default.
*
*
* int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -826,8 +829,9 @@ public Builder setPageSize(int value) {
*
*
* Optional. Requested page size. Server may return fewer items than
- * requested. The max page size is 100. All larger page sizes will be coerced
- * to 100. If unspecified, server will pick 50 as an approperiate default.
+ * requested. The max page size is `100`. All larger page sizes will be
+ * coerced to `100`. If unspecified, server will pick `50` as an appropriate
+ * default.
*
*
* int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListConversationsRequestOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListConversationsRequestOrBuilder.java
index 7cc5aa09bbb0..0a8de0b2d6bc 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListConversationsRequestOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListConversationsRequestOrBuilder.java
@@ -63,8 +63,9 @@ public interface ListConversationsRequestOrBuilder
*
*
* Optional. Requested page size. Server may return fewer items than
- * requested. The max page size is 100. All larger page sizes will be coerced
- * to 100. If unspecified, server will pick 50 as an approperiate default.
+ * requested. The max page size is `100`. All larger page sizes will be
+ * coerced to `100`. If unspecified, server will pick `50` as an appropriate
+ * default.
*
*
* int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListMessagesRequest.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListMessagesRequest.java
index 67c0f2408532..a6e2be41153d 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListMessagesRequest.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListMessagesRequest.java
@@ -141,8 +141,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Optional. Requested page size. Server may return fewer items than
- * requested. The max page size is 100. All larger page sizes will be coerced
- * to 100. If unspecified, server will pick 50 as an approperiate default.
+ * requested. The max page size is `100`. All larger page sizes will be
+ * coerced to `100`. If unspecified, server will pick `50` as an appropriate
+ * default.
*
*
* int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
@@ -793,8 +794,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* Optional. Requested page size. Server may return fewer items than
- * requested. The max page size is 100. All larger page sizes will be coerced
- * to 100. If unspecified, server will pick 50 as an approperiate default.
+ * requested. The max page size is `100`. All larger page sizes will be
+ * coerced to `100`. If unspecified, server will pick `50` as an appropriate
+ * default.
*
*
* int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
@@ -811,8 +813,9 @@ public int getPageSize() {
*
*
* Optional. Requested page size. Server may return fewer items than
- * requested. The max page size is 100. All larger page sizes will be coerced
- * to 100. If unspecified, server will pick 50 as an approperiate default.
+ * requested. The max page size is `100`. All larger page sizes will be
+ * coerced to `100`. If unspecified, server will pick `50` as an appropriate
+ * default.
*
*
* int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
@@ -833,8 +836,9 @@ public Builder setPageSize(int value) {
*
*
* Optional. Requested page size. Server may return fewer items than
- * requested. The max page size is 100. All larger page sizes will be coerced
- * to 100. If unspecified, server will pick 50 as an approperiate default.
+ * requested. The max page size is `100`. All larger page sizes will be
+ * coerced to `100`. If unspecified, server will pick `50` as an appropriate
+ * default.
*
*
* int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListMessagesRequestOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListMessagesRequestOrBuilder.java
index ed023a186a68..99e67c427e62 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListMessagesRequestOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ListMessagesRequestOrBuilder.java
@@ -65,8 +65,9 @@ public interface ListMessagesRequestOrBuilder
*
*
* Optional. Requested page size. Server may return fewer items than
- * requested. The max page size is 100. All larger page sizes will be coerced
- * to 100. If unspecified, server will pick 50 as an approperiate default.
+ * requested. The max page size is `100`. All larger page sizes will be
+ * coerced to `100`. If unspecified, server will pick `50` as an appropriate
+ * default.
*
*
* int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerExploreReferences.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerExploreReferences.java
index 71e3a6e83387..da704cfe1f7b 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerExploreReferences.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerExploreReferences.java
@@ -169,7 +169,8 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerExploreReference getExp
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -178,12 +179,15 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerExploreReference getExp
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.LookerExploreReferences.credentials is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/datasource.proto;l=312
* @return Whether the credentials field is set.
*/
@java.lang.Override
+ @java.lang.Deprecated
public boolean hasCredentials() {
return ((bitField0_ & 0x00000001) != 0);
}
@@ -192,7 +196,8 @@ public boolean hasCredentials() {
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -201,12 +206,15 @@ public boolean hasCredentials() {
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.LookerExploreReferences.credentials is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/datasource.proto;l=312
* @return The credentials.
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials() {
return credentials_ == null
? com.google.cloud.geminidataanalytics.v1beta.Credentials.getDefaultInstance()
@@ -217,7 +225,8 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials()
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -226,10 +235,11 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials()
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder
getCredentialsOrBuilder() {
return credentials_ == null
@@ -1095,7 +1105,8 @@ public Builder removeExploreReferences(int index) {
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1104,11 +1115,14 @@ public Builder removeExploreReferences(int index) {
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.LookerExploreReferences.credentials is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/datasource.proto;l=312
* @return Whether the credentials field is set.
*/
+ @java.lang.Deprecated
public boolean hasCredentials() {
return ((bitField0_ & 0x00000002) != 0);
}
@@ -1117,7 +1131,8 @@ public boolean hasCredentials() {
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1126,11 +1141,14 @@ public boolean hasCredentials() {
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.LookerExploreReferences.credentials is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/datasource.proto;l=312
* @return The credentials.
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials() {
if (credentialsBuilder_ == null) {
return credentials_ == null
@@ -1145,7 +1163,8 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials()
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1154,9 +1173,10 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials()
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public Builder setCredentials(com.google.cloud.geminidataanalytics.v1beta.Credentials value) {
if (credentialsBuilder_ == null) {
if (value == null) {
@@ -1175,7 +1195,8 @@ public Builder setCredentials(com.google.cloud.geminidataanalytics.v1beta.Creden
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1184,9 +1205,10 @@ public Builder setCredentials(com.google.cloud.geminidataanalytics.v1beta.Creden
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public Builder setCredentials(
com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder builderForValue) {
if (credentialsBuilder_ == null) {
@@ -1203,7 +1225,8 @@ public Builder setCredentials(
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1212,9 +1235,10 @@ public Builder setCredentials(
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public Builder mergeCredentials(com.google.cloud.geminidataanalytics.v1beta.Credentials value) {
if (credentialsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)
@@ -1239,7 +1263,8 @@ public Builder mergeCredentials(com.google.cloud.geminidataanalytics.v1beta.Cred
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1248,9 +1273,10 @@ public Builder mergeCredentials(com.google.cloud.geminidataanalytics.v1beta.Cred
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public Builder clearCredentials() {
bitField0_ = (bitField0_ & ~0x00000002);
credentials_ = null;
@@ -1266,7 +1292,8 @@ public Builder clearCredentials() {
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1275,9 +1302,10 @@ public Builder clearCredentials() {
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCredentialsBuilder() {
bitField0_ |= 0x00000002;
onChanged();
@@ -1288,7 +1316,8 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCreden
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1297,9 +1326,10 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCreden
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
public com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder
getCredentialsOrBuilder() {
if (credentialsBuilder_ != null) {
@@ -1315,7 +1345,8 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCreden
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -1324,7 +1355,7 @@ public com.google.cloud.geminidataanalytics.v1beta.Credentials.Builder getCreden
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilder<
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerExploreReferencesOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerExploreReferencesOrBuilder.java
index bb7cb31ed730..451969db67ff 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerExploreReferencesOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerExploreReferencesOrBuilder.java
@@ -100,7 +100,8 @@ com.google.cloud.geminidataanalytics.v1beta.LookerExploreReference getExploreRef
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -109,18 +110,22 @@ com.google.cloud.geminidataanalytics.v1beta.LookerExploreReference getExploreRef
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.LookerExploreReferences.credentials is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/datasource.proto;l=312
* @return Whether the credentials field is set.
*/
+ @java.lang.Deprecated
boolean hasCredentials();
/**
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -129,18 +134,22 @@ com.google.cloud.geminidataanalytics.v1beta.LookerExploreReference getExploreRef
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*
+ * @deprecated google.cloud.geminidataanalytics.v1beta.LookerExploreReferences.credentials is
+ * deprecated. See google/cloud/geminidataanalytics/v1beta/datasource.proto;l=312
* @return The credentials.
*/
+ @java.lang.Deprecated
com.google.cloud.geminidataanalytics.v1beta.Credentials getCredentials();
/**
*
*
*
- * Optional. The credentials to use when calling the Looker API.
+ * Optional. Deprecated: Use credentials in ChatRequest.
+ * The credentials to use when calling the Looker API.
*
* Currently supports both OAuth token and API key-based credentials, as
* described in
@@ -149,8 +158,9 @@ com.google.cloud.geminidataanalytics.v1beta.LookerExploreReference getExploreRef
*
*
*
- * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
*/
+ @java.lang.Deprecated
com.google.cloud.geminidataanalytics.v1beta.CredentialsOrBuilder getCredentialsOrBuilder();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQuery.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQuery.java
index b9e26f1909b9..e22689168a7f 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQuery.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQuery.java
@@ -60,6 +60,8 @@ private LookerQuery() {
filters_ = java.util.Collections.emptyList();
sorts_ = com.google.protobuf.LazyStringArrayList.emptyList();
limit_ = "";
+ queryId_ = "";
+ clientId_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -112,10 +114,27 @@ public interface FilterOrBuilder
*
*
*
- * Required. The value for the field to filter on.
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
*
*
- * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the value field is set.
+ */
+ boolean hasValue();
+
+ /**
+ *
+ *
+ *
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
+ *
+ *
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The value.
*/
@@ -125,10 +144,12 @@ public interface FilterOrBuilder
*
*
*
- * Required. The value for the field to filter on.
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
*
*
- * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for value.
*/
@@ -185,6 +206,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter.Builder.class);
}
+ private int bitField0_;
public static final int FIELD_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
@@ -247,10 +269,30 @@ public com.google.protobuf.ByteString getFieldBytes() {
*
*
*
- * Required. The value for the field to filter on.
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
+ *
+ *
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the value field is set.
+ */
+ @java.lang.Override
+ public boolean hasValue() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
*
*
- * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The value.
*/
@@ -271,10 +313,12 @@ public java.lang.String getValue() {
*
*
*
- * Required. The value for the field to filter on.
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
*
*
- * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for value.
*/
@@ -308,7 +352,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(field_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, field_);
}
- if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, value_);
}
getUnknownFields().writeTo(output);
@@ -323,7 +367,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(field_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, field_);
}
- if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
@@ -343,7 +387,10 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter) obj;
if (!getField().equals(other.getField())) return false;
- if (!getValue().equals(other.getValue())) return false;
+ if (hasValue() != other.hasValue()) return false;
+ if (hasValue()) {
+ if (!getValue().equals(other.getValue())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -357,8 +404,10 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FIELD_FIELD_NUMBER;
hash = (53 * hash) + getField().hashCode();
- hash = (37 * hash) + VALUE_FIELD_NUMBER;
- hash = (53 * hash) + getValue().hashCode();
+ if (hasValue()) {
+ hash = (37 * hash) + VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getValue().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -543,9 +592,12 @@ private void buildPartial0(
if (((from_bitField0_ & 0x00000001) != 0)) {
result.field_ = field_;
}
+ int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = value_;
+ to_bitField0_ |= 0x00000001;
}
+ result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
@@ -568,7 +620,7 @@ public Builder mergeFrom(
bitField0_ |= 0x00000001;
onChanged();
}
- if (!other.getValue().isEmpty()) {
+ if (other.hasValue()) {
value_ = other.value_;
bitField0_ |= 0x00000002;
onChanged();
@@ -747,10 +799,29 @@ public Builder setFieldBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. The value for the field to filter on.
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
*
*
- * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the value field is set.
+ */
+ public boolean hasValue() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
+ *
+ *
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The value.
*/
@@ -770,10 +841,12 @@ public java.lang.String getValue() {
*
*
*
- * Required. The value for the field to filter on.
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
*
*
- * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for value.
*/
@@ -793,10 +866,12 @@ public com.google.protobuf.ByteString getValueBytes() {
*
*
*
- * Required. The value for the field to filter on.
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
*
*
- * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The value to set.
* @return This builder for chaining.
@@ -815,10 +890,12 @@ public Builder setValue(java.lang.String value) {
*
*
*
- * Required. The value for the field to filter on.
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
*
*
- * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return This builder for chaining.
*/
@@ -833,10 +910,12 @@ public Builder clearValue() {
*
*
*
- * Required. The value for the field to filter on.
+ * Optional. The value for the field to filter on.
+ * Optional so we can preserve the default value as an empty
+ * string, important to get a valid and working Looker Explore url.
*
*
- * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The bytes for value to set.
* @return This builder for chaining.
@@ -1308,6 +1387,156 @@ public com.google.protobuf.ByteString getLimitBytes() {
}
}
+ public static final int QUERY_ID_FIELD_NUMBER = 10;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object queryId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the queryId field is set.
+ */
+ @java.lang.Override
+ public boolean hasQueryId() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The queryId.
+ */
+ @java.lang.Override
+ public java.lang.String getQueryId() {
+ java.lang.Object ref = queryId_;
+ 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();
+ queryId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for queryId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getQueryIdBytes() {
+ java.lang.Object ref = queryId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ queryId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CLIENT_ID_FIELD_NUMBER = 11;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object clientId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the clientId field is set.
+ */
+ @java.lang.Override
+ public boolean hasClientId() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The clientId.
+ */
+ @java.lang.Override
+ public java.lang.String getClientId() {
+ java.lang.Object ref = clientId_;
+ 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();
+ clientId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for clientId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getClientIdBytes() {
+ java.lang.Object ref = clientId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ clientId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1340,6 +1569,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 6, limit_);
}
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 10, queryId_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 11, clientId_);
+ }
getUnknownFields().writeTo(output);
}
@@ -1377,6 +1612,12 @@ public int getSerializedSize() {
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(6, limit_);
}
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(10, queryId_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(11, clientId_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -1402,6 +1643,14 @@ public boolean equals(final java.lang.Object obj) {
if (hasLimit()) {
if (!getLimit().equals(other.getLimit())) return false;
}
+ if (hasQueryId() != other.hasQueryId()) return false;
+ if (hasQueryId()) {
+ if (!getQueryId().equals(other.getQueryId())) return false;
+ }
+ if (hasClientId() != other.hasClientId()) return false;
+ if (hasClientId()) {
+ if (!getClientId().equals(other.getClientId())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -1433,6 +1682,14 @@ public int hashCode() {
hash = (37 * hash) + LIMIT_FIELD_NUMBER;
hash = (53 * hash) + getLimit().hashCode();
}
+ if (hasQueryId()) {
+ hash = (37 * hash) + QUERY_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getQueryId().hashCode();
+ }
+ if (hasClientId()) {
+ hash = (37 * hash) + CLIENT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getClientId().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1588,6 +1845,8 @@ public Builder clear() {
bitField0_ = (bitField0_ & ~0x00000008);
sorts_ = com.google.protobuf.LazyStringArrayList.emptyList();
limit_ = "";
+ queryId_ = "";
+ clientId_ = "";
return this;
}
@@ -1657,6 +1916,14 @@ private void buildPartial0(com.google.cloud.geminidataanalytics.v1beta.LookerQue
result.limit_ = limit_;
to_bitField0_ |= 0x00000001;
}
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.queryId_ = queryId_;
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.clientId_ = clientId_;
+ to_bitField0_ |= 0x00000004;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -1735,6 +2002,16 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.LookerQuery
bitField0_ |= 0x00000020;
onChanged();
}
+ if (other.hasQueryId()) {
+ queryId_ = other.queryId_;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ }
+ if (other.hasClientId()) {
+ clientId_ = other.clientId_;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -1807,6 +2084,18 @@ public Builder mergeFrom(
bitField0_ |= 0x00000020;
break;
} // case 50
+ case 82:
+ {
+ queryId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 82
+ case 90:
+ {
+ clientId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 90
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -2960,6 +3249,282 @@ public Builder setLimitBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object queryId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the queryId field is set.
+ */
+ public boolean hasQueryId() {
+ return ((bitField0_ & 0x00000040) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The queryId.
+ */
+ public java.lang.String getQueryId() {
+ java.lang.Object ref = queryId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ queryId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for queryId.
+ */
+ public com.google.protobuf.ByteString getQueryIdBytes() {
+ java.lang.Object ref = queryId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ queryId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The queryId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setQueryId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ queryId_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearQueryId() {
+ queryId_ = getDefaultInstance().getQueryId();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for queryId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setQueryIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ queryId_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object clientId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the clientId field is set.
+ */
+ public boolean hasClientId() {
+ return ((bitField0_ & 0x00000080) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The clientId.
+ */
+ public java.lang.String getClientId() {
+ java.lang.Object ref = clientId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ clientId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for clientId.
+ */
+ public com.google.protobuf.ByteString getClientIdBytes() {
+ java.lang.Object ref = clientId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ clientId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The clientId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClientId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ clientId_ = value;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearClientId() {
+ clientId_ = getDefaultInstance().getClientId();
+ bitField0_ = (bitField0_ & ~0x00000080);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for clientId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClientIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ clientId_ = value;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.LookerQuery)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQueryOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQueryOrBuilder.java
index 3c47142e8c56..9d7b50af9ecd 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQueryOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQueryOrBuilder.java
@@ -291,4 +291,94 @@ com.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterOrBuilder getFilte
* @return The bytes for limit.
*/
com.google.protobuf.ByteString getLimitBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the queryId field is set.
+ */
+ boolean hasQueryId();
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The queryId.
+ */
+ java.lang.String getQueryId();
+
+ /**
+ *
+ *
+ *
+ * Optional. The primary identifier for the query resource in Looker, used for
+ * API operations. Maps to `id` (or `slug`) in the Looker API `Query`
+ * resource.
+ *
+ *
+ * optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for queryId.
+ */
+ com.google.protobuf.ByteString getQueryIdBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the clientId field is set.
+ */
+ boolean hasClientId();
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The clientId.
+ */
+ java.lang.String getClientId();
+
+ /**
+ *
+ *
+ *
+ * Optional. The short alphanumeric identifier for the query, used for share
+ * links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
+ * in the Looker API `Query` resource.
+ *
+ *
+ * optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for clientId.
+ */
+ com.google.protobuf.ByteString getClientIdBytes();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerSettings.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerSettings.java
new file mode 100644
index 000000000000..077be7c313fb
--- /dev/null
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerSettings.java
@@ -0,0 +1,524 @@
+/*
+ * 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/geminidataanalytics/v1beta/data_chat_service.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.geminidataanalytics.v1beta;
+
+/**
+ *
+ *
+ *
+ * Message to hold Looker specific custom settings.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.LookerSettings}
+ */
+@com.google.protobuf.Generated
+public final class LookerSettings extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.LookerSettings)
+ LookerSettingsOrBuilder {
+ 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= */ "",
+ "LookerSettings");
+ }
+
+ // Use LookerSettings.newBuilder() to construct.
+ private LookerSettings(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private LookerSettings() {}
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_LookerSettings_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_LookerSettings_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings.class,
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings.Builder.class);
+ }
+
+ public static final int ENABLE_DEV_MODE_FIELD_NUMBER = 1;
+ private boolean enableDevMode_ = false;
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether to operate in Looker's Development Mode.
+ * If true, the API session will be switched to the "dev" workspace,
+ * allowing interaction with LookML changes in the user's development branch.
+ * If false or unset, the session remains in the default state (Production
+ * Mode).
+ * See https://cloud.google.com/looker/docs/dev-mode-prod-mode.
+ *
+ *
+ * bool enable_dev_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The enableDevMode.
+ */
+ @java.lang.Override
+ public boolean getEnableDevMode() {
+ return enableDevMode_;
+ }
+
+ 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 (enableDevMode_ != false) {
+ output.writeBool(1, enableDevMode_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (enableDevMode_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableDevMode_);
+ }
+ 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.geminidataanalytics.v1beta.LookerSettings)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.LookerSettings other =
+ (com.google.cloud.geminidataanalytics.v1beta.LookerSettings) obj;
+
+ if (getEnableDevMode() != other.getEnableDevMode()) 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) + ENABLE_DEV_MODE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableDevMode());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.LookerSettings parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.LookerSettings 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.geminidataanalytics.v1beta.LookerSettings parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.LookerSettings 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.geminidataanalytics.v1beta.LookerSettings parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.LookerSettings parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.LookerSettings parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.LookerSettings 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.geminidataanalytics.v1beta.LookerSettings parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.LookerSettings 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.geminidataanalytics.v1beta.LookerSettings parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.LookerSettings 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.geminidataanalytics.v1beta.LookerSettings 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * Message to hold Looker specific custom settings.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.LookerSettings}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Optional. Whether to operate in Looker's Development Mode.
+ * If true, the API session will be switched to the "dev" workspace,
+ * allowing interaction with LookML changes in the user's development branch.
+ * If false or unset, the session remains in the default state (Production
+ * Mode).
+ * See https://cloud.google.com/looker/docs/dev-mode-prod-mode.
+ *
+ *
+ * bool enable_dev_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The enableDevMode.
+ */
+ @java.lang.Override
+ public boolean getEnableDevMode() {
+ return enableDevMode_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether to operate in Looker's Development Mode.
+ * If true, the API session will be switched to the "dev" workspace,
+ * allowing interaction with LookML changes in the user's development branch.
+ * If false or unset, the session remains in the default state (Production
+ * Mode).
+ * See https://cloud.google.com/looker/docs/dev-mode-prod-mode.
+ *
+ *
+ * bool enable_dev_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The enableDevMode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnableDevMode(boolean value) {
+
+ enableDevMode_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether to operate in Looker's Development Mode.
+ * If true, the API session will be switched to the "dev" workspace,
+ * allowing interaction with LookML changes in the user's development branch.
+ * If false or unset, the session remains in the default state (Production
+ * Mode).
+ * See https://cloud.google.com/looker/docs/dev-mode-prod-mode.
+ *
+ *
+ * bool enable_dev_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEnableDevMode() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ enableDevMode_ = false;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.LookerSettings)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1beta.LookerSettings)
+ private static final com.google.cloud.geminidataanalytics.v1beta.LookerSettings DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.geminidataanalytics.v1beta.LookerSettings();
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.LookerSettings getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Optional. Whether to operate in Looker's Development Mode.
+ * If true, the API session will be switched to the "dev" workspace,
+ * allowing interaction with LookML changes in the user's development branch.
+ * If false or unset, the session remains in the default state (Production
+ * Mode).
+ * See https://cloud.google.com/looker/docs/dev-mode-prod-mode.
+ *
+ *
+ * bool enable_dev_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The enableDevMode.
+ */
+ boolean getEnableDevMode();
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/MatchedQuery.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/MatchedQuery.java
new file mode 100644
index 000000000000..01717a843462
--- /dev/null
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/MatchedQuery.java
@@ -0,0 +1,1306 @@
+/*
+ * 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/geminidataanalytics/v1beta/context.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.cloud.geminidataanalytics.v1beta;
+
+/**
+ *
+ *
+ *
+ * A matched query message represents the agent having matched one of the
+ * example queries supplied in context as being applicable to the current
+ * question. It will also contain additional info during the matching process.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.MatchedQuery}
+ */
+@com.google.protobuf.Generated
+public final class MatchedQuery extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.MatchedQuery)
+ MatchedQueryOrBuilder {
+ 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= */ "",
+ "MatchedQuery");
+ }
+
+ // Use MatchedQuery.newBuilder() to construct.
+ private MatchedQuery(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private MatchedQuery() {
+ queryParameterValues_ = java.util.Collections.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_MatchedQuery_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.ContextProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_MatchedQuery_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.class,
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int EXAMPLE_QUERY_FIELD_NUMBER = 1;
+ private com.google.cloud.geminidataanalytics.v1beta.ExampleQuery exampleQuery_;
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ *
+ * @return Whether the exampleQuery field is set.
+ */
+ @java.lang.Override
+ public boolean hasExampleQuery() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ *
+ * @return The exampleQuery.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuery() {
+ return exampleQuery_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance()
+ : exampleQuery_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder
+ getExampleQueryOrBuilder() {
+ return exampleQuery_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance()
+ : exampleQuery_;
+ }
+
+ public static final int QUERY_PARAMETER_VALUES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.QueryParameterValuesOrBuilder>
+ getQueryParameterValuesOrBuilderList() {
+ return queryParameterValues_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ @java.lang.Override
+ public int getQueryParameterValuesCount() {
+ return queryParameterValues_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues getQueryParameterValues(
+ int index) {
+ return queryParameterValues_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameterValuesOrBuilder
+ getQueryParameterValuesOrBuilder(int index) {
+ return queryParameterValues_.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 (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getExampleQuery());
+ }
+ for (int i = 0; i < queryParameterValues_.size(); i++) {
+ output.writeMessage(2, queryParameterValues_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExampleQuery());
+ }
+ for (int i = 0; i < queryParameterValues_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(2, queryParameterValues_.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.geminidataanalytics.v1beta.MatchedQuery)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.MatchedQuery other =
+ (com.google.cloud.geminidataanalytics.v1beta.MatchedQuery) obj;
+
+ if (hasExampleQuery() != other.hasExampleQuery()) return false;
+ if (hasExampleQuery()) {
+ if (!getExampleQuery().equals(other.getExampleQuery())) return false;
+ }
+ if (!getQueryParameterValuesList().equals(other.getQueryParameterValuesList())) 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 (hasExampleQuery()) {
+ hash = (37 * hash) + EXAMPLE_QUERY_FIELD_NUMBER;
+ hash = (53 * hash) + getExampleQuery().hashCode();
+ }
+ if (getQueryParameterValuesCount() > 0) {
+ hash = (37 * hash) + QUERY_PARAMETER_VALUES_FIELD_NUMBER;
+ hash = (53 * hash) + getQueryParameterValuesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.MatchedQuery parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.MatchedQuery 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.geminidataanalytics.v1beta.MatchedQuery parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.MatchedQuery 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.geminidataanalytics.v1beta.MatchedQuery parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.MatchedQuery parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.MatchedQuery parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.MatchedQuery 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.geminidataanalytics.v1beta.MatchedQuery parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.MatchedQuery 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.geminidataanalytics.v1beta.MatchedQuery parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.MatchedQuery 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.geminidataanalytics.v1beta.MatchedQuery 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * A matched query message represents the agent having matched one of the
+ * example queries supplied in context as being applicable to the current
+ * question. It will also contain additional info during the matching process.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.MatchedQuery}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ *
+ * @return Whether the exampleQuery field is set.
+ */
+ public boolean hasExampleQuery() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ *
+ * @return The exampleQuery.
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuery() {
+ if (exampleQueryBuilder_ == null) {
+ return exampleQuery_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance()
+ : exampleQuery_;
+ } else {
+ return exampleQueryBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ */
+ public Builder setExampleQuery(com.google.cloud.geminidataanalytics.v1beta.ExampleQuery value) {
+ if (exampleQueryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ exampleQuery_ = value;
+ } else {
+ exampleQueryBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ */
+ public Builder setExampleQuery(
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.Builder builderForValue) {
+ if (exampleQueryBuilder_ == null) {
+ exampleQuery_ = builderForValue.build();
+ } else {
+ exampleQueryBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ */
+ public Builder mergeExampleQuery(
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery value) {
+ if (exampleQueryBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && exampleQuery_ != null
+ && exampleQuery_
+ != com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance()) {
+ getExampleQueryBuilder().mergeFrom(value);
+ } else {
+ exampleQuery_ = value;
+ }
+ } else {
+ exampleQueryBuilder_.mergeFrom(value);
+ }
+ if (exampleQuery_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ */
+ public Builder clearExampleQuery() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ exampleQuery_ = null;
+ if (exampleQueryBuilder_ != null) {
+ exampleQueryBuilder_.dispose();
+ exampleQueryBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.Builder
+ getExampleQueryBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return internalGetExampleQueryFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder
+ getExampleQueryOrBuilder() {
+ if (exampleQueryBuilder_ != null) {
+ return exampleQueryBuilder_.getMessageOrBuilder();
+ } else {
+ return exampleQuery_ == null
+ ? com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.getDefaultInstance()
+ : exampleQuery_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery,
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder>
+ internalGetExampleQueryFieldBuilder() {
+ if (exampleQueryBuilder_ == null) {
+ exampleQueryBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery,
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery.Builder,
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder>(
+ getExampleQuery(), getParentForChildren(), isClean());
+ exampleQuery_ = null;
+ }
+ return exampleQueryBuilder_;
+ }
+
+ private java.util.List
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public java.util.List
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public int getQueryParameterValuesCount() {
+ if (queryParameterValuesBuilder_ == null) {
+ return queryParameterValues_.size();
+ } else {
+ return queryParameterValuesBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues getQueryParameterValues(
+ int index) {
+ if (queryParameterValuesBuilder_ == null) {
+ return queryParameterValues_.get(index);
+ } else {
+ return queryParameterValuesBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public Builder setQueryParameterValues(
+ int index, com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues value) {
+ if (queryParameterValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureQueryParameterValuesIsMutable();
+ queryParameterValues_.set(index, value);
+ onChanged();
+ } else {
+ queryParameterValuesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public Builder setQueryParameterValues(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues.Builder builderForValue) {
+ if (queryParameterValuesBuilder_ == null) {
+ ensureQueryParameterValuesIsMutable();
+ queryParameterValues_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ queryParameterValuesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public Builder addQueryParameterValues(
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues value) {
+ if (queryParameterValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureQueryParameterValuesIsMutable();
+ queryParameterValues_.add(value);
+ onChanged();
+ } else {
+ queryParameterValuesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public Builder addQueryParameterValues(
+ int index, com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues value) {
+ if (queryParameterValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureQueryParameterValuesIsMutable();
+ queryParameterValues_.add(index, value);
+ onChanged();
+ } else {
+ queryParameterValuesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public Builder addQueryParameterValues(
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues.Builder builderForValue) {
+ if (queryParameterValuesBuilder_ == null) {
+ ensureQueryParameterValuesIsMutable();
+ queryParameterValues_.add(builderForValue.build());
+ onChanged();
+ } else {
+ queryParameterValuesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public Builder addQueryParameterValues(
+ int index,
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues.Builder builderForValue) {
+ if (queryParameterValuesBuilder_ == null) {
+ ensureQueryParameterValuesIsMutable();
+ queryParameterValues_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ queryParameterValuesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public Builder addAllQueryParameterValues(
+ java.lang.Iterable<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues>
+ values) {
+ if (queryParameterValuesBuilder_ == null) {
+ ensureQueryParameterValuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queryParameterValues_);
+ onChanged();
+ } else {
+ queryParameterValuesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public Builder clearQueryParameterValues() {
+ if (queryParameterValuesBuilder_ == null) {
+ queryParameterValues_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ queryParameterValuesBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public Builder removeQueryParameterValues(int index) {
+ if (queryParameterValuesBuilder_ == null) {
+ ensureQueryParameterValuesIsMutable();
+ queryParameterValues_.remove(index);
+ onChanged();
+ } else {
+ queryParameterValuesBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues.Builder
+ getQueryParameterValuesBuilder(int index) {
+ return internalGetQueryParameterValuesFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameterValuesOrBuilder
+ getQueryParameterValuesOrBuilder(int index) {
+ if (queryParameterValuesBuilder_ == null) {
+ return queryParameterValues_.get(index);
+ } else {
+ return queryParameterValuesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.QueryParameterValuesOrBuilder>
+ getQueryParameterValuesOrBuilderList() {
+ if (queryParameterValuesBuilder_ != null) {
+ return queryParameterValuesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(queryParameterValues_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues.Builder
+ addQueryParameterValuesBuilder() {
+ return internalGetQueryParameterValuesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues
+ .getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues.Builder
+ addQueryParameterValuesBuilder(int index) {
+ return internalGetQueryParameterValuesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues
+ .getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ public java.util.List
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ *
+ * @return Whether the exampleQuery field is set.
+ */
+ boolean hasExampleQuery();
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ *
+ * @return The exampleQuery.
+ */
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuery();
+
+ /**
+ *
+ *
+ *
+ * The query that was matched based on an example query.
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ */
+ com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQueryOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ java.util.List
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameterValues getQueryParameterValues(
+ int index);
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ int getQueryParameterValuesCount();
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1beta.QueryParameterValuesOrBuilder>
+ getQueryParameterValuesOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * The extracted values for the query parameters.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1beta.QueryParameterValuesOrBuilder
+ getQueryParameterValuesOrBuilder(int index);
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ParameterizedSecureViewParameters.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ParameterizedSecureViewParameters.java
index ea1daa21cb63..edac1eecfcfd 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ParameterizedSecureViewParameters.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ParameterizedSecureViewParameters.java
@@ -54,88 +54,950 @@ private ParameterizedSecureViewParameters(
super(builder);
}
- private ParameterizedSecureViewParameters() {}
+ private ParameterizedSecureViewParameters() {
+ parameters_ = java.util.Collections.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.class,
+ com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Builder
+ .class);
+ }
+
+ public interface ParameterOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ *
+ * string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The key.
+ */
+ java.lang.String getKey();
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ *
+ * string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for key.
+ */
+ com.google.protobuf.ByteString getKeyBytes();
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ *
+ * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The value.
+ */
+ java.lang.String getValue();
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ *
+ * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for value.
+ */
+ com.google.protobuf.ByteString getValueBytes();
+ }
+
+ /**
+ *
+ *
+ *
+ * Represents a single parameter for Parameterized Secure Views.
+ *
+ *
+ * Protobuf type {@code
+ * google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter}
+ */
+ public static final class Parameter extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter)
+ ParameterOrBuilder {
+ 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= */ "",
+ "Parameter");
+ }
+
+ // Use Parameter.newBuilder() to construct.
+ private Parameter(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private Parameter() {
+ key_ = "";
+ value_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_Parameter_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto
+ .internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_Parameter_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter.class,
+ com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter.Builder.class);
+ }
+
+ public static final int KEY_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object key_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ *
+ * string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The key.
+ */
+ @java.lang.Override
+ public java.lang.String getKey() {
+ java.lang.Object ref = key_;
+ 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();
+ key_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ *
+ * string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for key.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getKeyBytes() {
+ java.lang.Object ref = key_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ key_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int VALUE_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object value_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ *
+ * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The value.
+ */
+ @java.lang.Override
+ public java.lang.String getValue() {
+ java.lang.Object ref = value_;
+ 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();
+ value_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ *
+ * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for value.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getValueBytes() {
+ java.lang.Object ref = value_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ value_ = 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(key_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, key_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, value_);
+ }
+ 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(key_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_);
+ }
+ 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.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter
+ other =
+ (com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter)
+ obj;
+
+ if (!getKey().equals(other.getKey())) return false;
+ if (!getValue().equals(other.getValue())) 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) + KEY_FIELD_NUMBER;
+ hash = (53 * hash) + getKey().hashCode();
+ hash = (37 * hash) + VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getValue().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ 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.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ 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.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ 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.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ 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.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter
+ 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.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter
+ 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * Represents a single parameter for Parameterized Secure Views.
+ *
+ *
+ * Protobuf type {@code
+ * google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ *
+ * string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The key.
+ */
+ public java.lang.String getKey() {
+ java.lang.Object ref = key_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ key_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ *
+ * string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for key.
+ */
+ public com.google.protobuf.ByteString getKeyBytes() {
+ java.lang.Object ref = key_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ key_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ *
+ * string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The key to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKey(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ key_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ *
+ * string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearKey() {
+ key_ = getDefaultInstance().getKey();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ *
+ * string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for key to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKeyBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ key_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object value_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ *
+ * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The value.
+ */
+ public java.lang.String getValue() {
+ java.lang.Object ref = value_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ value_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ *
+ * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for value.
+ */
+ public com.google.protobuf.ByteString getValueBytes() {
+ java.lang.Object ref = value_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ value_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto
- .internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_descriptor;
- }
+ /**
+ *
+ *
+ *
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ *
+ * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValue(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ value_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
- @SuppressWarnings({"rawtypes"})
- @java.lang.Override
- protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
- int number) {
- switch (number) {
- case 1:
- return internalGetParameters();
- default:
- throw new RuntimeException("Invalid map field number: " + number);
+ /**
+ *
+ *
+ *
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ *
+ * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearValue() {
+ value_ = getDefaultInstance().getValue();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ *
+ * string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValueBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ value_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter)
}
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto
- .internal_static_google_cloud_geminidataanalytics_v1beta_ParameterizedSecureViewParameters_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.class,
- com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Builder
- .class);
- }
+ // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter)
+ private static final com.google.cloud.geminidataanalytics.v1beta
+ .ParameterizedSecureViewParameters.Parameter
+ DEFAULT_INSTANCE;
- public static final int PARAMETERS_FIELD_NUMBER = 1;
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters
+ .Parameter();
+ }
- private static final class ParametersDefaultEntryHolder {
- static final com.google.protobuf.MapEntry
* Optional. Named parameters for Parameterized Secure Views (PSV).
- * The map keys are parameter names (e.g., `"user_id"`), and values are the
- * corresponding parameter values (e.g., `"123"`).
*
*
- * map<string, string> parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
- public boolean containsParameters(java.lang.String key) {
- if (key == null) {
- throw new NullPointerException("map key");
- }
- return internalGetParameters().getMap().containsKey(key);
+ public java.util.List<
+ com.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter>
+ getParametersList() {
+ return parameters_;
}
- /** Use {@link #getParametersMap()} instead. */
+ /**
+ *
+ *
+ *
+ * Optional. Named parameters for Parameterized Secure Views (PSV).
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
@java.lang.Override
- @java.lang.Deprecated
- public java.util.Map
* Optional. Named parameters for Parameterized Secure Views (PSV).
- * The map keys are parameter names (e.g., `"user_id"`), and values are the
- * corresponding parameter values (e.g., `"123"`).
*
*
- * map<string, string> parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
- public java.util.Map
* Optional. Named parameters for Parameterized Secure Views (PSV).
- * The map keys are parameter names (e.g., `"user_id"`), and values are the
- * corresponding parameter values (e.g., `"123"`).
*
*
- * map<string, string> parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
- public /* nullable */ java.lang.String getParametersOrDefault(
- java.lang.String key,
- /* nullable */
- java.lang.String defaultValue) {
- if (key == null) {
- throw new NullPointerException("map key");
- }
- java.util.Map
* Optional. Named parameters for Parameterized Secure Views (PSV).
- * The map keys are parameter names (e.g., `"user_id"`), and values are the
- * corresponding parameter values (e.g., `"123"`).
*
*
- * map<string, string> parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * repeated .google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
- public java.lang.String getParametersOrThrow(java.lang.String key) {
- if (key == null) {
- throw new NullPointerException("map key");
- }
- java.util.Map