diff --git a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgentServiceClient.java b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgentServiceClient.java index bdd358665769..78d466733d2f 100644 --- a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgentServiceClient.java +++ b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgentServiceClient.java @@ -293,7 +293,7 @@ * *
SetAgentOpsObservability
Enables/Disables required GCP services and configures AgentOps observability settings calling the Admin Settings executable node to update the AgentOps Observability feature.
Enables/Disables required GCP services and configures AgentOps observability settings.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*Sample code:
*
@@ -2026,8 +2025,7 @@ public final UnaryCallable Sample code:
*
@@ -2070,8 +2068,7 @@ public final UnaryCallable Sample code:
*
@@ -2105,8 +2102,7 @@ public final UnaryCallable Sample code:
*
@@ -2142,8 +2138,7 @@ public final UnaryCallable Sample code:
*
diff --git a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/stub/DataAgentServiceStubSettings.java b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/stub/DataAgentServiceStubSettings.java
index c184bb023b72..cf4f037c5bec 100644
--- a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/stub/DataAgentServiceStubSettings.java
+++ b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/stub/DataAgentServiceStubSettings.java
@@ -704,10 +704,10 @@ public static class Builder extends StubSettings.Builder
* Enables/Disables required GCP services and configures AgentOps
- * observability settings calling the Admin Settings executable node to
- * update the AgentOps Observability feature.
+ * observability settings.
*
*/
public void setAgentOpsObservability(
@@ -1338,8 +1336,7 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
*
*
* Enables/Disables required GCP services and configures AgentOps
- * observability settings calling the Admin Settings executable node to
- * update the AgentOps Observability feature.
+ * observability settings.
*
*/
public com.google.longrunning.Operation setAgentOpsObservability(
@@ -1532,8 +1529,7 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
*
*
* Enables/Disables required GCP services and configures AgentOps
- * observability settings calling the Admin Settings executable node to
- * update the AgentOps Observability feature.
+ * observability settings.
*
*/
public com.google.longrunning.Operation setAgentOpsObservability(
@@ -1734,8 +1730,7 @@ protected DataAgentServiceFutureStub build(
*
*
* Enables/Disables required GCP services and configures AgentOps
- * observability settings calling the Admin Settings executable node to
- * update the AgentOps Observability feature.
+ * observability settings.
*
*/
public com.google.common.util.concurrent.ListenableFuture
+ * Message representing a reference to a single BigQuery dataset.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1.BigQueryDatasetReference}
+ */
+@com.google.protobuf.Generated
+public final class BigQueryDatasetReference extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1.BigQueryDatasetReference)
+ BigQueryDatasetReferenceOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "BigQueryDatasetReference");
+ }
+
+ // Use BigQueryDatasetReference.newBuilder() to construct.
+ private BigQueryDatasetReference(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private BigQueryDatasetReference() {
+ projectId_ = "";
+ datasetId_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1.DatasourceProto
+ .internal_static_google_cloud_geminidataanalytics_v1_BigQueryDatasetReference_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1.DatasourceProto
+ .internal_static_google_cloud_geminidataanalytics_v1_BigQueryDatasetReference_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference.class,
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference.Builder.class);
+ }
+
+ public static final int PROJECT_ID_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object projectId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. The project ID that the dataset 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 ID that the dataset 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 ID.
+ *
+ *
+ * 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 ID.
+ *
+ *
+ * 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;
+ }
+ }
+
+ 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_);
+ }
+ 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_);
+ }
+ 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.v1.BigQueryDatasetReference)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference other =
+ (com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference) obj;
+
+ if (!getProjectId().equals(other.getProjectId())) return false;
+ if (!getDatasetId().equals(other.getDatasetId())) 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 = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference 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.v1.BigQueryDatasetReference parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference 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.v1.BigQueryDatasetReference parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference 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.v1.BigQueryDatasetReference parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference 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.v1.BigQueryDatasetReference parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference 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.v1.BigQueryDatasetReference 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 dataset.
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1.BigQueryDatasetReference}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Required. The project ID that the dataset 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 ID that the dataset 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 ID that the dataset 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 ID that the dataset 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 ID that the dataset 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 ID.
+ *
+ *
+ * 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 ID.
+ *
+ *
+ * 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 ID.
+ *
+ *
+ * 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 ID.
+ *
+ *
+ * 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 ID.
+ *
+ *
+ * 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;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1.BigQueryDatasetReference)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1.BigQueryDatasetReference)
+ private static final com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference();
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The project ID that the dataset belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
+ */
+ java.lang.String getProjectId();
+
+ /**
+ *
+ *
+ *
+ * Required. The project ID that the dataset belongs to.
+ *
+ *
+ * string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
+ */
+ com.google.protobuf.ByteString getProjectIdBytes();
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset ID.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The datasetId.
+ */
+ java.lang.String getDatasetId();
+
+ /**
+ *
+ *
+ *
+ * Required. The dataset ID.
+ *
+ *
+ * string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for datasetId.
+ */
+ com.google.protobuf.ByteString getDatasetIdBytes();
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/BigQueryTableReferences.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/BigQueryTableReferences.java
index 013d3d924b9b..040be7439e7b 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/BigQueryTableReferences.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/BigQueryTableReferences.java
@@ -73,6 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.geminidataanalytics.v1.BigQueryTableReferences.Builder.class);
}
+ private int bitField0_;
public static final int TABLE_REFERENCES_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
@@ -275,6 +276,95 @@ public int getPropertyGraphReferencesCount() {
return propertyGraphReferences_.get(index);
}
+ public static final int SEARCH_SCOPE_FIELD_NUMBER = 3;
+ private com.google.cloud.geminidataanalytics.v1.SearchScope searchScope_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the searchScope field is set.
+ */
+ @java.lang.Override
+ public boolean hasSearchScope() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The searchScope.
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1.SearchScope getSearchScope() {
+ return searchScope_ == null
+ ? com.google.cloud.geminidataanalytics.v1.SearchScope.getDefaultInstance()
+ : searchScope_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1.SearchScopeOrBuilder getSearchScopeOrBuilder() {
+ return searchScope_ == null
+ ? com.google.cloud.geminidataanalytics.v1.SearchScope.getDefaultInstance()
+ : searchScope_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -295,6 +385,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < propertyGraphReferences_.size(); i++) {
output.writeMessage(2, propertyGraphReferences_.get(i));
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(3, getSearchScope());
+ }
getUnknownFields().writeTo(output);
}
@@ -312,6 +405,9 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
2, propertyGraphReferences_.get(i));
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSearchScope());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -331,6 +427,10 @@ public boolean equals(final java.lang.Object obj) {
if (!getTableReferencesList().equals(other.getTableReferencesList())) return false;
if (!getPropertyGraphReferencesList().equals(other.getPropertyGraphReferencesList()))
return false;
+ if (hasSearchScope() != other.hasSearchScope()) return false;
+ if (hasSearchScope()) {
+ if (!getSearchScope().equals(other.getSearchScope())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -350,6 +450,10 @@ public int hashCode() {
hash = (37 * hash) + PROPERTY_GRAPH_REFERENCES_FIELD_NUMBER;
hash = (53 * hash) + getPropertyGraphReferencesList().hashCode();
}
+ if (hasSearchScope()) {
+ hash = (37 * hash) + SEARCH_SCOPE_FIELD_NUMBER;
+ hash = (53 * hash) + getSearchScope().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -483,10 +587,21 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
// Construct using com.google.cloud.geminidataanalytics.v1.BigQueryTableReferences.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) {
+ internalGetTableReferencesFieldBuilder();
+ internalGetPropertyGraphReferencesFieldBuilder();
+ internalGetSearchScopeFieldBuilder();
+ }
}
@java.lang.Override
@@ -507,6 +622,11 @@ public Builder clear() {
propertyGraphReferencesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
+ searchScope_ = null;
+ if (searchScopeBuilder_ != null) {
+ searchScopeBuilder_.dispose();
+ searchScopeBuilder_ = null;
+ }
return this;
}
@@ -569,6 +689,13 @@ private void buildPartialRepeatedFields(
private void buildPartial0(
com.google.cloud.geminidataanalytics.v1.BigQueryTableReferences result) {
int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.searchScope_ =
+ searchScopeBuilder_ == null ? searchScope_ : searchScopeBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
@@ -640,6 +767,9 @@ public Builder mergeFrom(
}
}
}
+ if (other.hasSearchScope()) {
+ mergeSearchScope(other.getSearchScope());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -695,6 +825,13 @@ public Builder mergeFrom(
}
break;
} // case 18
+ case 26:
+ {
+ input.readMessage(
+ internalGetSearchScopeFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1643,6 +1780,310 @@ public Builder removePropertyGraphReferences(int index) {
return propertyGraphReferencesBuilder_;
}
+ private com.google.cloud.geminidataanalytics.v1.SearchScope searchScope_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1.SearchScope,
+ com.google.cloud.geminidataanalytics.v1.SearchScope.Builder,
+ com.google.cloud.geminidataanalytics.v1.SearchScopeOrBuilder>
+ searchScopeBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the searchScope field is set.
+ */
+ public boolean hasSearchScope() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The searchScope.
+ */
+ public com.google.cloud.geminidataanalytics.v1.SearchScope getSearchScope() {
+ if (searchScopeBuilder_ == null) {
+ return searchScope_ == null
+ ? com.google.cloud.geminidataanalytics.v1.SearchScope.getDefaultInstance()
+ : searchScope_;
+ } else {
+ return searchScopeBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setSearchScope(com.google.cloud.geminidataanalytics.v1.SearchScope value) {
+ if (searchScopeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ searchScope_ = value;
+ } else {
+ searchScopeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setSearchScope(
+ com.google.cloud.geminidataanalytics.v1.SearchScope.Builder builderForValue) {
+ if (searchScopeBuilder_ == null) {
+ searchScope_ = builderForValue.build();
+ } else {
+ searchScopeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeSearchScope(com.google.cloud.geminidataanalytics.v1.SearchScope value) {
+ if (searchScopeBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)
+ && searchScope_ != null
+ && searchScope_
+ != com.google.cloud.geminidataanalytics.v1.SearchScope.getDefaultInstance()) {
+ getSearchScopeBuilder().mergeFrom(value);
+ } else {
+ searchScope_ = value;
+ }
+ } else {
+ searchScopeBuilder_.mergeFrom(value);
+ }
+ if (searchScope_ != null) {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearSearchScope() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ searchScope_ = null;
+ if (searchScopeBuilder_ != null) {
+ searchScopeBuilder_.dispose();
+ searchScopeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1.SearchScope.Builder getSearchScopeBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return internalGetSearchScopeFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1.SearchScopeOrBuilder getSearchScopeOrBuilder() {
+ if (searchScopeBuilder_ != null) {
+ return searchScopeBuilder_.getMessageOrBuilder();
+ } else {
+ return searchScope_ == null
+ ? com.google.cloud.geminidataanalytics.v1.SearchScope.getDefaultInstance()
+ : searchScope_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1.SearchScope,
+ com.google.cloud.geminidataanalytics.v1.SearchScope.Builder,
+ com.google.cloud.geminidataanalytics.v1.SearchScopeOrBuilder>
+ internalGetSearchScopeFieldBuilder() {
+ if (searchScopeBuilder_ == null) {
+ searchScopeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.geminidataanalytics.v1.SearchScope,
+ com.google.cloud.geminidataanalytics.v1.SearchScope.Builder,
+ com.google.cloud.geminidataanalytics.v1.SearchScopeOrBuilder>(
+ getSearchScope(), getParentForChildren(), isClean());
+ searchScope_ = null;
+ }
+ return searchScopeBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1.BigQueryTableReferences)
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/BigQueryTableReferencesOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/BigQueryTableReferencesOrBuilder.java
index a64f615b933d..bd14f5777139 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/BigQueryTableReferencesOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/BigQueryTableReferencesOrBuilder.java
@@ -183,4 +183,77 @@ com.google.cloud.geminidataanalytics.v1.BigQueryPropertyGraphReference getProper
*/
com.google.cloud.geminidataanalytics.v1.BigQueryPropertyGraphReferenceOrBuilder
getPropertyGraphReferencesOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the searchScope field is set.
+ */
+ boolean hasSearchScope();
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The searchScope.
+ */
+ com.google.cloud.geminidataanalytics.v1.SearchScope getSearchScope();
+
+ /**
+ *
+ *
+ *
+ * Optional. Search over BigQuery resources to discover most relevant tables
+ * to the query.
+ *
+ * When set, at least one of `include_project_ids` or
+ * `include_dataset_references` must be populated with non-blank identifiers.
+ * Matches from the two fields are unioned (OR-ed).
+ *
+ * Note: `search_scope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ *
+ * .google.cloud.geminidataanalytics.v1.SearchScope search_scope = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1.SearchScopeOrBuilder getSearchScopeOrBuilder();
}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/ChatRequest.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/ChatRequest.java
index 498246b75904..39b5ed09b6ca 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/ChatRequest.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/ChatRequest.java
@@ -87,8 +87,8 @@ public enum ThinkingMode implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * Unspecified thinking mode, agent will use THINKING mode by default except
- * for BigQuery user defaulting to FAST mode by default.
+ * The default value. For BigQuery and Looker data sources, the agent uses
+ * FAST. For all other data sources, the agent uses THINKING.
*
*
* THINKING_MODE_UNSPECIFIED = 0;
@@ -131,8 +131,8 @@ public enum ThinkingMode implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * Unspecified thinking mode, agent will use THINKING mode by default except
- * for BigQuery user defaulting to FAST mode by default.
+ * The default value. For BigQuery and Looker data sources, the agent uses
+ * FAST. For all other data sources, the agent uses THINKING.
*
*
* THINKING_MODE_UNSPECIFIED = 0;
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgent.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgent.java
index 8896b5f38971..09f7c15b3527 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgent.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgent.java
@@ -833,7 +833,10 @@ public com.google.protobuf.ByteString getKmsKeyBytes() {
* `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
* this without a table has no effect: no table is created for the agent
* and no rows are written. On an agent whose datasource is not BigQuery,
- * `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
+ * `CreateDataAgent` and `UpdateDataAgent` reject setting this field to
+ * `true` or setting `bigquery_agent_analytics_table` with
+ * `INVALID_ARGUMENT`. See `bigquery_agent_analytics_table` for when this
+ * is checked.
*
* This setting is independent of the project-level BigQuery Agent Analytics
* setting configured through `SetAgentOpsObservability`. An agent does not
@@ -872,7 +875,10 @@ public boolean hasBigqueryAgentAnalyticsEnabled() {
* `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
* this without a table has no effect: no table is created for the agent
* and no rows are written. On an agent whose datasource is not BigQuery,
- * `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
+ * `CreateDataAgent` and `UpdateDataAgent` reject setting this field to
+ * `true` or setting `bigquery_agent_analytics_table` with
+ * `INVALID_ARGUMENT`. See `bigquery_agent_analytics_table` for when this
+ * is checked.
*
* This setting is independent of the project-level BigQuery Agent Analytics
* setting configured through `SetAgentOpsObservability`. An agent does not
@@ -903,17 +909,26 @@ public boolean getBigqueryAgentAnalyticsEnabled() {
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -945,17 +960,26 @@ public boolean hasBigqueryAgentAnalyticsTable() {
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -990,17 +1014,26 @@ public boolean hasBigqueryAgentAnalyticsTable() {
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -3659,7 +3692,10 @@ public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) {
* `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
* this without a table has no effect: no table is created for the agent
* and no rows are written. On an agent whose datasource is not BigQuery,
- * `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
+ * `CreateDataAgent` and `UpdateDataAgent` reject setting this field to
+ * `true` or setting `bigquery_agent_analytics_table` with
+ * `INVALID_ARGUMENT`. See `bigquery_agent_analytics_table` for when this
+ * is checked.
*
* This setting is independent of the project-level BigQuery Agent Analytics
* setting configured through `SetAgentOpsObservability`. An agent does not
@@ -3698,7 +3734,10 @@ public boolean hasBigqueryAgentAnalyticsEnabled() {
* `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
* this without a table has no effect: no table is created for the agent
* and no rows are written. On an agent whose datasource is not BigQuery,
- * `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
+ * `CreateDataAgent` and `UpdateDataAgent` reject setting this field to
+ * `true` or setting `bigquery_agent_analytics_table` with
+ * `INVALID_ARGUMENT`. See `bigquery_agent_analytics_table` for when this
+ * is checked.
*
* This setting is independent of the project-level BigQuery Agent Analytics
* setting configured through `SetAgentOpsObservability`. An agent does not
@@ -3737,7 +3776,10 @@ public boolean getBigqueryAgentAnalyticsEnabled() {
* `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
* this without a table has no effect: no table is created for the agent
* and no rows are written. On an agent whose datasource is not BigQuery,
- * `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
+ * `CreateDataAgent` and `UpdateDataAgent` reject setting this field to
+ * `true` or setting `bigquery_agent_analytics_table` with
+ * `INVALID_ARGUMENT`. See `bigquery_agent_analytics_table` for when this
+ * is checked.
*
* This setting is independent of the project-level BigQuery Agent Analytics
* setting configured through `SetAgentOpsObservability`. An agent does not
@@ -3780,7 +3822,10 @@ public Builder setBigqueryAgentAnalyticsEnabled(boolean value) {
* `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
* this without a table has no effect: no table is created for the agent
* and no rows are written. On an agent whose datasource is not BigQuery,
- * `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
+ * `CreateDataAgent` and `UpdateDataAgent` reject setting this field to
+ * `true` or setting `bigquery_agent_analytics_table` with
+ * `INVALID_ARGUMENT`. See `bigquery_agent_analytics_table` for when this
+ * is checked.
*
* This setting is independent of the project-level BigQuery Agent Analytics
* setting configured through `SetAgentOpsObservability`. An agent does not
@@ -3817,17 +3862,26 @@ public Builder clearBigqueryAgentAnalyticsEnabled() {
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -3858,17 +3912,26 @@ public boolean hasBigqueryAgentAnalyticsTable() {
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -3906,17 +3969,26 @@ public boolean hasBigqueryAgentAnalyticsTable() {
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -3956,17 +4028,26 @@ public Builder setBigqueryAgentAnalyticsTable(
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -4003,17 +4084,26 @@ public Builder setBigqueryAgentAnalyticsTable(
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -4060,17 +4150,26 @@ public Builder mergeBigqueryAgentAnalyticsTable(
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -4106,17 +4205,26 @@ public Builder clearBigqueryAgentAnalyticsTable() {
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -4148,17 +4256,26 @@ public Builder clearBigqueryAgentAnalyticsTable() {
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -4194,17 +4311,26 @@ public Builder clearBigqueryAgentAnalyticsTable() {
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgentOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgentOrBuilder.java
index 07cb12319ae1..6c4f2041711d 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgentOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgentOrBuilder.java
@@ -508,7 +508,10 @@ java.lang.String getLabelsOrDefault(
* `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
* this without a table has no effect: no table is created for the agent
* and no rows are written. On an agent whose datasource is not BigQuery,
- * `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
+ * `CreateDataAgent` and `UpdateDataAgent` reject setting this field to
+ * `true` or setting `bigquery_agent_analytics_table` with
+ * `INVALID_ARGUMENT`. See `bigquery_agent_analytics_table` for when this
+ * is checked.
*
* This setting is independent of the project-level BigQuery Agent Analytics
* setting configured through `SetAgentOpsObservability`. An agent does not
@@ -544,7 +547,10 @@ java.lang.String getLabelsOrDefault(
* `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
* this without a table has no effect: no table is created for the agent
* and no rows are written. On an agent whose datasource is not BigQuery,
- * `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
+ * `CreateDataAgent` and `UpdateDataAgent` reject setting this field to
+ * `true` or setting `bigquery_agent_analytics_table` with
+ * `INVALID_ARGUMENT`. See `bigquery_agent_analytics_table` for when this
+ * is checked.
*
* This setting is independent of the project-level BigQuery Agent Analytics
* setting configured through `SetAgentOpsObservability`. An agent does not
@@ -568,17 +574,26 @@ java.lang.String getLabelsOrDefault(
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -607,17 +622,26 @@ java.lang.String getLabelsOrDefault(
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
@@ -646,17 +670,26 @@ java.lang.String getLabelsOrDefault(
* `true`. The Preview enrollment described on that field applies here too.
*
* The trace table is validated when it is set on `CreateDataAgent`, or when
- * it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ * an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ * writes a field if the field is in `update_mask` or, when `update_mask` is
+ * omitted, if the field is present in the request, even if its value is
+ * unchanged. An update that only clears this field is not validated. The
* following are rejected with `INVALID_ARGUMENT`:
*
* * The table must belong to the same project as the agent.
* * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
* supported for Looker, Looker Studio or AlloyDB agents.
*
- * These are validated against the agent as sent in the request. An agent
- * that carries no datasource is not validated, and an agent switched to a
- * non-BigQuery datasource is not re-validated; in the latter case no trace
- * rows are written.
+ * On `CreateDataAgent`, the datasource is validated against the agent in
+ * the request. On `UpdateDataAgent`, it is validated against the stored
+ * agent after applying the update whenever the call writes a table to this
+ * field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ * an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ * `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ * datasource is not BigQuery. An agent that carries no datasource is not
+ * validated, and an agent switched to a non-BigQuery datasource by an update
+ * that does neither is not re-validated; in the latter case no trace rows
+ * are written.
*
* The destination dataset must already exist and must grant write access to
* the project's Gemini Data Analytics service agent, whose address is
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DatasourceProto.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DatasourceProto.java
index bb1bc4d35064..82820cb8d407 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DatasourceProto.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/DatasourceProto.java
@@ -52,6 +52,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_geminidataanalytics_v1_BigQueryTableReference_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_geminidataanalytics_v1_BigQueryTableReference_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1_BigQueryDatasetReference_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1_BigQueryDatasetReference_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_geminidataanalytics_v1_SearchScope_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_geminidataanalytics_v1_SearchScope_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_geminidataanalytics_v1_StudioDatasourceReferences_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -111,35 +119,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ".cloud.geminidataanalytics.v1.StudioDatasourceReferencesH\000\022N\n"
+ "\006looker\030\003 \001(\0132<.goo"
+ "gle.cloud.geminidataanalytics.v1.LookerExploreReferencesH\000B\014\n\n"
- + "references\"\344\001\n"
+ + "references\"\262\002\n"
+ "\027BigQueryTableReferences\022[\n"
+ "\020table_references\030\001"
+ " \003(\0132;.google.cloud.geminidataanalytics.v1.BigQueryTableReferenceB\004\342A\001\001\022l\n"
+ "\031property_graph_references\030\002 \003(\0132C.google.cl"
- + "oud.geminidataanalytics.v1.BigQueryPropertyGraphReferenceB\004\342A\001\001\"\247\001\n"
+ + "oud.geminidataanalytics.v1.BigQueryPropertyGraphReferenceB\004\342A\001\001\022L\n"
+ + "\014search_scope\030\003"
+ + " \001(\01320.google.cloud.geminidataanalytics.v1.SearchScopeB\004\342A\001\001\"\247\001\n"
+ "\026BigQueryTableReference\022\030\n\n"
+ "project_id\030\001 \001(\tB\004\342A\001\002\022\030\n\n"
+ "dataset_id\030\003 \001(\tB\004\342A\001\002\022\026\n"
+ "\010table_id\030\004 \001(\tB\004\342A\001\002\022A\n"
+ "\006schema\030\006"
- + " \001(\0132+.google.cloud.geminidataanalytics.v1.SchemaB\004\342A\001\001\"}\n"
+ + " \001(\0132+.google.cloud.geminidataanalytics.v1.SchemaB\004\342A\001\001\"N\n"
+ + "\030BigQueryDatasetReference\022\030\n\n"
+ + "project_id\030\001 \001(\tB\004\342A\001\002\022\030\n\n"
+ + "dataset_id\030\002 \001(\tB\004\342A\001\002\"\231\001\n"
+ + "\013SearchScope\022!\n"
+ + "\023include_project_ids\030\001 \003(\tB\004\342A\001\001\022g\n"
+ + "\032include_dataset_references\030\002 \003(\0132="
+ + ".google.cloud.geminidataanalytics.v1.BigQueryDatasetReferenceB\004\342A\001\001\"}\n"
+ "\032StudioDatasourceReferences\022_\n"
- + "\021studio_references\030\002 \003(\0132>.google.cloud.geminidataanal"
- + "ytics.v1.StudioDatasourceReferenceB\004\342A\001\001\"8\n"
+ + "\021studio_references\030\002"
+ + " \003(\0132>.google.cloud.geminidataanalytics.v1.StudioDatasourceReferenceB\004\342A\001\001\"8\n"
+ "\031StudioDatasourceReference\022\033\n\r"
+ "datasource_id\030\001 \001(\tB\004\342A\001\002\"x\n"
+ "\027LookerExploreReferences\022]\n"
- + "\022explore_references\030\001 \003(\0132;.goog"
- + "le.cloud.geminidataanalytics.v1.LookerExploreReferenceB\004\342A\001\002\"\241\002\n"
+ + "\022explore_references\030\001 \003(\0132;.google.clo"
+ + "ud.geminidataanalytics.v1.LookerExploreReferenceB\004\342A\001\002\"\241\002\n"
+ "\026LookerExploreReference\022\035\n"
+ "\023looker_instance_uri\030\t \001(\tH\000\022f\n"
+ "\034private_looker_instance_info\030\n"
- + " \001(\0132>.g"
- + "oogle.cloud.geminidataanalytics.v1.PrivateLookerInstanceInfoH\000\022\032\n"
+ + " \001(\0132>.google."
+ + "cloud.geminidataanalytics.v1.PrivateLookerInstanceInfoH\000\022\032\n"
+ "\014lookml_model\030\004 \001(\tB\004\342A\001\002\022\025\n"
+ "\007explore\030\005 \001(\tB\004\342A\001\002\022A\n"
- + "\006schema\030\010"
- + " \001(\0132+.google.cloud.geminidataanalytics.v1.SchemaB\004\342A\001\001B\n\n"
+ + "\006schema\030\010 "
+ + "\001(\0132+.google.cloud.geminidataanalytics.v1.SchemaB\004\342A\001\001B\n\n"
+ "\010instance\"u\n"
+ "\036BigQueryPropertyGraphReference\022\030\n\n"
+ "project_id\030\001 \001(\tB\004\342A\001\002\022\030\n\n"
@@ -149,27 +166,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\022looker_instance_id\030\001 \001(\t\022\036\n"
+ "\026service_directory_name\030\002 \001(\t\"\346\003\n\n"
+ "Datasource\022_\n"
- + "\030bigquery_table_reference\030\001"
- + " \001(\0132;.google.cloud.geminidataanalytics.v1.BigQueryTableReferenceH\000\022\036\n"
+ + "\030bigquery_table_reference\030\001 "
+ + "\001(\0132;.google.cloud.geminidataanalytics.v1.BigQueryTableReferenceH\000\022\036\n"
+ "\024studio_datasource_id\030\002 \001(\tH\000\022_\n"
- + "\030looker_explore_reference\030\004 \001(\0132;.google.cloud.gemini"
- + "dataanalytics.v1.LookerExploreReferenceH\000\022p\n"
- + "!bigquery_property_graph_reference\030\020"
- + " \001(\0132C.google.cloud.geminidataanalytics.v1.BigQueryPropertyGraphReferenceH\000\022A\n"
+ + "\030looker_explore_reference\030\004"
+ + " \001(\0132;.google.cloud.geminidataanalytics.v1.LookerExploreReferenceH\000\022p\n"
+ + "!bigquery_property_graph_reference\030\020 \001(\0132C"
+ + ".google.cloud.geminidataanalytics.v1.BigQueryPropertyGraphReferenceH\000\022A\n"
+ "\006schema\030\007"
+ " \001(\0132+.google.cloud.geminidataanalytics.v1.SchemaB\004\342A\001\001\0224\n\r"
+ "struct_schema\030\n"
+ " \001(\0132\027.google.protobuf.StructB\004\342A\001\001B\013\n"
+ "\treference\"\365\001\n"
+ "\006Schema\022@\n"
- + "\006fields\030\001 \003(\0132*.g"
- + "oogle.cloud.geminidataanalytics.v1.FieldB\004\342A\001\001\022\031\n"
+ + "\006fields\030\001 \003(\0132*.google."
+ + "cloud.geminidataanalytics.v1.FieldB\004\342A\001\001\022\031\n"
+ "\013description\030\002 \001(\tB\004\342A\001\001\022\026\n"
+ "\010synonyms\030\003 \003(\tB\004\342A\001\001\022\022\n"
+ "\004tags\030\004 \003(\tB\004\342A\001\001\022\032\n"
+ "\014display_name\030\005 \001(\tB\004\342A\001\001\022F\n"
- + "\007filters\030\006 \003"
- + "(\0132/.google.cloud.geminidataanalytics.v1.DataFilterB\004\342A\001\001\"\237\002\n"
+ + "\007filters\030\006 \003(\0132/.g"
+ + "oogle.cloud.geminidataanalytics.v1.DataFilterB\004\342A\001\001\"\237\002\n"
+ "\005Field\022\022\n"
+ "\004name\030\001 \001(\tB\004\342A\001\001\022\022\n"
+ "\004type\030\002 \001(\tB\004\342A\001\001\022\031\n"
@@ -178,8 +195,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010synonyms\030\006 \003(\tB\004\342A\001\001\022\022\n"
+ "\004tags\030\007 \003(\tB\004\342A\001\001\022\032\n"
+ "\014display_name\030\010 \001(\tB\004\342A\001\001\022C\n"
- + "\tsubfields\030\t"
- + " \003(\0132*.google.cloud.geminidataanalytics.v1.FieldB\004\342A\001\001\022\026\n"
+ + "\tsubfields\030\t \003(\0132"
+ + "*.google.cloud.geminidataanalytics.v1.FieldB\004\342A\001\001\022\026\n"
+ "\010category\030\n"
+ " \001(\tB\004\342A\001\001\022\032\n"
+ "\014value_format\030\013 \001(\tB\004\342A\001\001\"\177\n\n"
@@ -191,11 +208,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\016DataFilterType\022 \n"
+ "\034DATA_FILTER_TYPE_UNSPECIFIED\020\000\022\021\n\r"
+ "ALWAYS_FILTER\020\001B\214\002\n"
- + "\'com.google.cloud.geminidataanalytics.v1B\017Datasou"
- + "rceProtoP\001ZYcloud.google.com/go/geminidataanalytics/apiv1/geminidataanalyticspb;"
- + "geminidataanalyticspb\252\002#Google.Cloud.Gem"
- + "iniDataAnalytics.V1\312\002#Google\\Cloud\\Gemin"
- + "iDataAnalytics\\V1\352\002&Google::Cloud::GeminiDataAnalytics::V1b\006proto3"
+ + "\'com.google.cloud.geminidataanalytics.v1B\017DatasourcePro"
+ + "toP\001ZYcloud.google.com/go/geminidataanalytics/apiv1/geminidataanalyticspb;gemini"
+ + "dataanalyticspb\252\002#Google.Cloud.GeminiDat"
+ + "aAnalytics.V1\312\002#Google\\Cloud\\GeminiDataA"
+ + "nalytics\\V1\352\002&Google::Cloud::GeminiDataAnalytics::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -218,7 +235,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_BigQueryTableReferences_descriptor,
new java.lang.String[] {
- "TableReferences", "PropertyGraphReferences",
+ "TableReferences", "PropertyGraphReferences", "SearchScope",
});
internal_static_google_cloud_geminidataanalytics_v1_BigQueryTableReference_descriptor =
getDescriptor().getMessageType(2);
@@ -228,8 +245,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"ProjectId", "DatasetId", "TableId", "Schema",
});
- internal_static_google_cloud_geminidataanalytics_v1_StudioDatasourceReferences_descriptor =
+ internal_static_google_cloud_geminidataanalytics_v1_BigQueryDatasetReference_descriptor =
getDescriptor().getMessageType(3);
+ internal_static_google_cloud_geminidataanalytics_v1_BigQueryDatasetReference_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1_BigQueryDatasetReference_descriptor,
+ new java.lang.String[] {
+ "ProjectId", "DatasetId",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1_SearchScope_descriptor =
+ getDescriptor().getMessageType(4);
+ internal_static_google_cloud_geminidataanalytics_v1_SearchScope_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_geminidataanalytics_v1_SearchScope_descriptor,
+ new java.lang.String[] {
+ "IncludeProjectIds", "IncludeDatasetReferences",
+ });
+ internal_static_google_cloud_geminidataanalytics_v1_StudioDatasourceReferences_descriptor =
+ getDescriptor().getMessageType(5);
internal_static_google_cloud_geminidataanalytics_v1_StudioDatasourceReferences_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_StudioDatasourceReferences_descriptor,
@@ -237,7 +270,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"StudioReferences",
});
internal_static_google_cloud_geminidataanalytics_v1_StudioDatasourceReference_descriptor =
- getDescriptor().getMessageType(4);
+ getDescriptor().getMessageType(6);
internal_static_google_cloud_geminidataanalytics_v1_StudioDatasourceReference_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_StudioDatasourceReference_descriptor,
@@ -245,7 +278,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DatasourceId",
});
internal_static_google_cloud_geminidataanalytics_v1_LookerExploreReferences_descriptor =
- getDescriptor().getMessageType(5);
+ getDescriptor().getMessageType(7);
internal_static_google_cloud_geminidataanalytics_v1_LookerExploreReferences_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_LookerExploreReferences_descriptor,
@@ -253,7 +286,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ExploreReferences",
});
internal_static_google_cloud_geminidataanalytics_v1_LookerExploreReference_descriptor =
- getDescriptor().getMessageType(6);
+ getDescriptor().getMessageType(8);
internal_static_google_cloud_geminidataanalytics_v1_LookerExploreReference_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_LookerExploreReference_descriptor,
@@ -266,7 +299,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Instance",
});
internal_static_google_cloud_geminidataanalytics_v1_BigQueryPropertyGraphReference_descriptor =
- getDescriptor().getMessageType(7);
+ getDescriptor().getMessageType(9);
internal_static_google_cloud_geminidataanalytics_v1_BigQueryPropertyGraphReference_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_BigQueryPropertyGraphReference_descriptor,
@@ -274,7 +307,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ProjectId", "DatasetId", "PropertyGraphId",
});
internal_static_google_cloud_geminidataanalytics_v1_PrivateLookerInstanceInfo_descriptor =
- getDescriptor().getMessageType(8);
+ getDescriptor().getMessageType(10);
internal_static_google_cloud_geminidataanalytics_v1_PrivateLookerInstanceInfo_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_PrivateLookerInstanceInfo_descriptor,
@@ -282,7 +315,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"LookerInstanceId", "ServiceDirectoryName",
});
internal_static_google_cloud_geminidataanalytics_v1_Datasource_descriptor =
- getDescriptor().getMessageType(9);
+ getDescriptor().getMessageType(11);
internal_static_google_cloud_geminidataanalytics_v1_Datasource_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_Datasource_descriptor,
@@ -296,7 +329,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Reference",
});
internal_static_google_cloud_geminidataanalytics_v1_Schema_descriptor =
- getDescriptor().getMessageType(10);
+ getDescriptor().getMessageType(12);
internal_static_google_cloud_geminidataanalytics_v1_Schema_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_Schema_descriptor,
@@ -304,7 +337,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Fields", "Description", "Synonyms", "Tags", "DisplayName", "Filters",
});
internal_static_google_cloud_geminidataanalytics_v1_Field_descriptor =
- getDescriptor().getMessageType(11);
+ getDescriptor().getMessageType(13);
internal_static_google_cloud_geminidataanalytics_v1_Field_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_Field_descriptor,
@@ -321,7 +354,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ValueFormat",
});
internal_static_google_cloud_geminidataanalytics_v1_DataFilter_descriptor =
- getDescriptor().getMessageType(12);
+ getDescriptor().getMessageType(14);
internal_static_google_cloud_geminidataanalytics_v1_DataFilter_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_geminidataanalytics_v1_DataFilter_descriptor,
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/SearchScope.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/SearchScope.java
new file mode 100644
index 000000000000..8062c6a730ef
--- /dev/null
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/java/com/google/cloud/geminidataanalytics/v1/SearchScope.java
@@ -0,0 +1,1321 @@
+/*
+ * 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/v1/datasource.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.geminidataanalytics.v1;
+
+/**
+ *
+ *
+ *
+ * Message representing filters to apply to search over BigQuery tables.
+ *
+ * At least one of `include_project_ids` or `include_dataset_references` must be
+ * populated with non-blank identifiers. Tables matching either field are
+ * included, so the two fields are unioned (OR-ed) rather than intersected.
+ *
+ * Note: `SearchScope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1.SearchScope}
+ */
+@com.google.protobuf.Generated
+public final class SearchScope extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1.SearchScope)
+ SearchScopeOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "SearchScope");
+ }
+
+ // Use SearchScope.newBuilder() to construct.
+ private SearchScope(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private SearchScope() {
+ includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ includeDatasetReferences_ = java.util.Collections.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.geminidataanalytics.v1.DatasourceProto
+ .internal_static_google_cloud_geminidataanalytics_v1_SearchScope_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.geminidataanalytics.v1.DatasourceProto
+ .internal_static_google_cloud_geminidataanalytics_v1_SearchScope_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.geminidataanalytics.v1.SearchScope.class,
+ com.google.cloud.geminidataanalytics.v1.SearchScope.Builder.class);
+ }
+
+ public static final int INCLUDE_PROJECT_IDS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.LazyStringArrayList includeProjectIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return A list containing the includeProjectIds.
+ */
+ public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() {
+ return includeProjectIds_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The count of includeProjectIds.
+ */
+ public int getIncludeProjectIdsCount() {
+ return includeProjectIds_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the element to return.
+ * @return The includeProjectIds at the given index.
+ */
+ public java.lang.String getIncludeProjectIds(int index) {
+ return includeProjectIds_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the includeProjectIds at the given index.
+ */
+ public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) {
+ return includeProjectIds_.getByteString(index);
+ }
+
+ public static final int INCLUDE_DATASET_REFERENCES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReferenceOrBuilder>
+ getIncludeDatasetReferencesOrBuilderList() {
+ return includeDatasetReferences_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getIncludeDatasetReferencesCount() {
+ return includeDatasetReferences_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference
+ getIncludeDatasetReferences(int index) {
+ return includeDatasetReferences_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReferenceOrBuilder
+ getIncludeDatasetReferencesOrBuilder(int index) {
+ return includeDatasetReferences_.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 < includeProjectIds_.size(); i++) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, includeProjectIds_.getRaw(i));
+ }
+ for (int i = 0; i < includeDatasetReferences_.size(); i++) {
+ output.writeMessage(2, includeDatasetReferences_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < includeProjectIds_.size(); i++) {
+ dataSize += computeStringSizeNoTag(includeProjectIds_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getIncludeProjectIdsList().size();
+ }
+ for (int i = 0; i < includeDatasetReferences_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, includeDatasetReferences_.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.v1.SearchScope)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.geminidataanalytics.v1.SearchScope other =
+ (com.google.cloud.geminidataanalytics.v1.SearchScope) obj;
+
+ if (!getIncludeProjectIdsList().equals(other.getIncludeProjectIdsList())) return false;
+ if (!getIncludeDatasetReferencesList().equals(other.getIncludeDatasetReferencesList()))
+ 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 (getIncludeProjectIdsCount() > 0) {
+ hash = (37 * hash) + INCLUDE_PROJECT_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getIncludeProjectIdsList().hashCode();
+ }
+ if (getIncludeDatasetReferencesCount() > 0) {
+ hash = (37 * hash) + INCLUDE_DATASET_REFERENCES_FIELD_NUMBER;
+ hash = (53 * hash) + getIncludeDatasetReferencesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.SearchScope parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.SearchScope 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.v1.SearchScope parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.SearchScope 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.v1.SearchScope parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.SearchScope parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.SearchScope parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.SearchScope 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.v1.SearchScope parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.SearchScope 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.v1.SearchScope parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.geminidataanalytics.v1.SearchScope 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.v1.SearchScope 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 filters to apply to search over BigQuery tables.
+ *
+ * At least one of `include_project_ids` or `include_dataset_references` must be
+ * populated with non-blank identifiers. Tables matching either field are
+ * included, so the two fields are unioned (OR-ed) rather than intersected.
+ *
+ * Note: `SearchScope` is only supported for standalone conversations
+ * (`ChatRequest.inline_context` or
+ * `ClientManagedResourceContext.inline_context`) and is not supported in
+ * [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ *
+ *
+ * Protobuf type {@code google.cloud.geminidataanalytics.v1.SearchScope}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return A list containing the includeProjectIds.
+ */
+ public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() {
+ includeProjectIds_.makeImmutable();
+ return includeProjectIds_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The count of includeProjectIds.
+ */
+ public int getIncludeProjectIdsCount() {
+ return includeProjectIds_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param index The index of the element to return.
+ * @return The includeProjectIds at the given index.
+ */
+ public java.lang.String getIncludeProjectIds(int index) {
+ return includeProjectIds_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the includeProjectIds at the given index.
+ */
+ public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) {
+ return includeProjectIds_.getByteString(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param index The index to set the value at.
+ * @param value The includeProjectIds to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIncludeProjectIds(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIncludeProjectIdsIsMutable();
+ includeProjectIds_.set(index, value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The includeProjectIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addIncludeProjectIds(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIncludeProjectIdsIsMutable();
+ includeProjectIds_.add(value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param values The includeProjectIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllIncludeProjectIds(java.lang.Iterable
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearIncludeProjectIds() {
+ includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ ;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The bytes of the includeProjectIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureIncludeProjectIdsIsMutable();
+ includeProjectIds_.add(value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getIncludeDatasetReferencesCount() {
+ if (includeDatasetReferencesBuilder_ == null) {
+ return includeDatasetReferences_.size();
+ } else {
+ return includeDatasetReferencesBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference
+ getIncludeDatasetReferences(int index) {
+ if (includeDatasetReferencesBuilder_ == null) {
+ return includeDatasetReferences_.get(index);
+ } else {
+ return includeDatasetReferencesBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setIncludeDatasetReferences(
+ int index, com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference value) {
+ if (includeDatasetReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIncludeDatasetReferencesIsMutable();
+ includeDatasetReferences_.set(index, value);
+ onChanged();
+ } else {
+ includeDatasetReferencesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setIncludeDatasetReferences(
+ int index,
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference.Builder builderForValue) {
+ if (includeDatasetReferencesBuilder_ == null) {
+ ensureIncludeDatasetReferencesIsMutable();
+ includeDatasetReferences_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ includeDatasetReferencesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIncludeDatasetReferences(
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference value) {
+ if (includeDatasetReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIncludeDatasetReferencesIsMutable();
+ includeDatasetReferences_.add(value);
+ onChanged();
+ } else {
+ includeDatasetReferencesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIncludeDatasetReferences(
+ int index, com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference value) {
+ if (includeDatasetReferencesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIncludeDatasetReferencesIsMutable();
+ includeDatasetReferences_.add(index, value);
+ onChanged();
+ } else {
+ includeDatasetReferencesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIncludeDatasetReferences(
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference.Builder builderForValue) {
+ if (includeDatasetReferencesBuilder_ == null) {
+ ensureIncludeDatasetReferencesIsMutable();
+ includeDatasetReferences_.add(builderForValue.build());
+ onChanged();
+ } else {
+ includeDatasetReferencesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addIncludeDatasetReferences(
+ int index,
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference.Builder builderForValue) {
+ if (includeDatasetReferencesBuilder_ == null) {
+ ensureIncludeDatasetReferencesIsMutable();
+ includeDatasetReferences_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ includeDatasetReferencesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllIncludeDatasetReferences(
+ java.lang.Iterable<
+ ? extends com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference>
+ values) {
+ if (includeDatasetReferencesBuilder_ == null) {
+ ensureIncludeDatasetReferencesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeDatasetReferences_);
+ onChanged();
+ } else {
+ includeDatasetReferencesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearIncludeDatasetReferences() {
+ if (includeDatasetReferencesBuilder_ == null) {
+ includeDatasetReferences_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ includeDatasetReferencesBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeIncludeDatasetReferences(int index) {
+ if (includeDatasetReferencesBuilder_ == null) {
+ ensureIncludeDatasetReferencesIsMutable();
+ includeDatasetReferences_.remove(index);
+ onChanged();
+ } else {
+ includeDatasetReferencesBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference.Builder
+ getIncludeDatasetReferencesBuilder(int index) {
+ return internalGetIncludeDatasetReferencesFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReferenceOrBuilder
+ getIncludeDatasetReferencesOrBuilder(int index) {
+ if (includeDatasetReferencesBuilder_ == null) {
+ return includeDatasetReferences_.get(index);
+ } else {
+ return includeDatasetReferencesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReferenceOrBuilder>
+ getIncludeDatasetReferencesOrBuilderList() {
+ if (includeDatasetReferencesBuilder_ != null) {
+ return includeDatasetReferencesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(includeDatasetReferences_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference.Builder
+ addIncludeDatasetReferencesBuilder() {
+ return internalGetIncludeDatasetReferencesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference
+ .getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference.Builder
+ addIncludeDatasetReferencesBuilder(int index) {
+ return internalGetIncludeDatasetReferencesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference
+ .getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return A list containing the includeProjectIds.
+ */
+ java.util.List
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The count of includeProjectIds.
+ */
+ int getIncludeProjectIdsCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the element to return.
+ * @return The includeProjectIds at the given index.
+ */
+ java.lang.String getIncludeProjectIds(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery project ids to search over.
+ *
+ *
+ * repeated string include_project_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the includeProjectIds at the given index.
+ */
+ com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReference getIncludeDatasetReferences(
+ int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getIncludeDatasetReferencesCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReferenceOrBuilder>
+ getIncludeDatasetReferencesOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Optional. The BigQuery dataset references to search over.
+ *
+ *
+ *
+ * repeated .google.cloud.geminidataanalytics.v1.BigQueryDatasetReference include_dataset_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.geminidataanalytics.v1.BigQueryDatasetReferenceOrBuilder
+ getIncludeDatasetReferencesOrBuilder(int index);
+}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_agent.proto b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_agent.proto
index a5cc8d5f524a..691a60b34bc9 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_agent.proto
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_agent.proto
@@ -128,7 +128,10 @@ message DataAgent {
// `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
// this without a table has no effect: no table is created for the agent
// and no rows are written. On an agent whose datasource is not BigQuery,
- // `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
+ // `CreateDataAgent` and `UpdateDataAgent` reject setting this field to
+ // `true` or setting `bigquery_agent_analytics_table` with
+ // `INVALID_ARGUMENT`. See `bigquery_agent_analytics_table` for when this
+ // is checked.
//
// This setting is independent of the project-level BigQuery Agent Analytics
// setting configured through `SetAgentOpsObservability`. An agent does not
@@ -141,17 +144,26 @@ message DataAgent {
// `true`. The Preview enrollment described on that field applies here too.
//
// The trace table is validated when it is set on `CreateDataAgent`, or when
- // it is included in the `update_mask` of an `UpdateDataAgent` call. The
+ // an `UpdateDataAgent` call writes a table to it. An `UpdateDataAgent` call
+ // writes a field if the field is in `update_mask` or, when `update_mask` is
+ // omitted, if the field is present in the request, even if its value is
+ // unchanged. An update that only clears this field is not validated. The
// following are rejected with `INVALID_ARGUMENT`:
//
// * The table must belong to the same project as the agent.
// * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
// supported for Looker, Looker Studio or AlloyDB agents.
//
- // These are validated against the agent as sent in the request. An agent
- // that carries no datasource is not validated, and an agent switched to a
- // non-BigQuery datasource is not re-validated; in the latter case no trace
- // rows are written.
+ // On `CreateDataAgent`, the datasource is validated against the agent in
+ // the request. On `UpdateDataAgent`, it is validated against the stored
+ // agent after applying the update whenever the call writes a table to this
+ // field or writes `true` to `bigquery_agent_analytics_enabled`. For example,
+ // an `UpdateDataAgent` call without `update_mask` that carries an unchanged
+ // `bigquery_agent_analytics_enabled = true` is rejected on an agent whose
+ // datasource is not BigQuery. An agent that carries no datasource is not
+ // validated, and an agent switched to a non-BigQuery datasource by an update
+ // that does neither is not re-validated; in the latter case no trace rows
+ // are written.
//
// The destination dataset must already exist and must grant write access to
// the project's Gemini Data Analytics service agent, whose address is
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_agent_service.proto b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_agent_service.proto
index 30d7a421b9bd..f22beb081387 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_agent_service.proto
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_agent_service.proto
@@ -158,8 +158,7 @@ service DataAgentService {
}
// Enables/Disables required GCP services and configures AgentOps
- // observability settings calling the Admin Settings executable node to
- // update the AgentOps Observability feature.
+ // observability settings.
rpc SetAgentOpsObservability(SetAgentOpsObservabilityRequest)
returns (google.longrunning.Operation) {
option (google.api.http) = {
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_chat_service.proto b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_chat_service.proto
index 4b10d9fa79f8..673611388b97 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_chat_service.proto
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/data_chat_service.proto
@@ -160,8 +160,8 @@ message StorageMessage {
message ChatRequest {
// Mode of thinking for the agent.
enum ThinkingMode {
- // Unspecified thinking mode, agent will use THINKING mode by default except
- // for BigQuery user defaulting to FAST mode by default.
+ // The default value. For BigQuery and Looker data sources, the agent uses
+ // FAST. For all other data sources, the agent uses THINKING.
THINKING_MODE_UNSPECIFIED = 0;
// Fast mode, answers quickly.
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/datasource.proto b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/datasource.proto
index 67c31f51cee7..e134a22fac84 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/datasource.proto
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1/src/main/proto/google/cloud/geminidataanalytics/v1/datasource.proto
@@ -68,6 +68,19 @@ message BigQueryTableReferences {
// refer to the same resource.
repeated BigQueryPropertyGraphReference property_graph_references = 2
[(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Search over BigQuery resources to discover most relevant tables
+ // to the query.
+ //
+ // When set, at least one of `include_project_ids` or
+ // `include_dataset_references` must be populated with non-blank identifiers.
+ // Matches from the two fields are unioned (OR-ed).
+ //
+ // Note: `search_scope` is only supported for standalone conversations
+ // (`ChatRequest.inline_context` or
+ // `ClientManagedResourceContext.inline_context`) and is not supported in
+ // [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+ SearchScope search_scope = 3 [(google.api.field_behavior) = OPTIONAL];
}
// Message representing a reference to a single BigQuery table.
@@ -85,6 +98,35 @@ message BigQueryTableReference {
Schema schema = 6 [(google.api.field_behavior) = OPTIONAL];
}
+// Message representing a reference to a single BigQuery dataset.
+message BigQueryDatasetReference {
+ // Required. The project ID that the dataset belongs to.
+ string project_id = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The dataset ID.
+ string dataset_id = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Message representing filters to apply to search over BigQuery tables.
+//
+// At least one of `include_project_ids` or `include_dataset_references` must be
+// populated with non-blank identifiers. Tables matching either field are
+// included, so the two fields are unioned (OR-ed) rather than intersected.
+//
+// Note: `SearchScope` is only supported for standalone conversations
+// (`ChatRequest.inline_context` or
+// `ClientManagedResourceContext.inline_context`) and is not supported in
+// [DataAgent][google.cloud.geminidataanalytics.v1.DataAgent].
+message SearchScope {
+ // Optional. The BigQuery project ids to search over.
+ repeated string include_project_ids = 1
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The BigQuery dataset references to search over.
+ repeated BigQueryDatasetReference include_dataset_references = 2
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
// Message representing references to Looker Studio datasources.
message StudioDatasourceReferences {
// Optional. The references to the studio datasources.
diff --git a/librarian.yaml b/librarian.yaml
index e28da4e4ce6f..c6a3c96756b3 100644
--- a/librarian.yaml
+++ b/librarian.yaml
@@ -16,8 +16,8 @@ version: v0.49.0
repo: googleapis/google-cloud-java
sources:
googleapis:
- commit: 14a161a98ef045be80c12ab69d924504a756f109
- sha256: ce3cee2da77fbdff0e269bc520dc61e8b32efcdec7628b39b9e474a02bc951f6
+ commit: cec791da64be8ae9fc9d5402515a144e63f673bf
+ sha256: 4a4f6bbd8fc8bfccfaa09290afe7013c5cbd6c894a4d646efbd014ace41f0f90
showcase:
commit: 5158967e8a41c751b15776142d190428ddb7e99f
sha256: a31271ff2cdeb7cce91e93a4d58a66dcaaac574c51cc14bd74577ab1eafd3ccd