From 96cda538d92cd9e81447f38cdbb5d63ef994f7fa Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 18 Dec 2025 02:33:19 +0000 Subject: [PATCH 1/8] chore: Update generation configuration at Thu Dec 18 02:33:12 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 384924d16e84..d837feccc269 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.64.2 -googleapis_commitish: 1496716325adf01af70ffca9161dd62d7bebbd50 +googleapis_commitish: 6d6acd2e993c45a7a45fc6374d6c2fc987af1f77 libraries_bom_version: 26.73.0 # the libraries are ordered with respect to library name, which is From a94990b8bb127678b9b54e3fde8193a0a4ad5185 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 18 Dec 2025 02:39:15 +0000 Subject: [PATCH 2/8] chore: generate libraries at Thu Dec 18 02:35:43 UTC 2025 --- .../google/cloud/alloydb/v1beta/Cluster.java | 30 +- .../alloydb/v1beta/ClusterOrBuilder.java | 12 +- .../cloud/alloydb/v1beta/ConnectionInfo.java | 26 +- .../v1beta/ConnectionInfoOrBuilder.java | 8 +- .../google/cloud/alloydb/v1beta/Database.java | 8 +- .../alloydb/v1beta/DatabaseOrBuilder.java | 2 +- .../cloud/alloydb/v1beta/DatabaseVersion.java | 23 + .../google/cloud/alloydb/v1beta/Instance.java | 8 +- .../alloydb/v1beta/InstanceOrBuilder.java | 4 +- .../cloud/alloydb/v1beta/ResourcesProto.java | 43 +- .../cloud/alloydb/v1beta/resources.proto | 3 + .../reflect-config.json | 18 + .../geminidataanalytics/v1beta/Context.java | 668 +++++++++- .../v1beta/ContextOrBuilder.java | 78 ++ .../v1beta/ContextProto.java | 131 +- .../v1beta/DataChatServiceProto.java | 175 +-- .../v1beta/LookerGoldenQuery.java | 1100 +++++++++++++++++ .../v1beta/LookerGoldenQueryOrBuilder.java | 131 ++ .../v1beta/LookerQuery.java | 164 +-- .../v1beta/LookerQueryOrBuilder.java | 32 +- .../geminidataanalytics/v1beta/context.proto | 50 + .../v1beta/data_chat_service.proto | 32 - .../api/v1/SummarizeMaintenancesRequest.java | 98 +- ...SummarizeMaintenancesRequestOrBuilder.java | 28 +- .../api/v1/maintenance_service.proto | 14 +- 25 files changed, 2393 insertions(+), 493 deletions(-) create mode 100644 java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerGoldenQuery.java create mode 100644 java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerGoldenQueryOrBuilder.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java index 117940ce2ce4..57b12202c622 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java @@ -6318,7 +6318,7 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig() * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=675 + * google/cloud/alloydb/v1beta/resources.proto;l=678 * @return The network. */ @java.lang.Override @@ -6351,7 +6351,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=675 + * google/cloud/alloydb/v1beta/resources.proto;l=678 * @return The bytes for network. */ @java.lang.Override @@ -6707,7 +6707,7 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupP * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=710 + * google/cloud/alloydb/v1beta/resources.proto;l=713 * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -6726,7 +6726,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=710 + * google/cloud/alloydb/v1beta/resources.proto;l=713 * @return The sslConfig. */ @java.lang.Override @@ -7341,7 +7341,7 @@ public com.google.cloud.alloydb.v1beta.MaintenanceSchedule getMaintenanceSchedul * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=757 + * google/cloud/alloydb/v1beta/resources.proto;l=760 * @return Whether the geminiConfig field is set. */ @java.lang.Override @@ -7363,7 +7363,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=757 + * google/cloud/alloydb/v1beta/resources.proto;l=760 * @return The geminiConfig. */ @java.lang.Override @@ -11625,7 +11625,7 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder getNetworkC * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=675 + * google/cloud/alloydb/v1beta/resources.proto;l=678 * @return The network. */ @java.lang.Deprecated @@ -11657,7 +11657,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=675 + * google/cloud/alloydb/v1beta/resources.proto;l=678 * @return The bytes for network. */ @java.lang.Deprecated @@ -11689,7 +11689,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=675 + * google/cloud/alloydb/v1beta/resources.proto;l=678 * @param value The network to set. * @return This builder for chaining. */ @@ -11720,7 +11720,7 @@ public Builder setNetwork(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=675 + * google/cloud/alloydb/v1beta/resources.proto;l=678 * @return This builder for chaining. */ @java.lang.Deprecated @@ -11747,7 +11747,7 @@ public Builder clearNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=675 + * google/cloud/alloydb/v1beta/resources.proto;l=678 * @param value The bytes for network to set. * @return This builder for chaining. */ @@ -12624,7 +12624,7 @@ public Builder clearAutomatedBackupPolicy() { * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=710 + * google/cloud/alloydb/v1beta/resources.proto;l=713 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -12642,7 +12642,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=710 + * google/cloud/alloydb/v1beta/resources.proto;l=713 * @return The sslConfig. */ @java.lang.Deprecated @@ -14882,7 +14882,7 @@ public Builder clearMaintenanceSchedule() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=757 + * google/cloud/alloydb/v1beta/resources.proto;l=760 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -14903,7 +14903,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=757 + * google/cloud/alloydb/v1beta/resources.proto;l=760 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java index fb1eb9d1ab49..807e10be0a99 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java @@ -570,7 +570,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=675 + * google/cloud/alloydb/v1beta/resources.proto;l=678 * @return The network. */ @java.lang.Deprecated @@ -592,7 +592,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=675 + * google/cloud/alloydb/v1beta/resources.proto;l=678 * @return The bytes for network. */ @java.lang.Deprecated @@ -826,7 +826,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=710 + * google/cloud/alloydb/v1beta/resources.proto;l=713 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -842,7 +842,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=710 + * google/cloud/alloydb/v1beta/resources.proto;l=713 * @return The sslConfig. */ @java.lang.Deprecated @@ -1290,7 +1290,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=757 + * google/cloud/alloydb/v1beta/resources.proto;l=760 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -1309,7 +1309,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=757 + * google/cloud/alloydb/v1beta/resources.proto;l=760 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java index d1b514499ec6..284a54987b45 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java @@ -264,7 +264,7 @@ public com.google.protobuf.ByteString getPublicIpAddressBytes() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1368 + * google/cloud/alloydb/v1beta/resources.proto;l=1371 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -285,7 +285,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1368 + * google/cloud/alloydb/v1beta/resources.proto;l=1371 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -306,7 +306,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1368 + * google/cloud/alloydb/v1beta/resources.proto;l=1371 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -328,7 +328,7 @@ public java.lang.String getPemCertificateChain(int index) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1368 + * google/cloud/alloydb/v1beta/resources.proto;l=1371 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1316,7 +1316,7 @@ private void ensurePemCertificateChainIsMutable() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1368 + * See google/cloud/alloydb/v1beta/resources.proto;l=1371 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -1338,7 +1338,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1368 + * See google/cloud/alloydb/v1beta/resources.proto;l=1371 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -1359,7 +1359,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1368 + * See google/cloud/alloydb/v1beta/resources.proto;l=1371 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -1381,7 +1381,7 @@ public java.lang.String getPemCertificateChain(int index) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1368 + * See google/cloud/alloydb/v1beta/resources.proto;l=1371 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1403,7 +1403,7 @@ public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1368 + * See google/cloud/alloydb/v1beta/resources.proto;l=1371 * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. @@ -1433,7 +1433,7 @@ public Builder setPemCertificateChain(int index, java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1368 + * See google/cloud/alloydb/v1beta/resources.proto;l=1371 * @param value The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1462,7 +1462,7 @@ public Builder addPemCertificateChain(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1368 + * See google/cloud/alloydb/v1beta/resources.proto;l=1371 * @param values The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1488,7 +1488,7 @@ public Builder addAllPemCertificateChain(java.lang.Iterable va * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1368 + * See google/cloud/alloydb/v1beta/resources.proto;l=1371 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1513,7 +1513,7 @@ public Builder clearPemCertificateChain() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1368 + * See google/cloud/alloydb/v1beta/resources.proto;l=1371 * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java index ebad5060d5a3..7645dc7cb058 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java @@ -131,7 +131,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1368 + * google/cloud/alloydb/v1beta/resources.proto;l=1371 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -150,7 +150,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1368 + * google/cloud/alloydb/v1beta/resources.proto;l=1371 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -169,7 +169,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1368 + * google/cloud/alloydb/v1beta/resources.proto;l=1371 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -189,7 +189,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1368 + * google/cloud/alloydb/v1beta/resources.proto;l=1371 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java index a5641e23b6a4..85ba969c1bb5 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java @@ -321,7 +321,7 @@ public com.google.protobuf.ByteString getCharacterTypeBytes() { * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1758 + * google/cloud/alloydb/v1beta/resources.proto;l=1761 * @return The isTemplate. */ @java.lang.Override @@ -1436,7 +1436,7 @@ public Builder setCharacterTypeBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1758 + * google/cloud/alloydb/v1beta/resources.proto;l=1761 * @return The isTemplate. */ @java.lang.Override @@ -1457,7 +1457,7 @@ public boolean getIsTemplate() { * * * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1758 + * google/cloud/alloydb/v1beta/resources.proto;l=1761 * @param value The isTemplate to set. * @return This builder for chaining. */ @@ -1482,7 +1482,7 @@ public Builder setIsTemplate(boolean value) { * * * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1758 + * google/cloud/alloydb/v1beta/resources.proto;l=1761 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java index 20fe2274f57f..acadf7664511 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java @@ -165,7 +165,7 @@ public interface DatabaseOrBuilder * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1758 + * google/cloud/alloydb/v1beta/resources.proto;l=1761 * @return The isTemplate. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java index 49771a12ba4f..d9b0910e2520 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java @@ -90,6 +90,16 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { * POSTGRES_17 = 5; */ POSTGRES_17(5), + /** + * + * + *
+   * The database version is Postgres 18.
+   * 
+ * + * POSTGRES_18 = 6; + */ + POSTGRES_18(6), UNRECOGNIZED(-1), ; @@ -159,6 +169,17 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_17_VALUE = 5; + /** + * + * + *
+   * The database version is Postgres 18.
+   * 
+ * + * POSTGRES_18 = 6; + */ + public static final int POSTGRES_18_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -195,6 +216,8 @@ public static DatabaseVersion forNumber(int value) { return POSTGRES_16; case 5: return POSTGRES_17; + case 6: + return POSTGRES_18; default: return null; } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java index 194d4c8cf731..034b007c563c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java @@ -19251,7 +19251,7 @@ public com.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig getNetwork * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1311 + * google/cloud/alloydb/v1beta/resources.proto;l=1314 * @return Whether the geminiConfig field is set. */ @java.lang.Override @@ -19273,7 +19273,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1311 + * google/cloud/alloydb/v1beta/resources.proto;l=1314 * @return The geminiConfig. */ @java.lang.Override @@ -26007,7 +26007,7 @@ public Builder clearNetworkConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1311 + * google/cloud/alloydb/v1beta/resources.proto;l=1314 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -26028,7 +26028,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1311 + * google/cloud/alloydb/v1beta/resources.proto;l=1314 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java index 682739003b6a..0057aa156b1c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java @@ -1243,7 +1243,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1311 + * google/cloud/alloydb/v1beta/resources.proto;l=1314 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -1262,7 +1262,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1311 + * google/cloud/alloydb/v1beta/resources.proto;l=1314 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java index 13721f47e297..5e2078e04a49 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java @@ -800,30 +800,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "VIEW_BASIC\020\001\022\026\n\022INSTANCE_VIEW_FULL\020\002*g\n\013" + "ClusterView\022\034\n\030CLUSTER_VIEW_UNSPECIFIED\020" + "\000\022\026\n\022CLUSTER_VIEW_BASIC\020\001\022\"\n\036CLUSTER_VIE" - + "W_CONTINUOUS_BACKUP\020\002*\214\001\n\017DatabaseVersio" + + "W_CONTINUOUS_BACKUP\020\002*\235\001\n\017DatabaseVersio" + "n\022 \n\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n\013P" + "OSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES_14\020\002\022\017\n\013POS" + "TGRES_15\020\003\022\017\n\013POSTGRES_16\020\004\022\017\n\013POSTGRES_" - + "17\020\005*N\n\020SubscriptionType\022!\n\035SUBSCRIPTION" - + "_TYPE_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\t\n\005TRI" - + "AL\020\002B\273\005\n\037com.google.cloud.alloydb.v1beta" - + "B\016ResourcesProtoP\001Z9cloud.google.com/go/" - + "alloydb/apiv1beta/alloydbpb;alloydbpb\252\002\033" - + "Google.Cloud.AlloyDb.V1Beta\312\002\033Google\\Clo" - + "ud\\AlloyDb\\V1beta\352\002\036Google::Cloud::Alloy" - + "DB::V1beta\352A\246\001\n(cloudkms.googleapis.com/" - + "CryptoKeyVersion\022zprojects/{project}/loc" - + "ations/{location}/keyRings/{key_ring}/cr" - + "yptoKeys/{crypto_key}/cryptoKeyVersions/" - + "{crypto_key_version}\352AN\n\036compute.googlea" - + "pis.com/Network\022,projects/{project}/glob" - + "al/networks/{network}\352Ax\n!cloudkms.googl" - + "eapis.com/CryptoKey\022Sprojects/{project}/" - + "locations/{location}/keyRings/{key_ring}" - + "/cryptoKeys/{crypto_key}\352Aw\n(compute.goo" - + "gleapis.com/ServiceAttachment\022Kprojects/" - + "{project}/regions/{region}/serviceAttach" - + "ments/{service_attachment}b\006proto3" + + "17\020\005\022\017\n\013POSTGRES_18\020\006*N\n\020SubscriptionTyp" + + "e\022!\n\035SUBSCRIPTION_TYPE_UNSPECIFIED\020\000\022\014\n\010" + + "STANDARD\020\001\022\t\n\005TRIAL\020\002B\273\005\n\037com.google.clo" + + "ud.alloydb.v1betaB\016ResourcesProtoP\001Z9clo" + + "ud.google.com/go/alloydb/apiv1beta/alloy" + + "dbpb;alloydbpb\252\002\033Google.Cloud.AlloyDb.V1" + + "Beta\312\002\033Google\\Cloud\\AlloyDb\\V1beta\352\002\036Goo" + + "gle::Cloud::AlloyDB::V1beta\352A\246\001\n(cloudkm" + + "s.googleapis.com/CryptoKeyVersion\022zproje" + + "cts/{project}/locations/{location}/keyRi" + + "ngs/{key_ring}/cryptoKeys/{crypto_key}/c" + + "ryptoKeyVersions/{crypto_key_version}\352AN" + + "\n\036compute.googleapis.com/Network\022,projec" + + "ts/{project}/global/networks/{network}\352A" + + "x\n!cloudkms.googleapis.com/CryptoKey\022Spr" + + "ojects/{project}/locations/{location}/ke" + + "yRings/{key_ring}/cryptoKeys/{crypto_key" + + "}\352Aw\n(compute.googleapis.com/ServiceAtta" + + "chment\022Kprojects/{project}/regions/{regi" + + "on}/serviceAttachments/{service_attachme" + + "nt}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto index bf03e285d01d..2fa7a7729be4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto @@ -104,6 +104,9 @@ enum DatabaseVersion { // The database version is Postgres 17. POSTGRES_17 = 5; + + // The database version is Postgres 18. + POSTGRES_18 = 6; } // Subscription_type added to distinguish between Standard and Trial diff --git a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/resources/META-INF/native-image/com.google.cloud.geminidataanalytics.v1beta/reflect-config.json b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/resources/META-INF/native-image/com.google.cloud.geminidataanalytics.v1beta/reflect-config.json index 8f7f0d912c96..119030f1581a 100644 --- a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/resources/META-INF/native-image/com.google.cloud.geminidataanalytics.v1beta/reflect-config.json +++ b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/resources/META-INF/native-image/com.google.cloud.geminidataanalytics.v1beta/reflect-config.json @@ -1691,6 +1691,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.geminidataanalytics.v1beta.LookerQuery", "queryAllDeclaredConstructors": true, diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Context.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Context.java index 93b23febec28..1b68143de106 100644 --- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Context.java +++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/Context.java @@ -42,6 +42,7 @@ private Context(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Context() { systemInstruction_ = ""; exampleQueries_ = java.util.Collections.emptyList(); + lookerGoldenQueries_ = java.util.Collections.emptyList(); glossaryTerms_ = java.util.Collections.emptyList(); schemaRelationships_ = java.util.Collections.emptyList(); } @@ -3582,6 +3583,107 @@ public com.google.cloud.geminidataanalytics.v1beta.ExampleQuery getExampleQuerie return exampleQueries_.get(index); } + public static final int LOOKER_GOLDEN_QUERIES_FIELD_NUMBER = 11; + + @SuppressWarnings("serial") + private java.util.List + lookerGoldenQueries_; + + /** + * + * + *
+   * Optional. A list of golden queries, providing examples of relevant and
+   * commonly used Looker queries and their corresponding natural language
+   * queries optionally present.
+   * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getLookerGoldenQueriesList() { + return lookerGoldenQueries_; + } + + /** + * + * + *
+   * Optional. A list of golden queries, providing examples of relevant and
+   * commonly used Looker queries and their corresponding natural language
+   * queries optionally present.
+   * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryOrBuilder> + getLookerGoldenQueriesOrBuilderList() { + return lookerGoldenQueries_; + } + + /** + * + * + *
+   * Optional. A list of golden queries, providing examples of relevant and
+   * commonly used Looker queries and their corresponding natural language
+   * queries optionally present.
+   * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getLookerGoldenQueriesCount() { + return lookerGoldenQueries_.size(); + } + + /** + * + * + *
+   * Optional. A list of golden queries, providing examples of relevant and
+   * commonly used Looker queries and their corresponding natural language
+   * queries optionally present.
+   * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery getLookerGoldenQueries( + int index) { + return lookerGoldenQueries_.get(index); + } + + /** + * + * + *
+   * Optional. A list of golden queries, providing examples of relevant and
+   * commonly used Looker queries and their corresponding natural language
+   * queries optionally present.
+   * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryOrBuilder + getLookerGoldenQueriesOrBuilder(int index) { + return lookerGoldenQueries_.get(index); + } + public static final int GLOSSARY_TERMS_FIELD_NUMBER = 8; @SuppressWarnings("serial") @@ -3798,6 +3900,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < schemaRelationships_.size(); i++) { output.writeMessage(9, schemaRelationships_.get(i)); } + for (int i = 0; i < lookerGoldenQueries_.size(); i++) { + output.writeMessage(11, lookerGoldenQueries_.get(i)); + } getUnknownFields().writeTo(output); } @@ -3827,6 +3932,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, schemaRelationships_.get(i)); } + for (int i = 0; i < lookerGoldenQueries_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(11, lookerGoldenQueries_.get(i)); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -3853,6 +3962,7 @@ public boolean equals(final java.lang.Object obj) { if (!getOptions().equals(other.getOptions())) return false; } if (!getExampleQueriesList().equals(other.getExampleQueriesList())) return false; + if (!getLookerGoldenQueriesList().equals(other.getLookerGoldenQueriesList())) return false; if (!getGlossaryTermsList().equals(other.getGlossaryTermsList())) return false; if (!getSchemaRelationshipsList().equals(other.getSchemaRelationshipsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -3880,6 +3990,10 @@ public int hashCode() { hash = (37 * hash) + EXAMPLE_QUERIES_FIELD_NUMBER; hash = (53 * hash) + getExampleQueriesList().hashCode(); } + if (getLookerGoldenQueriesCount() > 0) { + hash = (37 * hash) + LOOKER_GOLDEN_QUERIES_FIELD_NUMBER; + hash = (53 * hash) + getLookerGoldenQueriesList().hashCode(); + } if (getGlossaryTermsCount() > 0) { hash = (37 * hash) + GLOSSARY_TERMS_FIELD_NUMBER; hash = (53 * hash) + getGlossaryTermsList().hashCode(); @@ -4032,6 +4146,7 @@ private void maybeForceBuilderInitialization() { getDatasourceReferencesFieldBuilder(); getOptionsFieldBuilder(); getExampleQueriesFieldBuilder(); + getLookerGoldenQueriesFieldBuilder(); getGlossaryTermsFieldBuilder(); getSchemaRelationshipsFieldBuilder(); } @@ -4059,20 +4174,27 @@ public Builder clear() { exampleQueriesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); + if (lookerGoldenQueriesBuilder_ == null) { + lookerGoldenQueries_ = java.util.Collections.emptyList(); + } else { + lookerGoldenQueries_ = null; + lookerGoldenQueriesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); if (glossaryTermsBuilder_ == null) { glossaryTerms_ = java.util.Collections.emptyList(); } else { glossaryTerms_ = null; glossaryTermsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); if (schemaRelationshipsBuilder_ == null) { schemaRelationships_ = java.util.Collections.emptyList(); } else { schemaRelationships_ = null; schemaRelationshipsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); return this; } @@ -4119,19 +4241,28 @@ private void buildPartialRepeatedFields( } else { result.exampleQueries_ = exampleQueriesBuilder_.build(); } - if (glossaryTermsBuilder_ == null) { + if (lookerGoldenQueriesBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { - glossaryTerms_ = java.util.Collections.unmodifiableList(glossaryTerms_); + lookerGoldenQueries_ = java.util.Collections.unmodifiableList(lookerGoldenQueries_); bitField0_ = (bitField0_ & ~0x00000010); } + result.lookerGoldenQueries_ = lookerGoldenQueries_; + } else { + result.lookerGoldenQueries_ = lookerGoldenQueriesBuilder_.build(); + } + if (glossaryTermsBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + glossaryTerms_ = java.util.Collections.unmodifiableList(glossaryTerms_); + bitField0_ = (bitField0_ & ~0x00000020); + } result.glossaryTerms_ = glossaryTerms_; } else { result.glossaryTerms_ = glossaryTermsBuilder_.build(); } if (schemaRelationshipsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { schemaRelationships_ = java.util.Collections.unmodifiableList(schemaRelationships_); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); } result.schemaRelationships_ = schemaRelationships_; } else { @@ -4243,11 +4374,38 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.Context oth } } } + if (lookerGoldenQueriesBuilder_ == null) { + if (!other.lookerGoldenQueries_.isEmpty()) { + if (lookerGoldenQueries_.isEmpty()) { + lookerGoldenQueries_ = other.lookerGoldenQueries_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureLookerGoldenQueriesIsMutable(); + lookerGoldenQueries_.addAll(other.lookerGoldenQueries_); + } + onChanged(); + } + } else { + if (!other.lookerGoldenQueries_.isEmpty()) { + if (lookerGoldenQueriesBuilder_.isEmpty()) { + lookerGoldenQueriesBuilder_.dispose(); + lookerGoldenQueriesBuilder_ = null; + lookerGoldenQueries_ = other.lookerGoldenQueries_; + bitField0_ = (bitField0_ & ~0x00000010); + lookerGoldenQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLookerGoldenQueriesFieldBuilder() + : null; + } else { + lookerGoldenQueriesBuilder_.addAllMessages(other.lookerGoldenQueries_); + } + } + } if (glossaryTermsBuilder_ == null) { if (!other.glossaryTerms_.isEmpty()) { if (glossaryTerms_.isEmpty()) { glossaryTerms_ = other.glossaryTerms_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); } else { ensureGlossaryTermsIsMutable(); glossaryTerms_.addAll(other.glossaryTerms_); @@ -4260,7 +4418,7 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.Context oth glossaryTermsBuilder_.dispose(); glossaryTermsBuilder_ = null; glossaryTerms_ = other.glossaryTerms_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); glossaryTermsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGlossaryTermsFieldBuilder() @@ -4274,7 +4432,7 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.Context oth if (!other.schemaRelationships_.isEmpty()) { if (schemaRelationships_.isEmpty()) { schemaRelationships_ = other.schemaRelationships_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); } else { ensureSchemaRelationshipsIsMutable(); schemaRelationships_.addAll(other.schemaRelationships_); @@ -4287,7 +4445,7 @@ public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.Context oth schemaRelationshipsBuilder_.dispose(); schemaRelationshipsBuilder_ = null; schemaRelationships_ = other.schemaRelationships_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); schemaRelationshipsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSchemaRelationshipsFieldBuilder() @@ -4385,6 +4543,20 @@ public Builder mergeFrom( } break; } // case 74 + case 90: + { + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery m = + input.readMessage( + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.parser(), + extensionRegistry); + if (lookerGoldenQueriesBuilder_ == null) { + ensureLookerGoldenQueriesIsMutable(); + lookerGoldenQueries_.add(m); + } else { + lookerGoldenQueriesBuilder_.addMessage(m); + } + break; + } // case 90 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -5437,15 +5609,475 @@ public Builder removeExampleQueries(int index) { return exampleQueriesBuilder_; } + private java.util.List + lookerGoldenQueries_ = java.util.Collections.emptyList(); + + private void ensureLookerGoldenQueriesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + lookerGoldenQueries_ = + new java.util.ArrayList( + lookerGoldenQueries_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryOrBuilder> + lookerGoldenQueriesBuilder_; + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getLookerGoldenQueriesList() { + if (lookerGoldenQueriesBuilder_ == null) { + return java.util.Collections.unmodifiableList(lookerGoldenQueries_); + } else { + return lookerGoldenQueriesBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getLookerGoldenQueriesCount() { + if (lookerGoldenQueriesBuilder_ == null) { + return lookerGoldenQueries_.size(); + } else { + return lookerGoldenQueriesBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery getLookerGoldenQueries( + int index) { + if (lookerGoldenQueriesBuilder_ == null) { + return lookerGoldenQueries_.get(index); + } else { + return lookerGoldenQueriesBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setLookerGoldenQueries( + int index, com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery value) { + if (lookerGoldenQueriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLookerGoldenQueriesIsMutable(); + lookerGoldenQueries_.set(index, value); + onChanged(); + } else { + lookerGoldenQueriesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setLookerGoldenQueries( + int index, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder builderForValue) { + if (lookerGoldenQueriesBuilder_ == null) { + ensureLookerGoldenQueriesIsMutable(); + lookerGoldenQueries_.set(index, builderForValue.build()); + onChanged(); + } else { + lookerGoldenQueriesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addLookerGoldenQueries( + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery value) { + if (lookerGoldenQueriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLookerGoldenQueriesIsMutable(); + lookerGoldenQueries_.add(value); + onChanged(); + } else { + lookerGoldenQueriesBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addLookerGoldenQueries( + int index, com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery value) { + if (lookerGoldenQueriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLookerGoldenQueriesIsMutable(); + lookerGoldenQueries_.add(index, value); + onChanged(); + } else { + lookerGoldenQueriesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addLookerGoldenQueries( + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder builderForValue) { + if (lookerGoldenQueriesBuilder_ == null) { + ensureLookerGoldenQueriesIsMutable(); + lookerGoldenQueries_.add(builderForValue.build()); + onChanged(); + } else { + lookerGoldenQueriesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addLookerGoldenQueries( + int index, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder builderForValue) { + if (lookerGoldenQueriesBuilder_ == null) { + ensureLookerGoldenQueriesIsMutable(); + lookerGoldenQueries_.add(index, builderForValue.build()); + onChanged(); + } else { + lookerGoldenQueriesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllLookerGoldenQueries( + java.lang.Iterable + values) { + if (lookerGoldenQueriesBuilder_ == null) { + ensureLookerGoldenQueriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, lookerGoldenQueries_); + onChanged(); + } else { + lookerGoldenQueriesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearLookerGoldenQueries() { + if (lookerGoldenQueriesBuilder_ == null) { + lookerGoldenQueries_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + lookerGoldenQueriesBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeLookerGoldenQueries(int index) { + if (lookerGoldenQueriesBuilder_ == null) { + ensureLookerGoldenQueriesIsMutable(); + lookerGoldenQueries_.remove(index); + onChanged(); + } else { + lookerGoldenQueriesBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder + getLookerGoldenQueriesBuilder(int index) { + return getLookerGoldenQueriesFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryOrBuilder + getLookerGoldenQueriesOrBuilder(int index) { + if (lookerGoldenQueriesBuilder_ == null) { + return lookerGoldenQueries_.get(index); + } else { + return lookerGoldenQueriesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List< + ? extends com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryOrBuilder> + getLookerGoldenQueriesOrBuilderList() { + if (lookerGoldenQueriesBuilder_ != null) { + return lookerGoldenQueriesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(lookerGoldenQueries_); + } + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder + addLookerGoldenQueriesBuilder() { + return getLookerGoldenQueriesFieldBuilder() + .addBuilder( + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder + addLookerGoldenQueriesBuilder(int index) { + return getLookerGoldenQueriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. A list of golden queries, providing examples of relevant and
+     * commonly used Looker queries and their corresponding natural language
+     * queries optionally present.
+     * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getLookerGoldenQueriesBuilderList() { + return getLookerGoldenQueriesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryOrBuilder> + getLookerGoldenQueriesFieldBuilder() { + if (lookerGoldenQueriesBuilder_ == null) { + lookerGoldenQueriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryOrBuilder>( + lookerGoldenQueries_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + lookerGoldenQueries_ = null; + } + return lookerGoldenQueriesBuilder_; + } + private java.util.List glossaryTerms_ = java.util.Collections.emptyList(); private void ensureGlossaryTermsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!((bitField0_ & 0x00000020) != 0)) { glossaryTerms_ = new java.util.ArrayList( glossaryTerms_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; } } @@ -5700,7 +6332,7 @@ public Builder addAllGlossaryTerms( public Builder clearGlossaryTerms() { if (glossaryTermsBuilder_ == null) { glossaryTerms_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { glossaryTermsBuilder_.clear(); @@ -5851,7 +6483,7 @@ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder addGloss com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder, com.google.cloud.geminidataanalytics.v1beta.GlossaryTermOrBuilder>( glossaryTerms_, - ((bitField0_ & 0x00000010) != 0), + ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); glossaryTerms_ = null; @@ -5863,12 +6495,12 @@ public com.google.cloud.geminidataanalytics.v1beta.GlossaryTerm.Builder addGloss schemaRelationships_ = java.util.Collections.emptyList(); private void ensureSchemaRelationshipsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000040) != 0)) { schemaRelationships_ = new java.util.ArrayList< com.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship>( schemaRelationships_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; } } @@ -6139,7 +6771,7 @@ public Builder addAllSchemaRelationships( public Builder clearSchemaRelationships() { if (schemaRelationshipsBuilder_ == null) { schemaRelationships_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { schemaRelationshipsBuilder_.clear(); @@ -6302,7 +6934,7 @@ public Builder removeSchemaRelationships(int index) { com.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Builder, com.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationshipOrBuilder>( schemaRelationships_, - ((bitField0_ & 0x00000020) != 0), + ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); schemaRelationships_ = null; diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextOrBuilder.java index 5a4449043533..6823bb708a64 100644 --- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextOrBuilder.java +++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextOrBuilder.java @@ -224,6 +224,84 @@ public interface ContextOrBuilder com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder getExampleQueriesOrBuilder( int index); + /** + * + * + *
+   * Optional. A list of golden queries, providing examples of relevant and
+   * commonly used Looker queries and their corresponding natural language
+   * queries optionally present.
+   * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getLookerGoldenQueriesList(); + + /** + * + * + *
+   * Optional. A list of golden queries, providing examples of relevant and
+   * commonly used Looker queries and their corresponding natural language
+   * queries optionally present.
+   * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery getLookerGoldenQueries(int index); + + /** + * + * + *
+   * Optional. A list of golden queries, providing examples of relevant and
+   * commonly used Looker queries and their corresponding natural language
+   * queries optionally present.
+   * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getLookerGoldenQueriesCount(); + + /** + * + * + *
+   * Optional. A list of golden queries, providing examples of relevant and
+   * commonly used Looker queries and their corresponding natural language
+   * queries optionally present.
+   * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getLookerGoldenQueriesOrBuilderList(); + + /** + * + * + *
+   * Optional. A list of golden queries, providing examples of relevant and
+   * commonly used Looker queries and their corresponding natural language
+   * queries optionally present.
+   * 
+ * + * + * repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryOrBuilder + getLookerGoldenQueriesOrBuilder(int index); + /** * * diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextProto.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextProto.java index 602d7e23dd4d..595f6b9565d8 100644 --- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextProto.java +++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/ContextProto.java @@ -44,6 +44,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQuery_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_geminidataanalytics_v1beta_GlossaryTerm_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -93,7 +105,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "5google/cloud/geminidataanalytics/v1beta/context.proto\022\'google.cloud.geminidata" + "analytics.v1beta\032\037google/api/field_behav" + "ior.proto\0328google/cloud/geminidataanalyt" - + "ics/v1beta/datasource.proto\032\036google/protobuf/wrappers.proto\"\371\007\n" + + "ics/v1beta/datasource.proto\032\036google/protobuf/wrappers.proto\"\331\010\n" + "\007Context\022\037\n" + "\022system_instruction\030\001 \001(\tB\003\340A\001\022a\n" + "\025datasource_references\030\007 \001(\0132=.google.cloud.geminidat" @@ -101,18 +113,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007options\030\003 \001(\0132<.google.cloud.gemi" + "nidataanalytics.v1beta.ConversationOptionsB\003\340A\001\022S\n" + "\017example_queries\030\005 \003(\01325.googl" - + "e.cloud.geminidataanalytics.v1beta.ExampleQueryB\003\340A\001\022R\n" - + "\016glossary_terms\030\010 \003(\01325.g" - + "oogle.cloud.geminidataanalytics.v1beta.GlossaryTermB\003\340A\001\022f\n" - + "\024schema_relationships\030\t \003(\0132C.google.cloud.geminidataanalytic" - + "s.v1beta.Context.SchemaRelationshipB\003\340A\001\032\204\004\n" + + "e.cloud.geminidataanalytics.v1beta.ExampleQueryB\003\340A\001\022^\n" + + "\025looker_golden_queries\030\013 " + + "\003(\0132:.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryB\003\340A\001\022R\n" + + "\016glossary_terms\030\010" + + " \003(\01325.google.cloud.geminidataanalytics.v1beta.GlossaryTermB\003\340A\001\022f\n" + + "\024schema_relationships\030\t \003(\0132C.google.cloud.ge" + + "minidataanalytics.v1beta.Context.SchemaRelationshipB\003\340A\001\032\204\004\n" + "\022SchemaRelationship\022j\n" - + "\021left_schema_paths\030\001 \001(\0132O.google.cloud.geminidataanal" - + "ytics.v1beta.Context.SchemaRelationship.SchemaPaths\022k\n" - + "\022right_schema_paths\030\002 \001(\0132O.google.cloud.geminidataanalytics.v1bet" - + "a.Context.SchemaRelationship.SchemaPaths\022[\n" - + "\007sources\030\003 \003(\0162J.google.cloud.geminid" - + "ataanalytics.v1beta.Context.SchemaRelationship.Source\022\030\n" + + "\021left_schema_paths\030\001 \001(\0132O.google.clou" + + "d.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\022k\n" + + "\022right_schema_paths\030\002 \001(\0132O.google.cloud.geminidat" + + "aanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\022[\n" + + "\007sources\030\003 \003(\0162J.goog" + + "le.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source\022\030\n" + "\020confidence_score\030\004 \001(\002\032/\n" + "\013SchemaPaths\022\021\n" + "\ttable_fqn\030\001 \001(\t\022\r\n" @@ -125,42 +139,58 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014ExampleQuery\022\030\n" + "\tsql_query\030e \001(\tB\003\340A\001H\000\022&\n" + "\031natural_language_question\030\001 \001(\tB\003\340A\001B\007\n" - + "\005query\"X\n" + + "\005query\"\215\001\n" + + "\021LookerGoldenQuery\022\'\n" + + "\032natural_language_questions\030\004 \003(\tB\003\340A\001\022O\n" + + "\014looker_query\030\005 \001(\01324.google" + + ".cloud.geminidataanalytics.v1beta.LookerQueryB\003\340A\001\"\210\002\n" + + "\013LookerQuery\022\022\n" + + "\005model\030\001 \001(\tB\003\340A\002\022\024\n" + + "\007explore\030\002 \001(\tB\003\340A\002\022\023\n" + + "\006fields\030\003 \003(\tB\003\340A\001\022Q\n" + + "\007filters\030\004 \003(\0132;.google.clou" + + "d.geminidataanalytics.v1beta.LookerQuery.FilterB\003\340A\001\022\022\n" + + "\005sorts\030\005 \003(\tB\003\340A\001\022\027\n" + + "\005limit\030\006 \001(\tB\003\340A\001H\000\210\001\001\0320\n" + + "\006Filter\022\022\n" + + "\005field\030\001 \001(\tB\003\340A\002\022\022\n" + + "\005value\030\002 \001(\tB\003\340A\002B\010\n" + + "\006_limit\"X\n" + "\014GlossaryTerm\022\031\n" + "\014display_name\030\001 \001(\tB\003\340A\002\022\030\n" + "\013description\030\002 \001(\tB\003\340A\002\022\023\n" + "\006labels\030\003 \003(\tB\003\340A\001\"\206\002\n" + "\023ConversationOptions\022I\n" - + "\005chart\030\001 \001(\01325.google.cloud.gemin" - + "idataanalytics.v1beta.ChartOptionsB\003\340A\001\022O\n" - + "\010analysis\030\002 \001(\01328.google.cloud.geminid" - + "ataanalytics.v1beta.AnalysisOptionsB\003\340A\001\022S\n\n" - + "datasource\030\003 \001(\0132:.google.cloud.gemi" - + "nidataanalytics.v1beta.DatasourceOptionsB\003\340A\001\"Y\n" + + "\005chart\030\001" + + " \001(\01325.google.cloud.geminidataanalytics.v1beta.ChartOptionsB\003\340A\001\022O\n" + + "\010analysis\030\002" + + " \001(\01328.google.cloud.geminidataanalytics.v1beta.AnalysisOptionsB\003\340A\001\022S\n\n" + + "datasource\030\003" + + " \001(\0132:.google.cloud.geminidataanalytics.v1beta.DatasourceOptionsB\003\340A\001\"Y\n" + "\021DatasourceOptions\022D\n" + "\032big_query_max_billed_bytes\030\001" + " \001(\0132\033.google.protobuf.Int64ValueB\003\340A\001\"\326\002\n" + "\014ChartOptions\022V\n" - + "\005image\030\001 \001(\0132B.google.cloud.geminidataanalyt" - + "ics.v1beta.ChartOptions.ImageOptionsB\003\340A\001\032\355\001\n" + + "\005image\030\001 \001(\0132B.go" + + "ogle.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptionsB\003\340A\001\032\355\001\n" + "\014ImageOptions\022^\n" - + "\010no_image\030\001 \001(\0132J.g" - + "oogle.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImageH\000\022\\\n" - + "\003svg\030\002 \001(\0132M.google.cloud.geminidataanalyti" - + "cs.v1beta.ChartOptions.ImageOptions.SvgOptionsH\000\032\t\n" + + "\010no_image\030\001 \001(\0132J.google.cloud.g" + + "eminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImageH\000\022\\\n" + + "\003svg\030\002 \001(\0132M.goo" + + "gle.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptionsH\000\032\t\n" + "\007NoImage\032\014\n\n" + "SvgOptionsB\006\n" + "\004kind\"\207\001\n" + "\017AnalysisOptions\022T\n" - + "\006python\030\001 \001(\0132?." - + "google.cloud.geminidataanalytics.v1beta.AnalysisOptions.PythonB\003\340A\001\032\036\n" + + "\006python\030\001 \001(\0132?.google.cloud." + + "geminidataanalytics.v1beta.AnalysisOptions.PythonB\003\340A\001\032\036\n" + "\006Python\022\024\n" + "\007enabled\030\001 \001(\010B\003\340A\001B\235\002\n" - + "+com.google.cloud.geminidataanalytics.v1betaB\014ContextProt" - + "oP\001Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;gem" - + "inidataanalyticspb\252\002\'Google.Cloud.Gemini" - + "DataAnalytics.V1Beta\312\002\'Google\\Cloud\\Gemi" - + "niDataAnalytics\\V1beta\352\002*Google::Cloud::GeminiDataAnalytics::V1betab\006proto3" + + "+com.google.cloud.geminidataanalytics.v1betaB\014ContextProtoP\001Z]cloud.go" + + "ogle.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyt" + + "icspb\252\002\'Google.Cloud.GeminiDataAnalytics" + + ".V1Beta\312\002\'Google\\Cloud\\GeminiDataAnalyti" + + "cs\\V1beta\352\002*Google::Cloud::GeminiDataAnalytics::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -180,6 +210,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DatasourceReferences", "Options", "ExampleQueries", + "LookerGoldenQueries", "GlossaryTerms", "SchemaRelationships", }); @@ -211,8 +242,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "SqlQuery", "NaturalLanguageQuestion", "Query", }); - internal_static_google_cloud_geminidataanalytics_v1beta_GlossaryTerm_descriptor = + internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_descriptor = getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_descriptor, + new java.lang.String[] { + "NaturalLanguageQuestions", "LookerQuery", + }); + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor, + new java.lang.String[] { + "Model", "Explore", "Fields", "Filters", "Sorts", "Limit", + }); + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_descriptor = + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_descriptor, + new java.lang.String[] { + "Field", "Value", + }); + internal_static_google_cloud_geminidataanalytics_v1beta_GlossaryTerm_descriptor = + getDescriptor().getMessageTypes().get(4); internal_static_google_cloud_geminidataanalytics_v1beta_GlossaryTerm_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_GlossaryTerm_descriptor, @@ -220,7 +277,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DisplayName", "Description", "Labels", }); internal_static_google_cloud_geminidataanalytics_v1beta_ConversationOptions_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageTypes().get(5); internal_static_google_cloud_geminidataanalytics_v1beta_ConversationOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_ConversationOptions_descriptor, @@ -228,7 +285,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Chart", "Analysis", "Datasource", }); internal_static_google_cloud_geminidataanalytics_v1beta_DatasourceOptions_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(6); internal_static_google_cloud_geminidataanalytics_v1beta_DatasourceOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_DatasourceOptions_descriptor, @@ -236,7 +293,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BigQueryMaxBilledBytes", }); internal_static_google_cloud_geminidataanalytics_v1beta_ChartOptions_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(7); internal_static_google_cloud_geminidataanalytics_v1beta_ChartOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_ChartOptions_descriptor, @@ -270,7 +327,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_geminidataanalytics_v1beta_ChartOptions_ImageOptions_SvgOptions_descriptor, new java.lang.String[] {}); internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisOptions_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(8); internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisOptions_descriptor, diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceProto.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceProto.java index 81623c814001..2d5d5b23a44f 100644 --- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceProto.java +++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DataChatServiceProto.java @@ -120,14 +120,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_geminidataanalytics_v1beta_DataMessage_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_geminidataanalytics_v1beta_DataMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_geminidataanalytics_v1beta_DataQuery_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -345,45 +337,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\r" + "big_query_job\030\005" + " \001(\01324.google.cloud.geminidataanalytics.v1beta.BigQueryJobH\000B\006\n" - + "\004kind\"\210\002\n" - + "\013LookerQuery\022\022\n" - + "\005model\030\001 \001(\tB\003\340A\002\022\024\n" - + "\007explore\030\002 \001(\tB\003\340A\002\022\023\n" - + "\006fields\030\003 \003(\tB\003\340A\001\022Q\n" - + "\007filters\030\004 \003(\0132;.google.cloud.gemi" - + "nidataanalytics.v1beta.LookerQuery.FilterB\003\340A\001\022\022\n" - + "\005sorts\030\005 \003(\tB\003\340A\001\022\027\n" - + "\005limit\030\006 \001(\tB\003\340A\001H\000\210\001\001\0320\n" - + "\006Filter\022\022\n" - + "\005field\030\001 \001(\tB\003\340A\002\022\022\n" - + "\005value\030\002 \001(\tB\003\340A\002B\010\n" - + "\006_limit\"\337\001\n" + + "\004kind\"\337\001\n" + "\tDataQuery\022K\n" - + "\006looker\030\004 \001(\01324.google.cloud.gem" - + "inidataanalytics.v1beta.LookerQueryB\003\340A\001H\000\022\025\n" + + "\006looker\030\004 \001(\01324.goo" + + "gle.cloud.geminidataanalytics.v1beta.LookerQueryB\003\340A\001H\000\022\025\n" + "\010question\030\001 \001(\tB\003\340A\001\022\021\n" + "\004name\030\003 \001(\tB\003\340A\001\022M\n" - + "\013datasources\030\002 \003(\01323.google.cloud" - + ".geminidataanalytics.v1beta.DatasourceB\003\340A\001B\014\n\n" + + "\013datasources\030\002 \003(\01323" + + ".google.cloud.geminidataanalytics.v1beta.DatasourceB\003\340A\001B\014\n\n" + "query_type\"\221\001\n\n" + "DataResult\022\021\n" + "\004name\030\003 \001(\tB\003\340A\001\022D\n" - + "\006schema\030\005 \001(\0132/.google.clo" - + "ud.geminidataanalytics.v1beta.SchemaB\003\340A\001\022*\n" + + "\006schema\030\005 \001(\013" + + "2/.google.cloud.geminidataanalytics.v1beta.SchemaB\003\340A\001\022*\n" + "\004data\030\002 \003(\0132\027.google.protobuf.StructB\003\340A\001\"\371\001\n" + "\013BigQueryJob\022\027\n\n" + "project_id\030\001 \001(\tB\003\340A\002\022\023\n" + "\006job_id\030\002 \001(\tB\003\340A\002\022\025\n" + "\010location\030\005 \001(\tB\003\340A\001\022_\n" - + "\021destination_table\030\003 \001(\0132?." - + "google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\003\340A\001\022D\n" - + "\006schema\030\007 " - + "\001(\0132/.google.cloud.geminidataanalytics.v1beta.SchemaB\003\340A\001\"\264\001\n" + + "\021destination_table\030\003 \001(\0132?.google.cloud.geminidataanal" + + "ytics.v1beta.BigQueryTableReferenceB\003\340A\001\022D\n" + + "\006schema\030\007" + + " \001(\0132/.google.cloud.geminidataanalytics.v1beta.SchemaB\003\340A\001\"\264\001\n" + "\017AnalysisMessage\022G\n" - + "\005query\030\001" - + " \001(\01326.google.cloud.geminidataanalytics.v1beta.AnalysisQueryH\000\022P\n" - + "\016progress_event\030\002" - + " \001(\01326.google.cloud.geminidataanalytics.v1beta.AnalysisEventH\000B\006\n" + + "\005query\030\001 \001(\01326.google.cloud" + + ".geminidataanalytics.v1beta.AnalysisQueryH\000\022P\n" + + "\016progress_event\030\002 \001(\01326.google.clo" + + "ud.geminidataanalytics.v1beta.AnalysisEventH\000B\006\n" + "\004kind\"F\n\r" + "AnalysisQuery\022\025\n" + "\010question\030\001 \001(\tB\003\340A\001\022\036\n" @@ -404,62 +384,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014ChartMessage\022D\n" + "\005query\030\001" + " \001(\01323.google.cloud.geminidataanalytics.v1beta.ChartQueryH\000\022F\n" - + "\006result\030\002 \001(\01324.g" - + "oogle.cloud.geminidataanalytics.v1beta.ChartResultH\000B\006\n" + + "\006result\030\002" + + " \001(\01324.google.cloud.geminidataanalytics.v1beta.ChartResultH\000B\006\n" + "\004kind\"F\n\n" + "ChartQuery\022\031\n" + "\014instructions\030\001 \001(\tB\003\340A\001\022\035\n" + "\020data_result_name\030\002 \001(\tB\003\340A\001\"\203\001\n" + "\013ChartResult\0221\n" + "\013vega_config\030\002 \001(\0132\027.google.protobuf.StructB\003\340A\001\022A\n" - + "\005image\030\003" - + " \001(\0132-.google.cloud.geminidataanalytics.v1beta.BlobB\003\340A\001\"!\n" + + "\005image\030\003 \001(\0132-.google.clo" + + "ud.geminidataanalytics.v1beta.BlobB\003\340A\001\"!\n" + "\014ErrorMessage\022\021\n" + "\004text\030\001 \001(\tB\003\340A\003\"e\n" + "\016ExampleQueries\022S\n" - + "\017example_queries\030\001 \003(\01325.google.cloud." - + "geminidataanalytics.v1beta.ExampleQueryB\003\340A\001\"1\n" + + "\017example_queries\030\001 \003(\01325." + + "google.cloud.geminidataanalytics.v1beta.ExampleQueryB\003\340A\001\"1\n" + "\004Blob\022\026\n" + "\tmime_type\030\001 \001(\tB\003\340A\002\022\021\n" + "\004data\030\002 \001(\014B\003\340A\0022\256\014\n" + "\017DataChatService\022\251\001\n" - + "\004Chat\0224.google.cloud.geminidataanalytics." - + "v1beta.ChatRequest\0320.google.cloud.gemini" - + "dataanalytics.v1beta.Message\"7\202\323\344\223\0021\",/v" - + "1beta/{parent=projects/*/locations/*}:chat:\001*0\001\022\202\002\n" - + "\022CreateConversation\022B.google.cloud.geminidataanalytics.v1beta.CreateC" - + "onversationRequest\0325.google.cloud.gemini" - + "dataanalytics.v1beta.Conversation\"q\332A#pa" - + "rent,conversation,conversation_id\202\323\344\223\002E\"" - + "5/v1beta/{parent=projects/*/locations/*}/conversations:\014conversation\022\266\001\n" - + "\022DeleteConversation\022B.google.cloud.geminidataana" - + "lytics.v1beta.DeleteConversationRequest\032" - + "\026.google.protobuf.Empty\"D\332A\004name\202\323\344\223\0027*5" - + "/v1beta/{name=projects/*/locations/*/conversations/*}\022\317\001\n" - + "\017GetConversation\022?.google.cloud.geminidataanalytics.v1beta.GetC" - + "onversationRequest\0325.google.cloud.gemini" - + "dataanalytics.v1beta.Conversation\"D\332A\004na" - + "me\202\323\344\223\0027\0225/v1beta/{name=projects/*/locations/*/conversations/*}\022\342\001\n" - + "\021ListConversations\022A.google.cloud.geminidataanalytics" - + ".v1beta.ListConversationsRequest\032B.google.cloud.geminidataanalytics.v1beta.ListC" - + "onversationsResponse\"F\332A\006parent\202\323\344\223\0027\0225/" - + "v1beta/{parent=projects/*/locations/*}/conversations\022\336\001\n" - + "\014ListMessages\022<.google.cloud.geminidataanalytics.v1beta.ListMess" - + "agesRequest\032=.google.cloud.geminidataana" - + "lytics.v1beta.ListMessagesResponse\"Q\332A\006p" - + "arent\202\323\344\223\002B\022@/v1beta/{parent=projects/*/" - + "locations/*/conversations/*}/messages\022\300\001\n" - + "\tQueryData\0229.google.cloud.geminidataanalytics.v1beta.QueryDataRequest\032:.google." - + "cloud.geminidataanalytics.v1beta.QueryDa" - + "taResponse\"<\202\323\344\223\0026\"1/v1beta/{parent=proj" - + "ects/*/locations/*}:queryData:\001*\032V\312A\"gem" - + "inidataanalytics.googleapis.com\322A.https:" - + "//www.googleapis.com/auth/cloud-platformB\245\002\n" - + "+com.google.cloud.geminidataanalytics.v1betaB\024DataChatServiceProtoP\001Z]cloud." - + "google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanal" - + "yticspb\252\002\'Google.Cloud.GeminiDataAnalyti" - + "cs.V1Beta\312\002\'Google\\Cloud\\GeminiDataAnaly" - + "tics\\V1beta\352\002*Google::Cloud::GeminiDataAnalytics::V1betab\006proto3" + + "\004Chat\0224.google.cloud.geminidataanalytics.v1beta.ChatRequest\0320.google" + + ".cloud.geminidataanalytics.v1beta.Messag" + + "e\"7\202\323\344\223\0021\",/v1beta/{parent=projects/*/locations/*}:chat:\001*0\001\022\202\002\n" + + "\022CreateConversation\022B.google.cloud.geminidataanalytics.v" + + "1beta.CreateConversationRequest\0325.google.cloud.geminidataanalytics.v1beta.Conver" + + "sation\"q\332A#parent,conversation,conversat" + + "ion_id\202\323\344\223\002E\"5/v1beta/{parent=projects/*" + + "/locations/*}/conversations:\014conversation\022\266\001\n" + + "\022DeleteConversation\022B.google.cloud.geminidataanalytics.v1beta.DeleteConvers" + + "ationRequest\032\026.google.protobuf.Empty\"D\332A" + + "\004name\202\323\344\223\0027*5/v1beta/{name=projects/*/locations/*/conversations/*}\022\317\001\n" + + "\017GetConversation\022?.google.cloud.geminidataanalytic" + + "s.v1beta.GetConversationRequest\0325.google.cloud.geminidataanalytics.v1beta.Conver" + + "sation\"D\332A\004name\202\323\344\223\0027\0225/v1beta/{name=projects/*/locations/*/conversations/*}\022\342\001\n" + + "\021ListConversations\022A.google.cloud.geminidataanalytics.v1beta.ListConversationsRe" + + "quest\032B.google.cloud.geminidataanalytics" + + ".v1beta.ListConversationsResponse\"F\332A\006pa" + + "rent\202\323\344\223\0027\0225/v1beta/{parent=projects/*/locations/*}/conversations\022\336\001\n" + + "\014ListMessages\022<.google.cloud.geminidataanalytics.v1" + + "beta.ListMessagesRequest\032=.google.cloud.geminidataanalytics.v1beta.ListMessagesR" + + "esponse\"Q\332A\006parent\202\323\344\223\002B\022@/v1beta/{paren" + + "t=projects/*/locations/*/conversations/*}/messages\022\300\001\n" + + "\tQueryData\0229.google.cloud.geminidataanalytics.v1beta.QueryDataRequ" + + "est\032:.google.cloud.geminidataanalytics.v" + + "1beta.QueryDataResponse\"<\202\323\344\223\0026\"1/v1beta" + + "/{parent=projects/*/locations/*}:queryDa" + + "ta:\001*\032V\312A\"geminidataanalytics.googleapis" + + ".com\322A.https://www.googleapis.com/auth/cloud-platformB\245\002\n" + + "+com.google.cloud.geminidataanalytics.v1betaB\024DataChatServicePr" + + "otoP\001Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;g" + + "eminidataanalyticspb\252\002\'Google.Cloud.Gemi" + + "niDataAnalytics.V1Beta\312\002\'Google\\Cloud\\Ge" + + "miniDataAnalytics\\V1beta\352\002*Google::Cloud" + + "::GeminiDataAnalytics::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -689,26 +666,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Query", "GeneratedSql", "Result", "GeneratedLookerQuery", "BigQueryJob", "Kind", }); - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor, - new java.lang.String[] { - "Model", "Explore", "Fields", "Filters", "Sorts", "Limit", - }); - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_descriptor = - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_descriptor, - new java.lang.String[] { - "Field", "Value", - }); internal_static_google_cloud_geminidataanalytics_v1beta_DataQuery_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(20); internal_static_google_cloud_geminidataanalytics_v1beta_DataQuery_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_DataQuery_descriptor, @@ -716,7 +675,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Looker", "Question", "Name", "Datasources", "QueryType", }); internal_static_google_cloud_geminidataanalytics_v1beta_DataResult_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(21); internal_static_google_cloud_geminidataanalytics_v1beta_DataResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_DataResult_descriptor, @@ -724,7 +683,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Schema", "Data", }); internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryJob_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(22); internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryJob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_BigQueryJob_descriptor, @@ -732,7 +691,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "JobId", "Location", "DestinationTable", "Schema", }); internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisMessage_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(23); internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisMessage_descriptor, @@ -740,7 +699,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Query", "ProgressEvent", "Kind", }); internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisQuery_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(24); internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisQuery_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisQuery_descriptor, @@ -748,7 +707,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Question", "DataResultNames", }); internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisEvent_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(25); internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_AnalysisEvent_descriptor, @@ -766,7 +725,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Kind", }); internal_static_google_cloud_geminidataanalytics_v1beta_ChartMessage_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(26); internal_static_google_cloud_geminidataanalytics_v1beta_ChartMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_ChartMessage_descriptor, @@ -774,7 +733,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Query", "Result", "Kind", }); internal_static_google_cloud_geminidataanalytics_v1beta_ChartQuery_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(27); internal_static_google_cloud_geminidataanalytics_v1beta_ChartQuery_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_ChartQuery_descriptor, @@ -782,7 +741,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instructions", "DataResultName", }); internal_static_google_cloud_geminidataanalytics_v1beta_ChartResult_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(28); internal_static_google_cloud_geminidataanalytics_v1beta_ChartResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_ChartResult_descriptor, @@ -790,7 +749,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "VegaConfig", "Image", }); internal_static_google_cloud_geminidataanalytics_v1beta_ErrorMessage_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(29); internal_static_google_cloud_geminidataanalytics_v1beta_ErrorMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_ErrorMessage_descriptor, @@ -798,7 +757,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Text", }); internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQueries_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(30); internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQueries_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_ExampleQueries_descriptor, @@ -806,7 +765,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ExampleQueries", }); internal_static_google_cloud_geminidataanalytics_v1beta_Blob_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(31); internal_static_google_cloud_geminidataanalytics_v1beta_Blob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_geminidataanalytics_v1beta_Blob_descriptor, diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerGoldenQuery.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerGoldenQuery.java new file mode 100644 index 000000000000..2797cce881ea --- /dev/null +++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerGoldenQuery.java @@ -0,0 +1,1100 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/geminidataanalytics/v1beta/context.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.geminidataanalytics.v1beta; + +/** + * + * + *
+ * A golden query for Looker, including natural language questions and a
+ * corresponding Looker Query. Analogous to ExampleQuery.
+ * 
+ * + * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery} + */ +public final class LookerGoldenQuery extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery) + LookerGoldenQueryOrBuilder { + private static final long serialVersionUID = 0L; + + // Use LookerGoldenQuery.newBuilder() to construct. + private LookerGoldenQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private LookerGoldenQuery() { + naturalLanguageQuestions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LookerGoldenQuery(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.geminidataanalytics.v1beta.ContextProto + .internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.geminidataanalytics.v1beta.ContextProto + .internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.class, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder.class); + } + + private int bitField0_; + public static final int NATURAL_LANGUAGE_QUESTIONS_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList naturalLanguageQuestions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Optional. Natural language questions that a user might ask.
+   * For example: "How many orders were placed last month?"
+   * 
+ * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the naturalLanguageQuestions. + */ + public com.google.protobuf.ProtocolStringList getNaturalLanguageQuestionsList() { + return naturalLanguageQuestions_; + } + + /** + * + * + *
+   * Optional. Natural language questions that a user might ask.
+   * For example: "How many orders were placed last month?"
+   * 
+ * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of naturalLanguageQuestions. + */ + public int getNaturalLanguageQuestionsCount() { + return naturalLanguageQuestions_.size(); + } + + /** + * + * + *
+   * Optional. Natural language questions that a user might ask.
+   * For example: "How many orders were placed last month?"
+   * 
+ * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The naturalLanguageQuestions at the given index. + */ + public java.lang.String getNaturalLanguageQuestions(int index) { + return naturalLanguageQuestions_.get(index); + } + + /** + * + * + *
+   * Optional. Natural language questions that a user might ask.
+   * For example: "How many orders were placed last month?"
+   * 
+ * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the naturalLanguageQuestions at the given index. + */ + public com.google.protobuf.ByteString getNaturalLanguageQuestionsBytes(int index) { + return naturalLanguageQuestions_.getByteString(index); + } + + public static final int LOOKER_QUERY_FIELD_NUMBER = 5; + private com.google.cloud.geminidataanalytics.v1beta.LookerQuery lookerQuery_; + + /** + * + * + *
+   * Optional. The Looker Query corresponding to the natural language questions.
+   * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the lookerQuery field is set. + */ + @java.lang.Override + public boolean hasLookerQuery() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. The Looker Query corresponding to the natural language questions.
+   * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The lookerQuery. + */ + @java.lang.Override + public com.google.cloud.geminidataanalytics.v1beta.LookerQuery getLookerQuery() { + return lookerQuery_ == null + ? com.google.cloud.geminidataanalytics.v1beta.LookerQuery.getDefaultInstance() + : lookerQuery_; + } + + /** + * + * + *
+   * Optional. The Looker Query corresponding to the natural language questions.
+   * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.geminidataanalytics.v1beta.LookerQueryOrBuilder + getLookerQueryOrBuilder() { + return lookerQuery_ == null + ? com.google.cloud.geminidataanalytics.v1beta.LookerQuery.getDefaultInstance() + : lookerQuery_; + } + + 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 < naturalLanguageQuestions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, naturalLanguageQuestions_.getRaw(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(5, getLookerQuery()); + } + 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 < naturalLanguageQuestions_.size(); i++) { + dataSize += computeStringSizeNoTag(naturalLanguageQuestions_.getRaw(i)); + } + size += dataSize; + size += 1 * getNaturalLanguageQuestionsList().size(); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLookerQuery()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery)) { + return super.equals(obj); + } + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery other = + (com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery) obj; + + if (!getNaturalLanguageQuestionsList().equals(other.getNaturalLanguageQuestionsList())) + return false; + if (hasLookerQuery() != other.hasLookerQuery()) return false; + if (hasLookerQuery()) { + if (!getLookerQuery().equals(other.getLookerQuery())) 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 (getNaturalLanguageQuestionsCount() > 0) { + hash = (37 * hash) + NATURAL_LANGUAGE_QUESTIONS_FIELD_NUMBER; + hash = (53 * hash) + getNaturalLanguageQuestionsList().hashCode(); + } + if (hasLookerQuery()) { + hash = (37 * hash) + LOOKER_QUERY_FIELD_NUMBER; + hash = (53 * hash) + getLookerQuery().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * A golden query for Looker, including natural language questions and a
+   * corresponding Looker Query. Analogous to ExampleQuery.
+   * 
+ * + * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery) + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.geminidataanalytics.v1beta.ContextProto + .internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.geminidataanalytics.v1beta.ContextProto + .internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.class, + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.Builder.class); + } + + // Construct using com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getLookerQueryFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + naturalLanguageQuestions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + lookerQuery_ = null; + if (lookerQueryBuilder_ != null) { + lookerQueryBuilder_.dispose(); + lookerQueryBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.geminidataanalytics.v1beta.ContextProto + .internal_static_google_cloud_geminidataanalytics_v1beta_LookerGoldenQuery_descriptor; + } + + @java.lang.Override + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery + getDefaultInstanceForType() { + return com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery build() { + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery buildPartial() { + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery result = + new com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + naturalLanguageQuestions_.makeImmutable(); + result.naturalLanguageQuestions_ = naturalLanguageQuestions_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.lookerQuery_ = + lookerQueryBuilder_ == null ? lookerQuery_ : lookerQueryBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery) { + return mergeFrom((com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery other) { + if (other + == com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery.getDefaultInstance()) + return this; + if (!other.naturalLanguageQuestions_.isEmpty()) { + if (naturalLanguageQuestions_.isEmpty()) { + naturalLanguageQuestions_ = other.naturalLanguageQuestions_; + bitField0_ |= 0x00000001; + } else { + ensureNaturalLanguageQuestionsIsMutable(); + naturalLanguageQuestions_.addAll(other.naturalLanguageQuestions_); + } + onChanged(); + } + if (other.hasLookerQuery()) { + mergeLookerQuery(other.getLookerQuery()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureNaturalLanguageQuestionsIsMutable(); + naturalLanguageQuestions_.add(s); + break; + } // case 34 + case 42: + { + input.readMessage(getLookerQueryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList naturalLanguageQuestions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureNaturalLanguageQuestionsIsMutable() { + if (!naturalLanguageQuestions_.isModifiable()) { + naturalLanguageQuestions_ = + new com.google.protobuf.LazyStringArrayList(naturalLanguageQuestions_); + } + bitField0_ |= 0x00000001; + } + + /** + * + * + *
+     * Optional. Natural language questions that a user might ask.
+     * For example: "How many orders were placed last month?"
+     * 
+ * + * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the naturalLanguageQuestions. + */ + public com.google.protobuf.ProtocolStringList getNaturalLanguageQuestionsList() { + naturalLanguageQuestions_.makeImmutable(); + return naturalLanguageQuestions_; + } + + /** + * + * + *
+     * Optional. Natural language questions that a user might ask.
+     * For example: "How many orders were placed last month?"
+     * 
+ * + * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of naturalLanguageQuestions. + */ + public int getNaturalLanguageQuestionsCount() { + return naturalLanguageQuestions_.size(); + } + + /** + * + * + *
+     * Optional. Natural language questions that a user might ask.
+     * For example: "How many orders were placed last month?"
+     * 
+ * + * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The naturalLanguageQuestions at the given index. + */ + public java.lang.String getNaturalLanguageQuestions(int index) { + return naturalLanguageQuestions_.get(index); + } + + /** + * + * + *
+     * Optional. Natural language questions that a user might ask.
+     * For example: "How many orders were placed last month?"
+     * 
+ * + * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the naturalLanguageQuestions at the given index. + */ + public com.google.protobuf.ByteString getNaturalLanguageQuestionsBytes(int index) { + return naturalLanguageQuestions_.getByteString(index); + } + + /** + * + * + *
+     * Optional. Natural language questions that a user might ask.
+     * For example: "How many orders were placed last month?"
+     * 
+ * + * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index to set the value at. + * @param value The naturalLanguageQuestions to set. + * @return This builder for chaining. + */ + public Builder setNaturalLanguageQuestions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureNaturalLanguageQuestionsIsMutable(); + naturalLanguageQuestions_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Natural language questions that a user might ask.
+     * For example: "How many orders were placed last month?"
+     * 
+ * + * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The naturalLanguageQuestions to add. + * @return This builder for chaining. + */ + public Builder addNaturalLanguageQuestions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureNaturalLanguageQuestionsIsMutable(); + naturalLanguageQuestions_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Natural language questions that a user might ask.
+     * For example: "How many orders were placed last month?"
+     * 
+ * + * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param values The naturalLanguageQuestions to add. + * @return This builder for chaining. + */ + public Builder addAllNaturalLanguageQuestions(java.lang.Iterable values) { + ensureNaturalLanguageQuestionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, naturalLanguageQuestions_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Natural language questions that a user might ask.
+     * For example: "How many orders were placed last month?"
+     * 
+ * + * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearNaturalLanguageQuestions() { + naturalLanguageQuestions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Natural language questions that a user might ask.
+     * For example: "How many orders were placed last month?"
+     * 
+ * + * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The bytes of the naturalLanguageQuestions to add. + * @return This builder for chaining. + */ + public Builder addNaturalLanguageQuestionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureNaturalLanguageQuestionsIsMutable(); + naturalLanguageQuestions_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.cloud.geminidataanalytics.v1beta.LookerQuery lookerQuery_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.geminidataanalytics.v1beta.LookerQuery, + com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Builder, + com.google.cloud.geminidataanalytics.v1beta.LookerQueryOrBuilder> + lookerQueryBuilder_; + + /** + * + * + *
+     * Optional. The Looker Query corresponding to the natural language questions.
+     * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the lookerQuery field is set. + */ + public boolean hasLookerQuery() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Optional. The Looker Query corresponding to the natural language questions.
+     * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The lookerQuery. + */ + public com.google.cloud.geminidataanalytics.v1beta.LookerQuery getLookerQuery() { + if (lookerQueryBuilder_ == null) { + return lookerQuery_ == null + ? com.google.cloud.geminidataanalytics.v1beta.LookerQuery.getDefaultInstance() + : lookerQuery_; + } else { + return lookerQueryBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. The Looker Query corresponding to the natural language questions.
+     * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setLookerQuery(com.google.cloud.geminidataanalytics.v1beta.LookerQuery value) { + if (lookerQueryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + lookerQuery_ = value; + } else { + lookerQueryBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The Looker Query corresponding to the natural language questions.
+     * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setLookerQuery( + com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Builder builderForValue) { + if (lookerQueryBuilder_ == null) { + lookerQuery_ = builderForValue.build(); + } else { + lookerQueryBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The Looker Query corresponding to the natural language questions.
+     * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeLookerQuery(com.google.cloud.geminidataanalytics.v1beta.LookerQuery value) { + if (lookerQueryBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && lookerQuery_ != null + && lookerQuery_ + != com.google.cloud.geminidataanalytics.v1beta.LookerQuery.getDefaultInstance()) { + getLookerQueryBuilder().mergeFrom(value); + } else { + lookerQuery_ = value; + } + } else { + lookerQueryBuilder_.mergeFrom(value); + } + if (lookerQuery_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. The Looker Query corresponding to the natural language questions.
+     * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearLookerQuery() { + bitField0_ = (bitField0_ & ~0x00000002); + lookerQuery_ = null; + if (lookerQueryBuilder_ != null) { + lookerQueryBuilder_.dispose(); + lookerQueryBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The Looker Query corresponding to the natural language questions.
+     * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Builder getLookerQueryBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getLookerQueryFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The Looker Query corresponding to the natural language questions.
+     * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.geminidataanalytics.v1beta.LookerQueryOrBuilder + getLookerQueryOrBuilder() { + if (lookerQueryBuilder_ != null) { + return lookerQueryBuilder_.getMessageOrBuilder(); + } else { + return lookerQuery_ == null + ? com.google.cloud.geminidataanalytics.v1beta.LookerQuery.getDefaultInstance() + : lookerQuery_; + } + } + + /** + * + * + *
+     * Optional. The Looker Query corresponding to the natural language questions.
+     * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.geminidataanalytics.v1beta.LookerQuery, + com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Builder, + com.google.cloud.geminidataanalytics.v1beta.LookerQueryOrBuilder> + getLookerQueryFieldBuilder() { + if (lookerQueryBuilder_ == null) { + lookerQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.geminidataanalytics.v1beta.LookerQuery, + com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Builder, + com.google.cloud.geminidataanalytics.v1beta.LookerQueryOrBuilder>( + getLookerQuery(), getParentForChildren(), isClean()); + lookerQuery_ = null; + } + return lookerQueryBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery) + } + + // @@protoc_insertion_point(class_scope:google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery) + private static final com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery(); + } + + public static com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookerGoldenQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerGoldenQueryOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerGoldenQueryOrBuilder.java new file mode 100644 index 000000000000..36b3a2b7c921 --- /dev/null +++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerGoldenQueryOrBuilder.java @@ -0,0 +1,131 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/geminidataanalytics/v1beta/context.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.geminidataanalytics.v1beta; + +public interface LookerGoldenQueryOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Natural language questions that a user might ask.
+   * For example: "How many orders were placed last month?"
+   * 
+ * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the naturalLanguageQuestions. + */ + java.util.List getNaturalLanguageQuestionsList(); + + /** + * + * + *
+   * Optional. Natural language questions that a user might ask.
+   * For example: "How many orders were placed last month?"
+   * 
+ * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of naturalLanguageQuestions. + */ + int getNaturalLanguageQuestionsCount(); + + /** + * + * + *
+   * Optional. Natural language questions that a user might ask.
+   * For example: "How many orders were placed last month?"
+   * 
+ * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The naturalLanguageQuestions at the given index. + */ + java.lang.String getNaturalLanguageQuestions(int index); + + /** + * + * + *
+   * Optional. Natural language questions that a user might ask.
+   * For example: "How many orders were placed last month?"
+   * 
+ * + * repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the naturalLanguageQuestions at the given index. + */ + com.google.protobuf.ByteString getNaturalLanguageQuestionsBytes(int index); + + /** + * + * + *
+   * Optional. The Looker Query corresponding to the natural language questions.
+   * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the lookerQuery field is set. + */ + boolean hasLookerQuery(); + + /** + * + * + *
+   * Optional. The Looker Query corresponding to the natural language questions.
+   * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The lookerQuery. + */ + com.google.cloud.geminidataanalytics.v1beta.LookerQuery getLookerQuery(); + + /** + * + * + *
+   * Optional. The Looker Query corresponding to the natural language questions.
+   * 
+ * + * + * .google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.geminidataanalytics.v1beta.LookerQueryOrBuilder getLookerQueryOrBuilder(); +} diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQuery.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQuery.java index dbbab5e40bb2..2a4aa6c33fc4 100644 --- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQuery.java +++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQuery.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/geminidataanalytics/v1beta/data_chat_service.proto +// source: google/cloud/geminidataanalytics/v1beta/context.proto // Protobuf Java Version: 3.25.8 package com.google.cloud.geminidataanalytics.v1beta; @@ -23,9 +23,9 @@ * * *
- * A query for retrieving data from a Looker Explore. See
- * [Run Inline
- * Query](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query).
+ * Looker Query Object
+ * [Looker API
+ * documentation](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query).
  * 
* * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.LookerQuery} @@ -57,14 +57,14 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto + return com.google.cloud.geminidataanalytics.v1beta.ContextProto .internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto + return com.google.cloud.geminidataanalytics.v1beta.ContextProto .internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.geminidataanalytics.v1beta.LookerQuery.class, @@ -106,7 +106,7 @@ public interface FilterOrBuilder * * *
-     * Required. The value f field to filter on.
+     * Required. The value for the field to filter on.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -119,7 +119,7 @@ public interface FilterOrBuilder * * *
-     * Required. The value f field to filter on.
+     * Required. The value for the field to filter on.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -161,14 +161,14 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto + return com.google.cloud.geminidataanalytics.v1beta.ContextProto .internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto + return com.google.cloud.geminidataanalytics.v1beta.ContextProto .internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter.class, @@ -237,7 +237,7 @@ public com.google.protobuf.ByteString getFieldBytes() { * * *
-     * Required. The value f field to filter on.
+     * Required. The value for the field to filter on.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -261,7 +261,7 @@ public java.lang.String getValue() { * * *
-     * Required. The value f field to filter on.
+     * Required. The value for the field to filter on.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -467,14 +467,14 @@ public static final class Builder // @@protoc_insertion_point(builder_implements:google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter) com.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto + return com.google.cloud.geminidataanalytics.v1beta.ContextProto .internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto + return com.google.cloud.geminidataanalytics.v1beta.ContextProto .internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter.class, @@ -499,7 +499,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto + return com.google.cloud.geminidataanalytics.v1beta.ContextProto .internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_Filter_descriptor; } @@ -774,7 +774,7 @@ public Builder setFieldBytes(com.google.protobuf.ByteString value) { * * *
-       * Required. The value f field to filter on.
+       * Required. The value for the field to filter on.
        * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -797,7 +797,7 @@ public java.lang.String getValue() { * * *
-       * Required. The value f field to filter on.
+       * Required. The value for the field to filter on.
        * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -820,7 +820,7 @@ public com.google.protobuf.ByteString getValueBytes() { * * *
-       * Required. The value f field to filter on.
+       * Required. The value for the field to filter on.
        * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -842,7 +842,7 @@ public Builder setValue(java.lang.String value) { * * *
-       * Required. The value f field to filter on.
+       * Required. The value for the field to filter on.
        * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -860,7 +860,7 @@ public Builder clearValue() { * * *
-       * Required. The value f field to filter on.
+       * Required. The value for the field to filter on.
        * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1009,7 +1009,7 @@ public com.google.protobuf.ByteString getModelBytes() { * * *
-   * Required. The LookML Explore used to generate the query.
+   * Required. The LookML explore used to generate the query.
    * 
* * string explore = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1033,7 +1033,7 @@ public java.lang.String getExplore() { * * *
-   * Required. The LookML Explore used to generate the query.
+   * Required. The LookML explore used to generate the query.
    * 
* * string explore = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getExploreBytes() { * * *
-   * Optional. The fields to retrieve from the Explore.
+   * Optional. The fields to retrieve from the explore.
    * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1078,7 +1078,7 @@ public com.google.protobuf.ProtocolStringList getFieldsList() { * * *
-   * Optional. The fields to retrieve from the Explore.
+   * Optional. The fields to retrieve from the explore.
    * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1093,7 +1093,7 @@ public int getFieldsCount() { * * *
-   * Optional. The fields to retrieve from the Explore.
+   * Optional. The fields to retrieve from the explore.
    * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1109,7 +1109,7 @@ public java.lang.String getFields(int index) { * * *
-   * Optional. The fields to retrieve from the Explore.
+   * Optional. The fields to retrieve from the explore.
    * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1130,7 +1130,7 @@ public com.google.protobuf.ByteString getFieldsBytes(int index) { * * *
-   * Optional. The filters to apply to the Explore.
+   * Optional. The filters to apply to the explore.
    * 
* * @@ -1147,7 +1147,7 @@ public com.google.protobuf.ByteString getFieldsBytes(int index) { * * *
-   * Optional. The filters to apply to the Explore.
+   * Optional. The filters to apply to the explore.
    * 
* * @@ -1165,7 +1165,7 @@ public com.google.protobuf.ByteString getFieldsBytes(int index) { * * *
-   * Optional. The filters to apply to the Explore.
+   * Optional. The filters to apply to the explore.
    * 
* * @@ -1181,7 +1181,7 @@ public int getFiltersCount() { * * *
-   * Optional. The filters to apply to the Explore.
+   * Optional. The filters to apply to the explore.
    * 
* * @@ -1197,7 +1197,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter getFilters * * *
-   * Optional. The filters to apply to the Explore.
+   * Optional. The filters to apply to the explore.
    * 
* * @@ -1220,7 +1220,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter getFilters * * *
-   * Optional. The sorts to apply to the Explore.
+   * Optional. The sorts to apply to the explore.
    * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1235,7 +1235,7 @@ public com.google.protobuf.ProtocolStringList getSortsList() { * * *
-   * Optional. The sorts to apply to the Explore.
+   * Optional. The sorts to apply to the explore.
    * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1250,7 +1250,7 @@ public int getSortsCount() { * * *
-   * Optional. The sorts to apply to the Explore.
+   * Optional. The sorts to apply to the explore.
    * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1266,7 +1266,7 @@ public java.lang.String getSorts(int index) { * * *
-   * Optional. The sorts to apply to the Explore.
+   * Optional. The sorts to apply to the explore.
    * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1578,9 +1578,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * A query for retrieving data from a Looker Explore. See
-   * [Run Inline
-   * Query](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query).
+   * Looker Query Object
+   * [Looker API
+   * documentation](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query).
    * 
* * Protobuf type {@code google.cloud.geminidataanalytics.v1beta.LookerQuery} @@ -1590,14 +1590,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.geminidataanalytics.v1beta.LookerQuery) com.google.cloud.geminidataanalytics.v1beta.LookerQueryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto + return com.google.cloud.geminidataanalytics.v1beta.ContextProto .internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto + return com.google.cloud.geminidataanalytics.v1beta.ContextProto .internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.geminidataanalytics.v1beta.LookerQuery.class, @@ -1632,7 +1632,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.geminidataanalytics.v1beta.DataChatServiceProto + return com.google.cloud.geminidataanalytics.v1beta.ContextProto .internal_static_google_cloud_geminidataanalytics_v1beta_LookerQuery_descriptor; } @@ -2015,7 +2015,7 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The LookML Explore used to generate the query.
+     * Required. The LookML explore used to generate the query.
      * 
* * string explore = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2038,7 +2038,7 @@ public java.lang.String getExplore() { * * *
-     * Required. The LookML Explore used to generate the query.
+     * Required. The LookML explore used to generate the query.
      * 
* * string explore = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2061,7 +2061,7 @@ public com.google.protobuf.ByteString getExploreBytes() { * * *
-     * Required. The LookML Explore used to generate the query.
+     * Required. The LookML explore used to generate the query.
      * 
* * string explore = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2083,7 +2083,7 @@ public Builder setExplore(java.lang.String value) { * * *
-     * Required. The LookML Explore used to generate the query.
+     * Required. The LookML explore used to generate the query.
      * 
* * string explore = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2101,7 +2101,7 @@ public Builder clearExplore() { * * *
-     * Required. The LookML Explore used to generate the query.
+     * Required. The LookML explore used to generate the query.
      * 
* * string explore = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2134,7 +2134,7 @@ private void ensureFieldsIsMutable() { * * *
-     * Optional. The fields to retrieve from the Explore.
+     * Optional. The fields to retrieve from the explore.
      * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2150,7 +2150,7 @@ public com.google.protobuf.ProtocolStringList getFieldsList() { * * *
-     * Optional. The fields to retrieve from the Explore.
+     * Optional. The fields to retrieve from the explore.
      * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2165,7 +2165,7 @@ public int getFieldsCount() { * * *
-     * Optional. The fields to retrieve from the Explore.
+     * Optional. The fields to retrieve from the explore.
      * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2181,7 +2181,7 @@ public java.lang.String getFields(int index) { * * *
-     * Optional. The fields to retrieve from the Explore.
+     * Optional. The fields to retrieve from the explore.
      * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2197,7 +2197,7 @@ public com.google.protobuf.ByteString getFieldsBytes(int index) { * * *
-     * Optional. The fields to retrieve from the Explore.
+     * Optional. The fields to retrieve from the explore.
      * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2221,7 +2221,7 @@ public Builder setFields(int index, java.lang.String value) { * * *
-     * Optional. The fields to retrieve from the Explore.
+     * Optional. The fields to retrieve from the explore.
      * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2244,7 +2244,7 @@ public Builder addFields(java.lang.String value) { * * *
-     * Optional. The fields to retrieve from the Explore.
+     * Optional. The fields to retrieve from the explore.
      * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2264,7 +2264,7 @@ public Builder addAllFields(java.lang.Iterable values) { * * *
-     * Optional. The fields to retrieve from the Explore.
+     * Optional. The fields to retrieve from the explore.
      * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2283,7 +2283,7 @@ public Builder clearFields() { * * *
-     * Optional. The fields to retrieve from the Explore.
+     * Optional. The fields to retrieve from the explore.
      * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2325,7 +2325,7 @@ private void ensureFiltersIsMutable() { * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2345,7 +2345,7 @@ private void ensureFiltersIsMutable() { * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2364,7 +2364,7 @@ public int getFiltersCount() { * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2383,7 +2383,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter getFilters * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2409,7 +2409,7 @@ public Builder setFilters( * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2433,7 +2433,7 @@ public Builder setFilters( * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2459,7 +2459,7 @@ public Builder addFilters( * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2485,7 +2485,7 @@ public Builder addFilters( * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2508,7 +2508,7 @@ public Builder addFilters( * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2532,7 +2532,7 @@ public Builder addFilters( * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2556,7 +2556,7 @@ public Builder addAllFilters( * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2578,7 +2578,7 @@ public Builder clearFilters() { * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2600,7 +2600,7 @@ public Builder removeFilters(int index) { * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2616,7 +2616,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter.Builder ge * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2636,7 +2636,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter.Builder ge * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2657,7 +2657,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter.Builder ge * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2675,7 +2675,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter.Builder ge * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2694,7 +2694,7 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter.Builder ad * * *
-     * Optional. The filters to apply to the Explore.
+     * Optional. The filters to apply to the explore.
      * 
* * @@ -2737,7 +2737,7 @@ private void ensureSortsIsMutable() { * * *
-     * Optional. The sorts to apply to the Explore.
+     * Optional. The sorts to apply to the explore.
      * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2753,7 +2753,7 @@ public com.google.protobuf.ProtocolStringList getSortsList() { * * *
-     * Optional. The sorts to apply to the Explore.
+     * Optional. The sorts to apply to the explore.
      * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2768,7 +2768,7 @@ public int getSortsCount() { * * *
-     * Optional. The sorts to apply to the Explore.
+     * Optional. The sorts to apply to the explore.
      * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2784,7 +2784,7 @@ public java.lang.String getSorts(int index) { * * *
-     * Optional. The sorts to apply to the Explore.
+     * Optional. The sorts to apply to the explore.
      * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2800,7 +2800,7 @@ public com.google.protobuf.ByteString getSortsBytes(int index) { * * *
-     * Optional. The sorts to apply to the Explore.
+     * Optional. The sorts to apply to the explore.
      * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2824,7 +2824,7 @@ public Builder setSorts(int index, java.lang.String value) { * * *
-     * Optional. The sorts to apply to the Explore.
+     * Optional. The sorts to apply to the explore.
      * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2847,7 +2847,7 @@ public Builder addSorts(java.lang.String value) { * * *
-     * Optional. The sorts to apply to the Explore.
+     * Optional. The sorts to apply to the explore.
      * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2867,7 +2867,7 @@ public Builder addAllSorts(java.lang.Iterable values) { * * *
-     * Optional. The sorts to apply to the Explore.
+     * Optional. The sorts to apply to the explore.
      * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2886,7 +2886,7 @@ public Builder clearSorts() { * * *
-     * Optional. The sorts to apply to the Explore.
+     * Optional. The sorts to apply to the explore.
      * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQueryOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQueryOrBuilder.java index c35684d3f359..f3e7567dc1e2 100644 --- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQueryOrBuilder.java +++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/LookerQueryOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/geminidataanalytics/v1beta/data_chat_service.proto +// source: google/cloud/geminidataanalytics/v1beta/context.proto // Protobuf Java Version: 3.25.8 package com.google.cloud.geminidataanalytics.v1beta; @@ -54,7 +54,7 @@ public interface LookerQueryOrBuilder * * *
-   * Required. The LookML Explore used to generate the query.
+   * Required. The LookML explore used to generate the query.
    * 
* * string explore = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -67,7 +67,7 @@ public interface LookerQueryOrBuilder * * *
-   * Required. The LookML Explore used to generate the query.
+   * Required. The LookML explore used to generate the query.
    * 
* * string explore = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -80,7 +80,7 @@ public interface LookerQueryOrBuilder * * *
-   * Optional. The fields to retrieve from the Explore.
+   * Optional. The fields to retrieve from the explore.
    * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -93,7 +93,7 @@ public interface LookerQueryOrBuilder * * *
-   * Optional. The fields to retrieve from the Explore.
+   * Optional. The fields to retrieve from the explore.
    * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -106,7 +106,7 @@ public interface LookerQueryOrBuilder * * *
-   * Optional. The fields to retrieve from the Explore.
+   * Optional. The fields to retrieve from the explore.
    * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -120,7 +120,7 @@ public interface LookerQueryOrBuilder * * *
-   * Optional. The fields to retrieve from the Explore.
+   * Optional. The fields to retrieve from the explore.
    * 
* * repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -134,7 +134,7 @@ public interface LookerQueryOrBuilder * * *
-   * Optional. The filters to apply to the Explore.
+   * Optional. The filters to apply to the explore.
    * 
* * @@ -147,7 +147,7 @@ public interface LookerQueryOrBuilder * * *
-   * Optional. The filters to apply to the Explore.
+   * Optional. The filters to apply to the explore.
    * 
* * @@ -160,7 +160,7 @@ public interface LookerQueryOrBuilder * * *
-   * Optional. The filters to apply to the Explore.
+   * Optional. The filters to apply to the explore.
    * 
* * @@ -173,7 +173,7 @@ public interface LookerQueryOrBuilder * * *
-   * Optional. The filters to apply to the Explore.
+   * Optional. The filters to apply to the explore.
    * 
* * @@ -187,7 +187,7 @@ public interface LookerQueryOrBuilder * * *
-   * Optional. The filters to apply to the Explore.
+   * Optional. The filters to apply to the explore.
    * 
* * @@ -201,7 +201,7 @@ com.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterOrBuilder getFilte * * *
-   * Optional. The sorts to apply to the Explore.
+   * Optional. The sorts to apply to the explore.
    * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -214,7 +214,7 @@ com.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterOrBuilder getFilte * * *
-   * Optional. The sorts to apply to the Explore.
+   * Optional. The sorts to apply to the explore.
    * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -227,7 +227,7 @@ com.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterOrBuilder getFilte * * *
-   * Optional. The sorts to apply to the Explore.
+   * Optional. The sorts to apply to the explore.
    * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -241,7 +241,7 @@ com.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterOrBuilder getFilte * * *
-   * Optional. The sorts to apply to the Explore.
+   * Optional. The sorts to apply to the explore.
    * 
* * repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/context.proto b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/context.proto index 196608cce80d..d2b586e69079 100644 --- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/context.proto +++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/context.proto @@ -101,6 +101,12 @@ message Context { repeated ExampleQuery example_queries = 5 [(google.api.field_behavior) = OPTIONAL]; + // Optional. A list of golden queries, providing examples of relevant and + // commonly used Looker queries and their corresponding natural language + // queries optionally present. + repeated LookerGoldenQuery looker_golden_queries = 11 + [(google.api.field_behavior) = OPTIONAL]; + // Optional. Term definitions (currently, only user authored) repeated GlossaryTerm glossary_terms = 8 [(google.api.field_behavior) = OPTIONAL]; @@ -129,6 +135,50 @@ message ExampleQuery { string natural_language_question = 1 [(google.api.field_behavior) = OPTIONAL]; } +// A golden query for Looker, including natural language questions and a +// corresponding Looker Query. Analogous to ExampleQuery. +message LookerGoldenQuery { + // Optional. Natural language questions that a user might ask. + // For example: "How many orders were placed last month?" + repeated string natural_language_questions = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The Looker Query corresponding to the natural language questions. + LookerQuery looker_query = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Looker Query Object +// [Looker API +// documentation](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query). +message LookerQuery { + // A Looker query filter. + message Filter { + // Required. The field to filter on. + string field = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The value for the field to filter on. + string value = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Required. The LookML model used to generate the query. + string model = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The LookML explore used to generate the query. + string explore = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The fields to retrieve from the explore. + repeated string fields = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The filters to apply to the explore. + repeated Filter filters = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The sorts to apply to the explore. + repeated string sorts = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Limit in the query. + optional string limit = 6 [(google.api.field_behavior) = OPTIONAL]; +} + // Definition of a term within a specific domain. message GlossaryTerm { // Required. User friendly display name of the glossary term being defined. diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/data_chat_service.proto b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/data_chat_service.proto index 44c826f007f2..66916ef330b8 100644 --- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/data_chat_service.proto +++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/data_chat_service.proto @@ -542,38 +542,6 @@ message DataMessage { } } -// A query for retrieving data from a Looker Explore. See -// [Run Inline -// Query](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query). -message LookerQuery { - // A Looker query filter. - message Filter { - // Required. The field to filter on. - string field = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The value f field to filter on. - string value = 2 [(google.api.field_behavior) = REQUIRED]; - } - - // Required. The LookML model used to generate the query. - string model = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The LookML Explore used to generate the query. - string explore = 2 [(google.api.field_behavior) = REQUIRED]; - - // Optional. The fields to retrieve from the Explore. - repeated string fields = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The filters to apply to the Explore. - repeated Filter filters = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The sorts to apply to the Explore. - repeated string sorts = 5 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Limit in the query. - optional string limit = 6 [(google.api.field_behavior) = OPTIONAL]; -} - // A query for retrieving data. message DataQuery { // The type of query to execute. diff --git a/java-maintenance/proto-google-cloud-maintenance-v1/src/main/java/com/google/cloud/maintenance/api/v1/SummarizeMaintenancesRequest.java b/java-maintenance/proto-google-cloud-maintenance-v1/src/main/java/com/google/cloud/maintenance/api/v1/SummarizeMaintenancesRequest.java index ccb67732344e..b92daeb8c597 100644 --- a/java-maintenance/proto-google-cloud-maintenance-v1/src/main/java/com/google/cloud/maintenance/api/v1/SummarizeMaintenancesRequest.java +++ b/java-maintenance/proto-google-cloud-maintenance-v1/src/main/java/com/google/cloud/maintenance/api/v1/SummarizeMaintenancesRequest.java @@ -212,21 +212,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { *
    * Filter the list as specified in https://google.aip.dev/160.
    * Supported fields include:
-   * - `state`
-   * - `resource.location`
-   * - `resource.resourceName`
-   * - `resource.type`
    * - `maintenance.maintenanceName`
-   * - `maintenanceStartTime`
-   * - `maintenanceCompleteTime`
    * Examples:
-   * - `state="SCHEDULED"`
-   * - `resource.location="us-central1-c"`
-   * - `resource.resourceName=~"*/instance-20241212-211259"`
-   * - `maintenanceStartTime>"2000-10-11T20:44:51Z"`
-   * - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"`
-   * - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND
-   * maintenanceCompleteTime>"2000-10-11T20:44:51Z"`
+   * - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`
    * 
* * string filter = 10507; @@ -252,21 +240,9 @@ public java.lang.String getFilter() { *
    * Filter the list as specified in https://google.aip.dev/160.
    * Supported fields include:
-   * - `state`
-   * - `resource.location`
-   * - `resource.resourceName`
-   * - `resource.type`
    * - `maintenance.maintenanceName`
-   * - `maintenanceStartTime`
-   * - `maintenanceCompleteTime`
    * Examples:
-   * - `state="SCHEDULED"`
-   * - `resource.location="us-central1-c"`
-   * - `resource.resourceName=~"*/instance-20241212-211259"`
-   * - `maintenanceStartTime>"2000-10-11T20:44:51Z"`
-   * - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"`
-   * - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND
-   * maintenanceCompleteTime>"2000-10-11T20:44:51Z"`
+   * - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`
    * 
* * string filter = 10507; @@ -1090,21 +1066,9 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { *
      * Filter the list as specified in https://google.aip.dev/160.
      * Supported fields include:
-     * - `state`
-     * - `resource.location`
-     * - `resource.resourceName`
-     * - `resource.type`
      * - `maintenance.maintenanceName`
-     * - `maintenanceStartTime`
-     * - `maintenanceCompleteTime`
      * Examples:
-     * - `state="SCHEDULED"`
-     * - `resource.location="us-central1-c"`
-     * - `resource.resourceName=~"*/instance-20241212-211259"`
-     * - `maintenanceStartTime>"2000-10-11T20:44:51Z"`
-     * - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"`
-     * - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND
-     * maintenanceCompleteTime>"2000-10-11T20:44:51Z"`
+     * - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`
      * 
* * string filter = 10507; @@ -1129,21 +1093,9 @@ public java.lang.String getFilter() { *
      * Filter the list as specified in https://google.aip.dev/160.
      * Supported fields include:
-     * - `state`
-     * - `resource.location`
-     * - `resource.resourceName`
-     * - `resource.type`
      * - `maintenance.maintenanceName`
-     * - `maintenanceStartTime`
-     * - `maintenanceCompleteTime`
      * Examples:
-     * - `state="SCHEDULED"`
-     * - `resource.location="us-central1-c"`
-     * - `resource.resourceName=~"*/instance-20241212-211259"`
-     * - `maintenanceStartTime>"2000-10-11T20:44:51Z"`
-     * - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"`
-     * - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND
-     * maintenanceCompleteTime>"2000-10-11T20:44:51Z"`
+     * - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`
      * 
* * string filter = 10507; @@ -1168,21 +1120,9 @@ public com.google.protobuf.ByteString getFilterBytes() { *
      * Filter the list as specified in https://google.aip.dev/160.
      * Supported fields include:
-     * - `state`
-     * - `resource.location`
-     * - `resource.resourceName`
-     * - `resource.type`
      * - `maintenance.maintenanceName`
-     * - `maintenanceStartTime`
-     * - `maintenanceCompleteTime`
      * Examples:
-     * - `state="SCHEDULED"`
-     * - `resource.location="us-central1-c"`
-     * - `resource.resourceName=~"*/instance-20241212-211259"`
-     * - `maintenanceStartTime>"2000-10-11T20:44:51Z"`
-     * - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"`
-     * - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND
-     * maintenanceCompleteTime>"2000-10-11T20:44:51Z"`
+     * - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`
      * 
* * string filter = 10507; @@ -1206,21 +1146,9 @@ public Builder setFilter(java.lang.String value) { *
      * Filter the list as specified in https://google.aip.dev/160.
      * Supported fields include:
-     * - `state`
-     * - `resource.location`
-     * - `resource.resourceName`
-     * - `resource.type`
      * - `maintenance.maintenanceName`
-     * - `maintenanceStartTime`
-     * - `maintenanceCompleteTime`
      * Examples:
-     * - `state="SCHEDULED"`
-     * - `resource.location="us-central1-c"`
-     * - `resource.resourceName=~"*/instance-20241212-211259"`
-     * - `maintenanceStartTime>"2000-10-11T20:44:51Z"`
-     * - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"`
-     * - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND
-     * maintenanceCompleteTime>"2000-10-11T20:44:51Z"`
+     * - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`
      * 
* * string filter = 10507; @@ -1240,21 +1168,9 @@ public Builder clearFilter() { *
      * Filter the list as specified in https://google.aip.dev/160.
      * Supported fields include:
-     * - `state`
-     * - `resource.location`
-     * - `resource.resourceName`
-     * - `resource.type`
      * - `maintenance.maintenanceName`
-     * - `maintenanceStartTime`
-     * - `maintenanceCompleteTime`
      * Examples:
-     * - `state="SCHEDULED"`
-     * - `resource.location="us-central1-c"`
-     * - `resource.resourceName=~"*/instance-20241212-211259"`
-     * - `maintenanceStartTime>"2000-10-11T20:44:51Z"`
-     * - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"`
-     * - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND
-     * maintenanceCompleteTime>"2000-10-11T20:44:51Z"`
+     * - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`
      * 
* * string filter = 10507; diff --git a/java-maintenance/proto-google-cloud-maintenance-v1/src/main/java/com/google/cloud/maintenance/api/v1/SummarizeMaintenancesRequestOrBuilder.java b/java-maintenance/proto-google-cloud-maintenance-v1/src/main/java/com/google/cloud/maintenance/api/v1/SummarizeMaintenancesRequestOrBuilder.java index aecf749a7644..3a2042d20113 100644 --- a/java-maintenance/proto-google-cloud-maintenance-v1/src/main/java/com/google/cloud/maintenance/api/v1/SummarizeMaintenancesRequestOrBuilder.java +++ b/java-maintenance/proto-google-cloud-maintenance-v1/src/main/java/com/google/cloud/maintenance/api/v1/SummarizeMaintenancesRequestOrBuilder.java @@ -104,21 +104,9 @@ public interface SummarizeMaintenancesRequestOrBuilder *
    * Filter the list as specified in https://google.aip.dev/160.
    * Supported fields include:
-   * - `state`
-   * - `resource.location`
-   * - `resource.resourceName`
-   * - `resource.type`
    * - `maintenance.maintenanceName`
-   * - `maintenanceStartTime`
-   * - `maintenanceCompleteTime`
    * Examples:
-   * - `state="SCHEDULED"`
-   * - `resource.location="us-central1-c"`
-   * - `resource.resourceName=~"*/instance-20241212-211259"`
-   * - `maintenanceStartTime>"2000-10-11T20:44:51Z"`
-   * - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"`
-   * - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND
-   * maintenanceCompleteTime>"2000-10-11T20:44:51Z"`
+   * - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`
    * 
* * string filter = 10507; @@ -133,21 +121,9 @@ public interface SummarizeMaintenancesRequestOrBuilder *
    * Filter the list as specified in https://google.aip.dev/160.
    * Supported fields include:
-   * - `state`
-   * - `resource.location`
-   * - `resource.resourceName`
-   * - `resource.type`
    * - `maintenance.maintenanceName`
-   * - `maintenanceStartTime`
-   * - `maintenanceCompleteTime`
    * Examples:
-   * - `state="SCHEDULED"`
-   * - `resource.location="us-central1-c"`
-   * - `resource.resourceName=~"*/instance-20241212-211259"`
-   * - `maintenanceStartTime>"2000-10-11T20:44:51Z"`
-   * - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"`
-   * - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND
-   * maintenanceCompleteTime>"2000-10-11T20:44:51Z"`
+   * - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`
    * 
* * string filter = 10507; diff --git a/java-maintenance/proto-google-cloud-maintenance-v1/src/main/proto/google/cloud/maintenance/api/v1/maintenance_service.proto b/java-maintenance/proto-google-cloud-maintenance-v1/src/main/proto/google/cloud/maintenance/api/v1/maintenance_service.proto index 690876d81e9c..7c4cf6f5ce99 100644 --- a/java-maintenance/proto-google-cloud-maintenance-v1/src/main/proto/google/cloud/maintenance/api/v1/maintenance_service.proto +++ b/java-maintenance/proto-google-cloud-maintenance-v1/src/main/proto/google/cloud/maintenance/api/v1/maintenance_service.proto @@ -104,21 +104,9 @@ message SummarizeMaintenancesRequest { // Filter the list as specified in https://google.aip.dev/160. // Supported fields include: - // - `state` - // - `resource.location` - // - `resource.resourceName` - // - `resource.type` // - `maintenance.maintenanceName` - // - `maintenanceStartTime` - // - `maintenanceCompleteTime` // Examples: - // - `state="SCHEDULED"` - // - `resource.location="us-central1-c"` - // - `resource.resourceName=~"*/instance-20241212-211259"` - // - `maintenanceStartTime>"2000-10-11T20:44:51Z"` - // - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"` - // - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND - // maintenanceCompleteTime>"2000-10-11T20:44:51Z"` + // - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"` string filter = 10507; // Order results as specified in https://google.aip.dev/132. From 1047939dbddc613a25679490ab2ca95194b1490e Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Fri, 19 Dec 2025 02:34:41 +0000 Subject: [PATCH 3/8] chore: Update generation configuration at Fri Dec 19 02:34:32 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index d837feccc269..813b777fadc2 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.64.2 -googleapis_commitish: 6d6acd2e993c45a7a45fc6374d6c2fc987af1f77 +googleapis_commitish: affadb6065604127974a094649edbaceacfa2433 libraries_bom_version: 26.73.0 # the libraries are ordered with respect to library name, which is From f956d7c188f733e9aa9d1a30cac96c915572e665 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Fri, 19 Dec 2025 02:45:06 +0000 Subject: [PATCH 4/8] chore: generate libraries at Fri Dec 19 02:36:56 UTC 2025 --- .../reflect-config.json | 18 + .../aiplatform/v1/AutomaticResources.java | 92 +- .../v1/AutomaticResourcesOrBuilder.java | 23 +- .../aiplatform/v1/AutoscalingMetricSpec.java | 7 + .../v1/AutoscalingMetricSpecOrBuilder.java | 2 + .../cloud/aiplatform/v1/CustomJobProto.java | 20 +- .../aiplatform/v1/DedicatedResources.java | 152 +-- .../v1/DedicatedResourcesOrBuilder.java | 36 +- .../google/cloud/aiplatform/v1/DiskSpec.java | 49 +- .../aiplatform/v1/DiskSpecOrBuilder.java | 14 +- .../cloud/aiplatform/v1/LustreMount.java | 1207 +++++++++++++++++ .../aiplatform/v1/LustreMountOrBuilder.java | 132 ++ .../aiplatform/v1/MachineResourcesProto.java | 23 +- .../cloud/aiplatform/v1/WorkerPoolSpec.java | 577 +++++++- .../v1/WorkerPoolSpecOrBuilder.java | 66 + .../cloud/aiplatform/v1/custom_job.proto | 4 + .../aiplatform/v1/machine_resources.proto | 81 +- 17 files changed, 2253 insertions(+), 250 deletions(-) create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LustreMount.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LustreMountOrBuilder.java diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json index fa54a0701100..a629a515b77c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json @@ -12086,6 +12086,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1.LustreMount", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.LustreMount$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1.MachineSpec", "queryAllDeclaredConstructors": true, diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutomaticResources.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutomaticResources.java index 08d6072a1468..0c5df26dedb0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutomaticResources.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutomaticResources.java @@ -71,9 +71,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Immutable. The minimum number of replicas this DeployedModel will be always
-   * deployed on. If traffic against it increases, it may dynamically be
-   * deployed onto more replicas up to
+   * Immutable. The minimum number of replicas that will be always deployed on.
+   * If traffic against it increases, it may dynamically be deployed onto more
+   * replicas up to
    * [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count],
    * and as traffic decreases, some of these extra replicas may be freed. If the
    * requested value is too large, the deployment will error.
@@ -95,15 +95,14 @@ public int getMinReplicaCount() {
    *
    *
    * 
-   * Immutable. The maximum number of replicas this DeployedModel may be
-   * deployed on when the traffic against it increases. If the requested value
-   * is too large, the deployment will error, but if deployment succeeds then
-   * the ability to scale the model to that many replicas is guaranteed (barring
-   * service outages). If traffic against the DeployedModel increases beyond
-   * what its replicas at maximum may handle, a portion of the traffic will be
-   * dropped. If this value is not provided, a no upper bound for scaling under
-   * heavy traffic will be assume, though Vertex AI may be unable to scale
-   * beyond certain replica number.
+   * Immutable. The maximum number of replicas that may be deployed on when the
+   * traffic against it increases. If the requested value is too large, the
+   * deployment will error, but if deployment succeeds then the ability to scale
+   * to that many replicas is guaranteed (barring service outages). If traffic
+   * increases beyond what its replicas at maximum may handle, a portion of the
+   * traffic will be dropped. If this value is not provided, a no upper bound
+   * for scaling under heavy traffic will be assume, though Vertex AI may be
+   * unable to scale beyond certain replica number.
    * 
* * int32 max_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -486,9 +485,9 @@ public Builder mergeFrom( * * *
-     * Immutable. The minimum number of replicas this DeployedModel will be always
-     * deployed on. If traffic against it increases, it may dynamically be
-     * deployed onto more replicas up to
+     * Immutable. The minimum number of replicas that will be always deployed on.
+     * If traffic against it increases, it may dynamically be deployed onto more
+     * replicas up to
      * [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count],
      * and as traffic decreases, some of these extra replicas may be freed. If the
      * requested value is too large, the deployment will error.
@@ -507,9 +506,9 @@ public int getMinReplicaCount() {
      *
      *
      * 
-     * Immutable. The minimum number of replicas this DeployedModel will be always
-     * deployed on. If traffic against it increases, it may dynamically be
-     * deployed onto more replicas up to
+     * Immutable. The minimum number of replicas that will be always deployed on.
+     * If traffic against it increases, it may dynamically be deployed onto more
+     * replicas up to
      * [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count],
      * and as traffic decreases, some of these extra replicas may be freed. If the
      * requested value is too large, the deployment will error.
@@ -532,9 +531,9 @@ public Builder setMinReplicaCount(int value) {
      *
      *
      * 
-     * Immutable. The minimum number of replicas this DeployedModel will be always
-     * deployed on. If traffic against it increases, it may dynamically be
-     * deployed onto more replicas up to
+     * Immutable. The minimum number of replicas that will be always deployed on.
+     * If traffic against it increases, it may dynamically be deployed onto more
+     * replicas up to
      * [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count],
      * and as traffic decreases, some of these extra replicas may be freed. If the
      * requested value is too large, the deployment will error.
@@ -557,15 +556,14 @@ public Builder clearMinReplicaCount() {
      *
      *
      * 
-     * Immutable. The maximum number of replicas this DeployedModel may be
-     * deployed on when the traffic against it increases. If the requested value
-     * is too large, the deployment will error, but if deployment succeeds then
-     * the ability to scale the model to that many replicas is guaranteed (barring
-     * service outages). If traffic against the DeployedModel increases beyond
-     * what its replicas at maximum may handle, a portion of the traffic will be
-     * dropped. If this value is not provided, a no upper bound for scaling under
-     * heavy traffic will be assume, though Vertex AI may be unable to scale
-     * beyond certain replica number.
+     * Immutable. The maximum number of replicas that may be deployed on when the
+     * traffic against it increases. If the requested value is too large, the
+     * deployment will error, but if deployment succeeds then the ability to scale
+     * to that many replicas is guaranteed (barring service outages). If traffic
+     * increases beyond what its replicas at maximum may handle, a portion of the
+     * traffic will be dropped. If this value is not provided, a no upper bound
+     * for scaling under heavy traffic will be assume, though Vertex AI may be
+     * unable to scale beyond certain replica number.
      * 
* * int32 max_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -581,15 +579,14 @@ public int getMaxReplicaCount() { * * *
-     * Immutable. The maximum number of replicas this DeployedModel may be
-     * deployed on when the traffic against it increases. If the requested value
-     * is too large, the deployment will error, but if deployment succeeds then
-     * the ability to scale the model to that many replicas is guaranteed (barring
-     * service outages). If traffic against the DeployedModel increases beyond
-     * what its replicas at maximum may handle, a portion of the traffic will be
-     * dropped. If this value is not provided, a no upper bound for scaling under
-     * heavy traffic will be assume, though Vertex AI may be unable to scale
-     * beyond certain replica number.
+     * Immutable. The maximum number of replicas that may be deployed on when the
+     * traffic against it increases. If the requested value is too large, the
+     * deployment will error, but if deployment succeeds then the ability to scale
+     * to that many replicas is guaranteed (barring service outages). If traffic
+     * increases beyond what its replicas at maximum may handle, a portion of the
+     * traffic will be dropped. If this value is not provided, a no upper bound
+     * for scaling under heavy traffic will be assume, though Vertex AI may be
+     * unable to scale beyond certain replica number.
      * 
* * int32 max_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -609,15 +606,14 @@ public Builder setMaxReplicaCount(int value) { * * *
-     * Immutable. The maximum number of replicas this DeployedModel may be
-     * deployed on when the traffic against it increases. If the requested value
-     * is too large, the deployment will error, but if deployment succeeds then
-     * the ability to scale the model to that many replicas is guaranteed (barring
-     * service outages). If traffic against the DeployedModel increases beyond
-     * what its replicas at maximum may handle, a portion of the traffic will be
-     * dropped. If this value is not provided, a no upper bound for scaling under
-     * heavy traffic will be assume, though Vertex AI may be unable to scale
-     * beyond certain replica number.
+     * Immutable. The maximum number of replicas that may be deployed on when the
+     * traffic against it increases. If the requested value is too large, the
+     * deployment will error, but if deployment succeeds then the ability to scale
+     * to that many replicas is guaranteed (barring service outages). If traffic
+     * increases beyond what its replicas at maximum may handle, a portion of the
+     * traffic will be dropped. If this value is not provided, a no upper bound
+     * for scaling under heavy traffic will be assume, though Vertex AI may be
+     * unable to scale beyond certain replica number.
      * 
* * int32 max_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutomaticResourcesOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutomaticResourcesOrBuilder.java index faaab952a992..d9a7249f2c48 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutomaticResourcesOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutomaticResourcesOrBuilder.java @@ -28,9 +28,9 @@ public interface AutomaticResourcesOrBuilder * * *
-   * Immutable. The minimum number of replicas this DeployedModel will be always
-   * deployed on. If traffic against it increases, it may dynamically be
-   * deployed onto more replicas up to
+   * Immutable. The minimum number of replicas that will be always deployed on.
+   * If traffic against it increases, it may dynamically be deployed onto more
+   * replicas up to
    * [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count],
    * and as traffic decreases, some of these extra replicas may be freed. If the
    * requested value is too large, the deployment will error.
@@ -46,15 +46,14 @@ public interface AutomaticResourcesOrBuilder
    *
    *
    * 
-   * Immutable. The maximum number of replicas this DeployedModel may be
-   * deployed on when the traffic against it increases. If the requested value
-   * is too large, the deployment will error, but if deployment succeeds then
-   * the ability to scale the model to that many replicas is guaranteed (barring
-   * service outages). If traffic against the DeployedModel increases beyond
-   * what its replicas at maximum may handle, a portion of the traffic will be
-   * dropped. If this value is not provided, a no upper bound for scaling under
-   * heavy traffic will be assume, though Vertex AI may be unable to scale
-   * beyond certain replica number.
+   * Immutable. The maximum number of replicas that may be deployed on when the
+   * traffic against it increases. If the requested value is too large, the
+   * deployment will error, but if deployment succeeds then the ability to scale
+   * to that many replicas is guaranteed (barring service outages). If traffic
+   * increases beyond what its replicas at maximum may handle, a portion of the
+   * traffic will be dropped. If this value is not provided, a no upper bound
+   * for scaling under heavy traffic will be assume, though Vertex AI may be
+   * unable to scale beyond certain replica number.
    * 
* * int32 max_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutoscalingMetricSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutoscalingMetricSpec.java index 20caaa7e0548..ff5843f23ac9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutoscalingMetricSpec.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutoscalingMetricSpec.java @@ -81,6 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * For Online Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * * `aiplatform.googleapis.com/prediction/online/request_count` *
* * string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -110,6 +111,7 @@ public java.lang.String getMetricName() { * * For Online Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * * `aiplatform.googleapis.com/prediction/online/request_count` *
* * string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -530,6 +532,7 @@ public Builder mergeFrom( * * For Online Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * * `aiplatform.googleapis.com/prediction/online/request_count` *
* * string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -558,6 +561,7 @@ public java.lang.String getMetricName() { * * For Online Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * * `aiplatform.googleapis.com/prediction/online/request_count` *
* * string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -586,6 +590,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() { * * For Online Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * * `aiplatform.googleapis.com/prediction/online/request_count` *
* * string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -613,6 +618,7 @@ public Builder setMetricName(java.lang.String value) { * * For Online Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * * `aiplatform.googleapis.com/prediction/online/request_count` * * * string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -636,6 +642,7 @@ public Builder clearMetricName() { * * For Online Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * * `aiplatform.googleapis.com/prediction/online/request_count` * * * string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutoscalingMetricSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutoscalingMetricSpecOrBuilder.java index a73d4c50457c..b3d96135df0b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutoscalingMetricSpecOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AutoscalingMetricSpecOrBuilder.java @@ -34,6 +34,7 @@ public interface AutoscalingMetricSpecOrBuilder * * For Online Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * * `aiplatform.googleapis.com/prediction/online/request_count` * * * string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -52,6 +53,7 @@ public interface AutoscalingMetricSpecOrBuilder * * For Online Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * * `aiplatform.googleapis.com/prediction/online/request_count` * * * string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java index 9abfdb411183..d1b0c9372403 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java @@ -132,7 +132,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016experiment_run\030\022 \001(\tB)\340A\001\372A#\n" + "!aiplatform.googleapis.com/Context\0227\n" + "\006models\030\024 \003(\tB\'\340A\001\372A!\n" - + "\037aiplatform.googleapis.com/Model\"\206\003\n" + + "\037aiplatform.googleapis.com/Model\"\313\003\n" + "\016WorkerPoolSpec\022C\n" + "\016container_spec\030\006" + " \001(\0132).google.cloud.aiplatform.v1.ContainerSpecH\000\022L\n" @@ -142,7 +142,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132\'.google.cloud.aiplatform.v1.MachineSpecB\006\340A\001\340A\005\022\032\n\r" + "replica_count\030\002 \001(\003B\003\340A\001\022=\n\n" + "nfs_mounts\030\004" - + " \003(\0132$.google.cloud.aiplatform.v1.NfsMountB\003\340A\001\0227\n" + + " \003(\0132$.google.cloud.aiplatform.v1.NfsMountB\003\340A\001\022C\n\r" + + "lustre_mounts\030\t" + + " \003(\0132\'.google.cloud.aiplatform.v1.LustreMountB\003\340A\001\0227\n" + "\tdisk_spec\030\005 \001(\0132$.google.cloud.aiplatform.v1.DiskSpecB\006\n" + "\004task\"w\n\r" + "ContainerSpec\022\026\n" @@ -159,8 +161,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Scheduling\022*\n" + "\007timeout\030\001 \001(\0132\031.google.protobuf.Duration\022%\n" + "\035restart_job_on_worker_restart\030\003 \001(\010\022F\n" - + "\010strategy\030\004 \001(\0162/.google.clou" - + "d.aiplatform.v1.Scheduling.StrategyB\003\340A\001\022\034\n" + + "\010strategy\030\004" + + " \001(\0162/.google.cloud.aiplatform.v1.Scheduling.StrategyB\003\340A\001\022\034\n" + "\017disable_retries\030\005 \001(\010B\003\340A\001\0229\n" + "\021max_wait_duration\030\006" + " \001(\0132\031.google.protobuf.DurationB\003\340A\001\"q\n" @@ -171,10 +173,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010STANDARD\020\003\022\010\n" + "\004SPOT\020\004\022\016\n\n" + "FLEX_START\020\006B\314\001\n" - + "\036com.google.cloud.aiplatform.v1B\016CustomJobProtoP\001Z>cloud.google.com/go/a" - + "iplatform/apiv1/aiplatformpb;aiplatformp" - + "b\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\" - + "Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "\036com.google.cloud.aiplatform.v1B\016CustomJobP" + + "rotoP\001Z>cloud.google.com/go/aiplatform/a" + + "piv1/aiplatformpb;aiplatformpb\252\002\032Google." + + "Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPla" + + "tform\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -262,6 +265,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MachineSpec", "ReplicaCount", "NfsMounts", + "LustreMounts", "DiskSpec", "Task", }); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResources.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResources.java index 889c6263542d..5a972c2e0cb4 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResources.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResources.java @@ -23,8 +23,8 @@ * * *
- * A description of resources that are dedicated to a DeployedModel, and
- * that need a higher degree of manual configuration.
+ * A description of resources that are dedicated to a DeployedModel or
+ * DeployedIndex, and that need a higher degree of manual configuration.
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1.DedicatedResources} @@ -73,8 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Immutable. The specification of a single machine used by the
-   * prediction.
+   * Required. Immutable. The specification of a single machine being used.
    * 
* * @@ -92,8 +91,7 @@ public boolean hasMachineSpec() { * * *
-   * Required. Immutable. The specification of a single machine used by the
-   * prediction.
+   * Required. Immutable. The specification of a single machine being used.
    * 
* * @@ -113,8 +111,7 @@ public com.google.cloud.aiplatform.v1.MachineSpec getMachineSpec() { * * *
-   * Required. Immutable. The specification of a single machine used by the
-   * prediction.
+   * Required. Immutable. The specification of a single machine being used.
    * 
* * @@ -135,13 +132,11 @@ public com.google.cloud.aiplatform.v1.MachineSpecOrBuilder getMachineSpecOrBuild * * *
-   * Required. Immutable. The minimum number of machine replicas this
-   * DeployedModel will be always deployed on. This value must be greater than
-   * or equal to 1.
+   * Required. Immutable. The minimum number of machine replicas that will be
+   * always deployed on. This value must be greater than or equal to 1.
    *
-   * If traffic against the DeployedModel increases, it may dynamically be
-   * deployed onto more replicas, and as traffic decreases, some of these extra
-   * replicas may be freed.
+   * If traffic increases, it may dynamically be deployed onto more replicas,
+   * and as traffic decreases, some of these extra replicas may be freed.
    * 
* * @@ -162,13 +157,12 @@ public int getMinReplicaCount() { * * *
-   * Immutable. The maximum number of replicas this DeployedModel may be
-   * deployed on when the traffic against it increases. If the requested value
-   * is too large, the deployment will error, but if deployment succeeds then
-   * the ability to scale the model to that many replicas is guaranteed (barring
-   * service outages). If traffic against the DeployedModel increases beyond
-   * what its replicas at maximum may handle, a portion of the traffic will be
-   * dropped. If this value is not provided, will use
+   * Immutable. The maximum number of replicas that may be deployed on when the
+   * traffic against it increases. If the requested value is too large, the
+   * deployment will error, but if deployment succeeds then the ability to scale
+   * to that many replicas is guaranteed (barring service outages). If traffic
+   * increases beyond what its replicas at maximum may handle, a portion of the
+   * traffic will be dropped. If this value is not provided, will use
    * [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count]
    * as the default value.
    *
@@ -195,8 +189,8 @@ public int getMaxReplicaCount() {
    *
    * 
    * Optional. Number of required available replicas for the deployment to
-   * succeed. This field is only needed when partial model deployment/mutation
-   * is desired. If set, the model deploy/mutate operation will succeed once
+   * succeed. This field is only needed when partial deployment/mutation is
+   * desired. If set, the deploy/mutate operation will succeed once
    * available_replica_count reaches required_replica_count, and the rest of
    * the replicas will be retried. If not set, the default
    * required_replica_count will be min_replica_count.
@@ -649,8 +643,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    *
    * 
-   * A description of resources that are dedicated to a DeployedModel, and
-   * that need a higher degree of manual configuration.
+   * A description of resources that are dedicated to a DeployedModel or
+   * DeployedIndex, and that need a higher degree of manual configuration.
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1.DedicatedResources} @@ -970,8 +964,7 @@ public Builder mergeFrom( * * *
-     * Required. Immutable. The specification of a single machine used by the
-     * prediction.
+     * Required. Immutable. The specification of a single machine being used.
      * 
* * @@ -988,8 +981,7 @@ public boolean hasMachineSpec() { * * *
-     * Required. Immutable. The specification of a single machine used by the
-     * prediction.
+     * Required. Immutable. The specification of a single machine being used.
      * 
* * @@ -1012,8 +1004,7 @@ public com.google.cloud.aiplatform.v1.MachineSpec getMachineSpec() { * * *
-     * Required. Immutable. The specification of a single machine used by the
-     * prediction.
+     * Required. Immutable. The specification of a single machine being used.
      * 
* * @@ -1038,8 +1029,7 @@ public Builder setMachineSpec(com.google.cloud.aiplatform.v1.MachineSpec value) * * *
-     * Required. Immutable. The specification of a single machine used by the
-     * prediction.
+     * Required. Immutable. The specification of a single machine being used.
      * 
* * @@ -1062,8 +1052,7 @@ public Builder setMachineSpec( * * *
-     * Required. Immutable. The specification of a single machine used by the
-     * prediction.
+     * Required. Immutable. The specification of a single machine being used.
      * 
* * @@ -1093,8 +1082,7 @@ public Builder mergeMachineSpec(com.google.cloud.aiplatform.v1.MachineSpec value * * *
-     * Required. Immutable. The specification of a single machine used by the
-     * prediction.
+     * Required. Immutable. The specification of a single machine being used.
      * 
* * @@ -1116,8 +1104,7 @@ public Builder clearMachineSpec() { * * *
-     * Required. Immutable. The specification of a single machine used by the
-     * prediction.
+     * Required. Immutable. The specification of a single machine being used.
      * 
* * @@ -1134,8 +1121,7 @@ public com.google.cloud.aiplatform.v1.MachineSpec.Builder getMachineSpecBuilder( * * *
-     * Required. Immutable. The specification of a single machine used by the
-     * prediction.
+     * Required. Immutable. The specification of a single machine being used.
      * 
* * @@ -1156,8 +1142,7 @@ public com.google.cloud.aiplatform.v1.MachineSpecOrBuilder getMachineSpecOrBuild * * *
-     * Required. Immutable. The specification of a single machine used by the
-     * prediction.
+     * Required. Immutable. The specification of a single machine being used.
      * 
* * @@ -1187,13 +1172,11 @@ public com.google.cloud.aiplatform.v1.MachineSpecOrBuilder getMachineSpecOrBuild * * *
-     * Required. Immutable. The minimum number of machine replicas this
-     * DeployedModel will be always deployed on. This value must be greater than
-     * or equal to 1.
+     * Required. Immutable. The minimum number of machine replicas that will be
+     * always deployed on. This value must be greater than or equal to 1.
      *
-     * If traffic against the DeployedModel increases, it may dynamically be
-     * deployed onto more replicas, and as traffic decreases, some of these extra
-     * replicas may be freed.
+     * If traffic increases, it may dynamically be deployed onto more replicas,
+     * and as traffic decreases, some of these extra replicas may be freed.
      * 
* * @@ -1211,13 +1194,11 @@ public int getMinReplicaCount() { * * *
-     * Required. Immutable. The minimum number of machine replicas this
-     * DeployedModel will be always deployed on. This value must be greater than
-     * or equal to 1.
+     * Required. Immutable. The minimum number of machine replicas that will be
+     * always deployed on. This value must be greater than or equal to 1.
      *
-     * If traffic against the DeployedModel increases, it may dynamically be
-     * deployed onto more replicas, and as traffic decreases, some of these extra
-     * replicas may be freed.
+     * If traffic increases, it may dynamically be deployed onto more replicas,
+     * and as traffic decreases, some of these extra replicas may be freed.
      * 
* * @@ -1239,13 +1220,11 @@ public Builder setMinReplicaCount(int value) { * * *
-     * Required. Immutable. The minimum number of machine replicas this
-     * DeployedModel will be always deployed on. This value must be greater than
-     * or equal to 1.
+     * Required. Immutable. The minimum number of machine replicas that will be
+     * always deployed on. This value must be greater than or equal to 1.
      *
-     * If traffic against the DeployedModel increases, it may dynamically be
-     * deployed onto more replicas, and as traffic decreases, some of these extra
-     * replicas may be freed.
+     * If traffic increases, it may dynamically be deployed onto more replicas,
+     * and as traffic decreases, some of these extra replicas may be freed.
      * 
* * @@ -1267,13 +1246,12 @@ public Builder clearMinReplicaCount() { * * *
-     * Immutable. The maximum number of replicas this DeployedModel may be
-     * deployed on when the traffic against it increases. If the requested value
-     * is too large, the deployment will error, but if deployment succeeds then
-     * the ability to scale the model to that many replicas is guaranteed (barring
-     * service outages). If traffic against the DeployedModel increases beyond
-     * what its replicas at maximum may handle, a portion of the traffic will be
-     * dropped. If this value is not provided, will use
+     * Immutable. The maximum number of replicas that may be deployed on when the
+     * traffic against it increases. If the requested value is too large, the
+     * deployment will error, but if deployment succeeds then the ability to scale
+     * to that many replicas is guaranteed (barring service outages). If traffic
+     * increases beyond what its replicas at maximum may handle, a portion of the
+     * traffic will be dropped. If this value is not provided, will use
      * [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count]
      * as the default value.
      *
@@ -1296,13 +1274,12 @@ public int getMaxReplicaCount() {
      *
      *
      * 
-     * Immutable. The maximum number of replicas this DeployedModel may be
-     * deployed on when the traffic against it increases. If the requested value
-     * is too large, the deployment will error, but if deployment succeeds then
-     * the ability to scale the model to that many replicas is guaranteed (barring
-     * service outages). If traffic against the DeployedModel increases beyond
-     * what its replicas at maximum may handle, a portion of the traffic will be
-     * dropped. If this value is not provided, will use
+     * Immutable. The maximum number of replicas that may be deployed on when the
+     * traffic against it increases. If the requested value is too large, the
+     * deployment will error, but if deployment succeeds then the ability to scale
+     * to that many replicas is guaranteed (barring service outages). If traffic
+     * increases beyond what its replicas at maximum may handle, a portion of the
+     * traffic will be dropped. If this value is not provided, will use
      * [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count]
      * as the default value.
      *
@@ -1329,13 +1306,12 @@ public Builder setMaxReplicaCount(int value) {
      *
      *
      * 
-     * Immutable. The maximum number of replicas this DeployedModel may be
-     * deployed on when the traffic against it increases. If the requested value
-     * is too large, the deployment will error, but if deployment succeeds then
-     * the ability to scale the model to that many replicas is guaranteed (barring
-     * service outages). If traffic against the DeployedModel increases beyond
-     * what its replicas at maximum may handle, a portion of the traffic will be
-     * dropped. If this value is not provided, will use
+     * Immutable. The maximum number of replicas that may be deployed on when the
+     * traffic against it increases. If the requested value is too large, the
+     * deployment will error, but if deployment succeeds then the ability to scale
+     * to that many replicas is guaranteed (barring service outages). If traffic
+     * increases beyond what its replicas at maximum may handle, a portion of the
+     * traffic will be dropped. If this value is not provided, will use
      * [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count]
      * as the default value.
      *
@@ -1363,8 +1339,8 @@ public Builder clearMaxReplicaCount() {
      *
      * 
      * Optional. Number of required available replicas for the deployment to
-     * succeed. This field is only needed when partial model deployment/mutation
-     * is desired. If set, the model deploy/mutate operation will succeed once
+     * succeed. This field is only needed when partial deployment/mutation is
+     * desired. If set, the deploy/mutate operation will succeed once
      * available_replica_count reaches required_replica_count, and the rest of
      * the replicas will be retried. If not set, the default
      * required_replica_count will be min_replica_count.
@@ -1384,8 +1360,8 @@ public int getRequiredReplicaCount() {
      *
      * 
      * Optional. Number of required available replicas for the deployment to
-     * succeed. This field is only needed when partial model deployment/mutation
-     * is desired. If set, the model deploy/mutate operation will succeed once
+     * succeed. This field is only needed when partial deployment/mutation is
+     * desired. If set, the deploy/mutate operation will succeed once
      * available_replica_count reaches required_replica_count, and the rest of
      * the replicas will be retried. If not set, the default
      * required_replica_count will be min_replica_count.
@@ -1409,8 +1385,8 @@ public Builder setRequiredReplicaCount(int value) {
      *
      * 
      * Optional. Number of required available replicas for the deployment to
-     * succeed. This field is only needed when partial model deployment/mutation
-     * is desired. If set, the model deploy/mutate operation will succeed once
+     * succeed. This field is only needed when partial deployment/mutation is
+     * desired. If set, the deploy/mutate operation will succeed once
      * available_replica_count reaches required_replica_count, and the rest of
      * the replicas will be retried. If not set, the default
      * required_replica_count will be min_replica_count.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResourcesOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResourcesOrBuilder.java
index 456f8dc75d35..2b9c3db3148a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResourcesOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResourcesOrBuilder.java
@@ -28,8 +28,7 @@ public interface DedicatedResourcesOrBuilder
    *
    *
    * 
-   * Required. Immutable. The specification of a single machine used by the
-   * prediction.
+   * Required. Immutable. The specification of a single machine being used.
    * 
* * @@ -44,8 +43,7 @@ public interface DedicatedResourcesOrBuilder * * *
-   * Required. Immutable. The specification of a single machine used by the
-   * prediction.
+   * Required. Immutable. The specification of a single machine being used.
    * 
* * @@ -60,8 +58,7 @@ public interface DedicatedResourcesOrBuilder * * *
-   * Required. Immutable. The specification of a single machine used by the
-   * prediction.
+   * Required. Immutable. The specification of a single machine being used.
    * 
* * @@ -74,13 +71,11 @@ public interface DedicatedResourcesOrBuilder * * *
-   * Required. Immutable. The minimum number of machine replicas this
-   * DeployedModel will be always deployed on. This value must be greater than
-   * or equal to 1.
+   * Required. Immutable. The minimum number of machine replicas that will be
+   * always deployed on. This value must be greater than or equal to 1.
    *
-   * If traffic against the DeployedModel increases, it may dynamically be
-   * deployed onto more replicas, and as traffic decreases, some of these extra
-   * replicas may be freed.
+   * If traffic increases, it may dynamically be deployed onto more replicas,
+   * and as traffic decreases, some of these extra replicas may be freed.
    * 
* * @@ -95,13 +90,12 @@ public interface DedicatedResourcesOrBuilder * * *
-   * Immutable. The maximum number of replicas this DeployedModel may be
-   * deployed on when the traffic against it increases. If the requested value
-   * is too large, the deployment will error, but if deployment succeeds then
-   * the ability to scale the model to that many replicas is guaranteed (barring
-   * service outages). If traffic against the DeployedModel increases beyond
-   * what its replicas at maximum may handle, a portion of the traffic will be
-   * dropped. If this value is not provided, will use
+   * Immutable. The maximum number of replicas that may be deployed on when the
+   * traffic against it increases. If the requested value is too large, the
+   * deployment will error, but if deployment succeeds then the ability to scale
+   * to that many replicas is guaranteed (barring service outages). If traffic
+   * increases beyond what its replicas at maximum may handle, a portion of the
+   * traffic will be dropped. If this value is not provided, will use
    * [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count]
    * as the default value.
    *
@@ -122,8 +116,8 @@ public interface DedicatedResourcesOrBuilder
    *
    * 
    * Optional. Number of required available replicas for the deployment to
-   * succeed. This field is only needed when partial model deployment/mutation
-   * is desired. If set, the model deploy/mutate operation will succeed once
+   * succeed. This field is only needed when partial deployment/mutation is
+   * desired. If set, the deploy/mutate operation will succeed once
    * available_replica_count reaches required_replica_count, and the rest of
    * the replicas will be retried. If not set, the default
    * required_replica_count will be min_replica_count.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpec.java
index c729bb19e4da..7c0e2c272673 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpec.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpec.java
@@ -73,9 +73,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Type of the boot disk (default is "pd-ssd").
-   * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
-   * "pd-standard" (Persistent Disk Hard Disk Drive).
+   * Type of the boot disk. For non-A3U machines, the default value is
+   * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
+   * Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
+   * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
    * 
* * string boot_disk_type = 1; @@ -99,9 +100,10 @@ public java.lang.String getBootDiskType() { * * *
-   * Type of the boot disk (default is "pd-ssd").
-   * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
-   * "pd-standard" (Persistent Disk Hard Disk Drive).
+   * Type of the boot disk. For non-A3U machines, the default value is
+   * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
+   * Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
+   * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
    * 
* * string boot_disk_type = 1; @@ -509,9 +511,10 @@ public Builder mergeFrom( * * *
-     * Type of the boot disk (default is "pd-ssd").
-     * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
-     * "pd-standard" (Persistent Disk Hard Disk Drive).
+     * Type of the boot disk. For non-A3U machines, the default value is
+     * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
+     * Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
+     * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
      * 
* * string boot_disk_type = 1; @@ -534,9 +537,10 @@ public java.lang.String getBootDiskType() { * * *
-     * Type of the boot disk (default is "pd-ssd").
-     * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
-     * "pd-standard" (Persistent Disk Hard Disk Drive).
+     * Type of the boot disk. For non-A3U machines, the default value is
+     * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
+     * Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
+     * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
      * 
* * string boot_disk_type = 1; @@ -559,9 +563,10 @@ public com.google.protobuf.ByteString getBootDiskTypeBytes() { * * *
-     * Type of the boot disk (default is "pd-ssd").
-     * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
-     * "pd-standard" (Persistent Disk Hard Disk Drive).
+     * Type of the boot disk. For non-A3U machines, the default value is
+     * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
+     * Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
+     * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
      * 
* * string boot_disk_type = 1; @@ -583,9 +588,10 @@ public Builder setBootDiskType(java.lang.String value) { * * *
-     * Type of the boot disk (default is "pd-ssd").
-     * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
-     * "pd-standard" (Persistent Disk Hard Disk Drive).
+     * Type of the boot disk. For non-A3U machines, the default value is
+     * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
+     * Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
+     * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
      * 
* * string boot_disk_type = 1; @@ -603,9 +609,10 @@ public Builder clearBootDiskType() { * * *
-     * Type of the boot disk (default is "pd-ssd").
-     * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
-     * "pd-standard" (Persistent Disk Hard Disk Drive).
+     * Type of the boot disk. For non-A3U machines, the default value is
+     * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
+     * Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
+     * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
      * 
* * string boot_disk_type = 1; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpecOrBuilder.java index 7331472c7982..93c0cfb27f0e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpecOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpecOrBuilder.java @@ -28,9 +28,10 @@ public interface DiskSpecOrBuilder * * *
-   * Type of the boot disk (default is "pd-ssd").
-   * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
-   * "pd-standard" (Persistent Disk Hard Disk Drive).
+   * Type of the boot disk. For non-A3U machines, the default value is
+   * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
+   * Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
+   * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
    * 
* * string boot_disk_type = 1; @@ -43,9 +44,10 @@ public interface DiskSpecOrBuilder * * *
-   * Type of the boot disk (default is "pd-ssd").
-   * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
-   * "pd-standard" (Persistent Disk Hard Disk Drive).
+   * Type of the boot disk. For non-A3U machines, the default value is
+   * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
+   * Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
+   * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
    * 
* * string boot_disk_type = 1; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LustreMount.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LustreMount.java new file mode 100644 index 000000000000..e96d3892b65f --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LustreMount.java @@ -0,0 +1,1207 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/machine_resources.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Represents a mount configuration for Lustre file system.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.LustreMount} + */ +public final class LustreMount extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.LustreMount) + LustreMountOrBuilder { + private static final long serialVersionUID = 0L; + + // Use LustreMount.newBuilder() to construct. + private LustreMount(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private LustreMount() { + instanceIp_ = ""; + volumeHandle_ = ""; + filesystem_ = ""; + mountPoint_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LustreMount(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.MachineResourcesProto + .internal_static_google_cloud_aiplatform_v1_LustreMount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.MachineResourcesProto + .internal_static_google_cloud_aiplatform_v1_LustreMount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.LustreMount.class, + com.google.cloud.aiplatform.v1.LustreMount.Builder.class); + } + + public static final int INSTANCE_IP_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object instanceIp_ = ""; + + /** + * + * + *
+   * Required. IP address of the Lustre instance.
+   * 
+ * + * string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The instanceIp. + */ + @java.lang.Override + public java.lang.String getInstanceIp() { + java.lang.Object ref = instanceIp_; + 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(); + instanceIp_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. IP address of the Lustre instance.
+   * 
+ * + * string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for instanceIp. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInstanceIpBytes() { + java.lang.Object ref = instanceIp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceIp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VOLUME_HANDLE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object volumeHandle_ = ""; + + /** + * + * + *
+   * Required. The unique identifier of the Lustre volume.
+   * 
+ * + * string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The volumeHandle. + */ + @java.lang.Override + public java.lang.String getVolumeHandle() { + java.lang.Object ref = volumeHandle_; + 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(); + volumeHandle_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The unique identifier of the Lustre volume.
+   * 
+ * + * string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for volumeHandle. + */ + @java.lang.Override + public com.google.protobuf.ByteString getVolumeHandleBytes() { + java.lang.Object ref = volumeHandle_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + volumeHandle_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILESYSTEM_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object filesystem_ = ""; + + /** + * + * + *
+   * Required. The name of the Lustre filesystem.
+   * 
+ * + * string filesystem = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The filesystem. + */ + @java.lang.Override + public java.lang.String getFilesystem() { + java.lang.Object ref = filesystem_; + 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(); + filesystem_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The name of the Lustre filesystem.
+   * 
+ * + * string filesystem = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for filesystem. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilesystemBytes() { + java.lang.Object ref = filesystem_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filesystem_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MOUNT_POINT_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object mountPoint_ = ""; + + /** + * + * + *
+   * Required. Destination mount path. The Lustre file system will be mounted
+   * for the user under /mnt/lustre/<mount_point>
+   * 
+ * + * string mount_point = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mountPoint. + */ + @java.lang.Override + public java.lang.String getMountPoint() { + java.lang.Object ref = mountPoint_; + 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(); + mountPoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Destination mount path. The Lustre file system will be mounted
+   * for the user under /mnt/lustre/<mount_point>
+   * 
+ * + * string mount_point = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mountPoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getMountPointBytes() { + java.lang.Object ref = mountPoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + mountPoint_ = 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.GeneratedMessageV3.isStringEmpty(instanceIp_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceIp_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(volumeHandle_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, volumeHandle_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filesystem_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filesystem_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mountPoint_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, mountPoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceIp_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceIp_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(volumeHandle_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, volumeHandle_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filesystem_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filesystem_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mountPoint_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, mountPoint_); + } + 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.aiplatform.v1.LustreMount)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.LustreMount other = + (com.google.cloud.aiplatform.v1.LustreMount) obj; + + if (!getInstanceIp().equals(other.getInstanceIp())) return false; + if (!getVolumeHandle().equals(other.getVolumeHandle())) return false; + if (!getFilesystem().equals(other.getFilesystem())) return false; + if (!getMountPoint().equals(other.getMountPoint())) 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) + INSTANCE_IP_FIELD_NUMBER; + hash = (53 * hash) + getInstanceIp().hashCode(); + hash = (37 * hash) + VOLUME_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getVolumeHandle().hashCode(); + hash = (37 * hash) + FILESYSTEM_FIELD_NUMBER; + hash = (53 * hash) + getFilesystem().hashCode(); + hash = (37 * hash) + MOUNT_POINT_FIELD_NUMBER; + hash = (53 * hash) + getMountPoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.LustreMount parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.LustreMount 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.aiplatform.v1.LustreMount parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.LustreMount 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.aiplatform.v1.LustreMount parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.LustreMount parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.LustreMount parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.LustreMount parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.LustreMount parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.LustreMount parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.LustreMount parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.LustreMount parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.LustreMount prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Represents a mount configuration for Lustre file system.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.LustreMount} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.LustreMount) + com.google.cloud.aiplatform.v1.LustreMountOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.MachineResourcesProto + .internal_static_google_cloud_aiplatform_v1_LustreMount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.MachineResourcesProto + .internal_static_google_cloud_aiplatform_v1_LustreMount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.LustreMount.class, + com.google.cloud.aiplatform.v1.LustreMount.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.LustreMount.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + instanceIp_ = ""; + volumeHandle_ = ""; + filesystem_ = ""; + mountPoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.MachineResourcesProto + .internal_static_google_cloud_aiplatform_v1_LustreMount_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.LustreMount getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.LustreMount.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.LustreMount build() { + com.google.cloud.aiplatform.v1.LustreMount result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.LustreMount buildPartial() { + com.google.cloud.aiplatform.v1.LustreMount result = + new com.google.cloud.aiplatform.v1.LustreMount(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.LustreMount result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.instanceIp_ = instanceIp_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.volumeHandle_ = volumeHandle_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.filesystem_ = filesystem_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.mountPoint_ = mountPoint_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.LustreMount) { + return mergeFrom((com.google.cloud.aiplatform.v1.LustreMount) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.LustreMount other) { + if (other == com.google.cloud.aiplatform.v1.LustreMount.getDefaultInstance()) return this; + if (!other.getInstanceIp().isEmpty()) { + instanceIp_ = other.instanceIp_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getVolumeHandle().isEmpty()) { + volumeHandle_ = other.volumeHandle_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFilesystem().isEmpty()) { + filesystem_ = other.filesystem_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getMountPoint().isEmpty()) { + mountPoint_ = other.mountPoint_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + instanceIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + volumeHandle_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + filesystem_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + mountPoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object instanceIp_ = ""; + + /** + * + * + *
+     * Required. IP address of the Lustre instance.
+     * 
+ * + * string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The instanceIp. + */ + public java.lang.String getInstanceIp() { + java.lang.Object ref = instanceIp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceIp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. IP address of the Lustre instance.
+     * 
+ * + * string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for instanceIp. + */ + public com.google.protobuf.ByteString getInstanceIpBytes() { + java.lang.Object ref = instanceIp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceIp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. IP address of the Lustre instance.
+     * 
+ * + * string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The instanceIp to set. + * @return This builder for chaining. + */ + public Builder setInstanceIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + instanceIp_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. IP address of the Lustre instance.
+     * 
+ * + * string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearInstanceIp() { + instanceIp_ = getDefaultInstance().getInstanceIp(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. IP address of the Lustre instance.
+     * 
+ * + * string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for instanceIp to set. + * @return This builder for chaining. + */ + public Builder setInstanceIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceIp_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object volumeHandle_ = ""; + + /** + * + * + *
+     * Required. The unique identifier of the Lustre volume.
+     * 
+ * + * string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The volumeHandle. + */ + public java.lang.String getVolumeHandle() { + java.lang.Object ref = volumeHandle_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + volumeHandle_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The unique identifier of the Lustre volume.
+     * 
+ * + * string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for volumeHandle. + */ + public com.google.protobuf.ByteString getVolumeHandleBytes() { + java.lang.Object ref = volumeHandle_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + volumeHandle_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The unique identifier of the Lustre volume.
+     * 
+ * + * string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The volumeHandle to set. + * @return This builder for chaining. + */ + public Builder setVolumeHandle(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + volumeHandle_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The unique identifier of the Lustre volume.
+     * 
+ * + * string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearVolumeHandle() { + volumeHandle_ = getDefaultInstance().getVolumeHandle(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The unique identifier of the Lustre volume.
+     * 
+ * + * string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for volumeHandle to set. + * @return This builder for chaining. + */ + public Builder setVolumeHandleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + volumeHandle_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object filesystem_ = ""; + + /** + * + * + *
+     * Required. The name of the Lustre filesystem.
+     * 
+ * + * string filesystem = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The filesystem. + */ + public java.lang.String getFilesystem() { + java.lang.Object ref = filesystem_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filesystem_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The name of the Lustre filesystem.
+     * 
+ * + * string filesystem = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for filesystem. + */ + public com.google.protobuf.ByteString getFilesystemBytes() { + java.lang.Object ref = filesystem_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filesystem_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The name of the Lustre filesystem.
+     * 
+ * + * string filesystem = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The filesystem to set. + * @return This builder for chaining. + */ + public Builder setFilesystem(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filesystem_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The name of the Lustre filesystem.
+     * 
+ * + * string filesystem = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFilesystem() { + filesystem_ = getDefaultInstance().getFilesystem(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The name of the Lustre filesystem.
+     * 
+ * + * string filesystem = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for filesystem to set. + * @return This builder for chaining. + */ + public Builder setFilesystemBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filesystem_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object mountPoint_ = ""; + + /** + * + * + *
+     * Required. Destination mount path. The Lustre file system will be mounted
+     * for the user under /mnt/lustre/<mount_point>
+     * 
+ * + * string mount_point = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mountPoint. + */ + public java.lang.String getMountPoint() { + java.lang.Object ref = mountPoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mountPoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Destination mount path. The Lustre file system will be mounted
+     * for the user under /mnt/lustre/<mount_point>
+     * 
+ * + * string mount_point = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mountPoint. + */ + public com.google.protobuf.ByteString getMountPointBytes() { + java.lang.Object ref = mountPoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + mountPoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Destination mount path. The Lustre file system will be mounted
+     * for the user under /mnt/lustre/<mount_point>
+     * 
+ * + * string mount_point = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The mountPoint to set. + * @return This builder for chaining. + */ + public Builder setMountPoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + mountPoint_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Destination mount path. The Lustre file system will be mounted
+     * for the user under /mnt/lustre/<mount_point>
+     * 
+ * + * string mount_point = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearMountPoint() { + mountPoint_ = getDefaultInstance().getMountPoint(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Destination mount path. The Lustre file system will be mounted
+     * for the user under /mnt/lustre/<mount_point>
+     * 
+ * + * string mount_point = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for mountPoint to set. + * @return This builder for chaining. + */ + public Builder setMountPointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mountPoint_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.LustreMount) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.LustreMount) + private static final com.google.cloud.aiplatform.v1.LustreMount DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.LustreMount(); + } + + public static com.google.cloud.aiplatform.v1.LustreMount getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LustreMount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.LustreMount getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LustreMountOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LustreMountOrBuilder.java new file mode 100644 index 000000000000..55f210a9fe66 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LustreMountOrBuilder.java @@ -0,0 +1,132 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/machine_resources.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.aiplatform.v1; + +public interface LustreMountOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.LustreMount) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. IP address of the Lustre instance.
+   * 
+ * + * string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The instanceIp. + */ + java.lang.String getInstanceIp(); + + /** + * + * + *
+   * Required. IP address of the Lustre instance.
+   * 
+ * + * string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for instanceIp. + */ + com.google.protobuf.ByteString getInstanceIpBytes(); + + /** + * + * + *
+   * Required. The unique identifier of the Lustre volume.
+   * 
+ * + * string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The volumeHandle. + */ + java.lang.String getVolumeHandle(); + + /** + * + * + *
+   * Required. The unique identifier of the Lustre volume.
+   * 
+ * + * string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for volumeHandle. + */ + com.google.protobuf.ByteString getVolumeHandleBytes(); + + /** + * + * + *
+   * Required. The name of the Lustre filesystem.
+   * 
+ * + * string filesystem = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The filesystem. + */ + java.lang.String getFilesystem(); + + /** + * + * + *
+   * Required. The name of the Lustre filesystem.
+   * 
+ * + * string filesystem = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for filesystem. + */ + com.google.protobuf.ByteString getFilesystemBytes(); + + /** + * + * + *
+   * Required. Destination mount path. The Lustre file system will be mounted
+   * for the user under /mnt/lustre/<mount_point>
+   * 
+ * + * string mount_point = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mountPoint. + */ + java.lang.String getMountPoint(); + + /** + * + * + *
+   * Required. Destination mount path. The Lustre file system will be mounted
+   * for the user under /mnt/lustre/<mount_point>
+   * 
+ * + * string mount_point = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mountPoint. + */ + com.google.protobuf.ByteString getMountPointBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java index 0b9420bcde5a..d1fb65484d1b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java @@ -60,6 +60,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_NfsMount_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_NfsMount_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_LustreMount_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_LustreMount_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_AutoscalingMetricSpec_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -119,7 +123,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010NfsMount\022\023\n" + "\006server\030\001 \001(\tB\003\340A\002\022\021\n" + "\004path\030\002 \001(\tB\003\340A\002\022\030\n" - + "\013mount_point\030\003 \001(\tB\003\340A\002\"A\n" + + "\013mount_point\030\003 \001(\tB\003\340A\002\"v\n" + + "\013LustreMount\022\030\n" + + "\013instance_ip\030\001 \001(\tB\003\340A\002\022\032\n\r" + + "volume_handle\030\002 \001(\tB\003\340A\002\022\027\n\n" + + "filesystem\030\003 \001(\tB\003\340A\002\022\030\n" + + "\013mount_point\030\004 \001(\tB\003\340A\002\"A\n" + "\025AutoscalingMetricSpec\022\030\n" + "\013metric_name\030\001 \001(\tB\003\340A\002\022\016\n" + "\006target\030\002 \001(\005\".\n" @@ -212,8 +221,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Server", "Path", "MountPoint", }); - internal_static_google_cloud_aiplatform_v1_AutoscalingMetricSpec_descriptor = + internal_static_google_cloud_aiplatform_v1_LustreMount_descriptor = getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_aiplatform_v1_LustreMount_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_LustreMount_descriptor, + new java.lang.String[] { + "InstanceIp", "VolumeHandle", "Filesystem", "MountPoint", + }); + internal_static_google_cloud_aiplatform_v1_AutoscalingMetricSpec_descriptor = + getDescriptor().getMessageTypes().get(9); internal_static_google_cloud_aiplatform_v1_AutoscalingMetricSpec_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_AutoscalingMetricSpec_descriptor, @@ -221,7 +238,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MetricName", "Target", }); internal_static_google_cloud_aiplatform_v1_ShieldedVmConfig_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(10); internal_static_google_cloud_aiplatform_v1_ShieldedVmConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ShieldedVmConfig_descriptor, diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WorkerPoolSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WorkerPoolSpec.java index 77a204603589..e3bca15cd58b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WorkerPoolSpec.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WorkerPoolSpec.java @@ -41,6 +41,7 @@ private WorkerPoolSpec(com.google.protobuf.GeneratedMessageV3.Builder builder private WorkerPoolSpec() { nfsMounts_ = java.util.Collections.emptyList(); + lustreMounts_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -387,6 +388,92 @@ public com.google.cloud.aiplatform.v1.NfsMountOrBuilder getNfsMountsOrBuilder(in return nfsMounts_.get(index); } + public static final int LUSTRE_MOUNTS_FIELD_NUMBER = 9; + + @SuppressWarnings("serial") + private java.util.List lustreMounts_; + + /** + * + * + *
+   * Optional. List of Lustre mounts.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List getLustreMountsList() { + return lustreMounts_; + } + + /** + * + * + *
+   * Optional. List of Lustre mounts.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getLustreMountsOrBuilderList() { + return lustreMounts_; + } + + /** + * + * + *
+   * Optional. List of Lustre mounts.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getLustreMountsCount() { + return lustreMounts_.size(); + } + + /** + * + * + *
+   * Optional. List of Lustre mounts.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.LustreMount getLustreMounts(int index) { + return lustreMounts_.get(index); + } + + /** + * + * + *
+   * Optional. List of Lustre mounts.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.LustreMountOrBuilder getLustreMountsOrBuilder(int index) { + return lustreMounts_.get(index); + } + public static final int DISK_SPEC_FIELD_NUMBER = 5; private com.google.cloud.aiplatform.v1.DiskSpec diskSpec_; @@ -472,6 +559,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (taskCase_ == 7) { output.writeMessage(7, (com.google.cloud.aiplatform.v1.PythonPackageSpec) task_); } + for (int i = 0; i < lustreMounts_.size(); i++) { + output.writeMessage(9, lustreMounts_.get(i)); + } getUnknownFields().writeTo(output); } @@ -503,6 +593,9 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 7, (com.google.cloud.aiplatform.v1.PythonPackageSpec) task_); } + for (int i = 0; i < lustreMounts_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, lustreMounts_.get(i)); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -525,6 +618,7 @@ public boolean equals(final java.lang.Object obj) { } if (getReplicaCount() != other.getReplicaCount()) return false; if (!getNfsMountsList().equals(other.getNfsMountsList())) return false; + if (!getLustreMountsList().equals(other.getLustreMountsList())) return false; if (hasDiskSpec() != other.hasDiskSpec()) return false; if (hasDiskSpec()) { if (!getDiskSpec().equals(other.getDiskSpec())) return false; @@ -561,6 +655,10 @@ public int hashCode() { hash = (37 * hash) + NFS_MOUNTS_FIELD_NUMBER; hash = (53 * hash) + getNfsMountsList().hashCode(); } + if (getLustreMountsCount() > 0) { + hash = (37 * hash) + LUSTRE_MOUNTS_FIELD_NUMBER; + hash = (53 * hash) + getLustreMountsList().hashCode(); + } if (hasDiskSpec()) { hash = (37 * hash) + DISK_SPEC_FIELD_NUMBER; hash = (53 * hash) + getDiskSpec().hashCode(); @@ -720,6 +818,7 @@ private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMachineSpecFieldBuilder(); getNfsMountsFieldBuilder(); + getLustreMountsFieldBuilder(); getDiskSpecFieldBuilder(); } } @@ -747,6 +846,13 @@ public Builder clear() { nfsMountsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); + if (lustreMountsBuilder_ == null) { + lustreMounts_ = java.util.Collections.emptyList(); + } else { + lustreMounts_ = null; + lustreMountsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000020); diskSpec_ = null; if (diskSpecBuilder_ != null) { diskSpecBuilder_.dispose(); @@ -800,6 +906,15 @@ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.WorkerPoo } else { result.nfsMounts_ = nfsMountsBuilder_.build(); } + if (lustreMountsBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + lustreMounts_ = java.util.Collections.unmodifiableList(lustreMounts_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.lustreMounts_ = lustreMounts_; + } else { + result.lustreMounts_ = lustreMountsBuilder_.build(); + } } private void buildPartial0(com.google.cloud.aiplatform.v1.WorkerPoolSpec result) { @@ -813,7 +928,7 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.WorkerPoolSpec result) if (((from_bitField0_ & 0x00000008) != 0)) { result.replicaCount_ = replicaCount_; } - if (((from_bitField0_ & 0x00000020) != 0)) { + if (((from_bitField0_ & 0x00000040) != 0)) { result.diskSpec_ = diskSpecBuilder_ == null ? diskSpec_ : diskSpecBuilder_.build(); to_bitField0_ |= 0x00000002; } @@ -909,6 +1024,33 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.WorkerPoolSpec other) { } } } + if (lustreMountsBuilder_ == null) { + if (!other.lustreMounts_.isEmpty()) { + if (lustreMounts_.isEmpty()) { + lustreMounts_ = other.lustreMounts_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureLustreMountsIsMutable(); + lustreMounts_.addAll(other.lustreMounts_); + } + onChanged(); + } + } else { + if (!other.lustreMounts_.isEmpty()) { + if (lustreMountsBuilder_.isEmpty()) { + lustreMountsBuilder_.dispose(); + lustreMountsBuilder_ = null; + lustreMounts_ = other.lustreMounts_; + bitField0_ = (bitField0_ & ~0x00000020); + lustreMountsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLustreMountsFieldBuilder() + : null; + } else { + lustreMountsBuilder_.addAllMessages(other.lustreMounts_); + } + } + } if (other.hasDiskSpec()) { mergeDiskSpec(other.getDiskSpec()); } @@ -982,7 +1124,7 @@ public Builder mergeFrom( case 42: { input.readMessage(getDiskSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 42 case 50: @@ -998,6 +1140,19 @@ public Builder mergeFrom( taskCase_ = 7; break; } // case 58 + case 74: + { + com.google.cloud.aiplatform.v1.LustreMount m = + input.readMessage( + com.google.cloud.aiplatform.v1.LustreMount.parser(), extensionRegistry); + if (lustreMountsBuilder_ == null) { + ensureLustreMountsIsMutable(); + lustreMounts_.add(m); + } else { + lustreMountsBuilder_.addMessage(m); + } + break; + } // case 74 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2139,6 +2294,410 @@ public com.google.cloud.aiplatform.v1.NfsMount.Builder addNfsMountsBuilder(int i return nfsMountsBuilder_; } + private java.util.List lustreMounts_ = + java.util.Collections.emptyList(); + + private void ensureLustreMountsIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + lustreMounts_ = + new java.util.ArrayList(lustreMounts_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.LustreMount, + com.google.cloud.aiplatform.v1.LustreMount.Builder, + com.google.cloud.aiplatform.v1.LustreMountOrBuilder> + lustreMountsBuilder_; + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List getLustreMountsList() { + if (lustreMountsBuilder_ == null) { + return java.util.Collections.unmodifiableList(lustreMounts_); + } else { + return lustreMountsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getLustreMountsCount() { + if (lustreMountsBuilder_ == null) { + return lustreMounts_.size(); + } else { + return lustreMountsBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.LustreMount getLustreMounts(int index) { + if (lustreMountsBuilder_ == null) { + return lustreMounts_.get(index); + } else { + return lustreMountsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setLustreMounts(int index, com.google.cloud.aiplatform.v1.LustreMount value) { + if (lustreMountsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLustreMountsIsMutable(); + lustreMounts_.set(index, value); + onChanged(); + } else { + lustreMountsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setLustreMounts( + int index, com.google.cloud.aiplatform.v1.LustreMount.Builder builderForValue) { + if (lustreMountsBuilder_ == null) { + ensureLustreMountsIsMutable(); + lustreMounts_.set(index, builderForValue.build()); + onChanged(); + } else { + lustreMountsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addLustreMounts(com.google.cloud.aiplatform.v1.LustreMount value) { + if (lustreMountsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLustreMountsIsMutable(); + lustreMounts_.add(value); + onChanged(); + } else { + lustreMountsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addLustreMounts(int index, com.google.cloud.aiplatform.v1.LustreMount value) { + if (lustreMountsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLustreMountsIsMutable(); + lustreMounts_.add(index, value); + onChanged(); + } else { + lustreMountsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addLustreMounts( + com.google.cloud.aiplatform.v1.LustreMount.Builder builderForValue) { + if (lustreMountsBuilder_ == null) { + ensureLustreMountsIsMutable(); + lustreMounts_.add(builderForValue.build()); + onChanged(); + } else { + lustreMountsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addLustreMounts( + int index, com.google.cloud.aiplatform.v1.LustreMount.Builder builderForValue) { + if (lustreMountsBuilder_ == null) { + ensureLustreMountsIsMutable(); + lustreMounts_.add(index, builderForValue.build()); + onChanged(); + } else { + lustreMountsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllLustreMounts( + java.lang.Iterable values) { + if (lustreMountsBuilder_ == null) { + ensureLustreMountsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, lustreMounts_); + onChanged(); + } else { + lustreMountsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearLustreMounts() { + if (lustreMountsBuilder_ == null) { + lustreMounts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + lustreMountsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeLustreMounts(int index) { + if (lustreMountsBuilder_ == null) { + ensureLustreMountsIsMutable(); + lustreMounts_.remove(index); + onChanged(); + } else { + lustreMountsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.LustreMount.Builder getLustreMountsBuilder(int index) { + return getLustreMountsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.LustreMountOrBuilder getLustreMountsOrBuilder(int index) { + if (lustreMountsBuilder_ == null) { + return lustreMounts_.get(index); + } else { + return lustreMountsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getLustreMountsOrBuilderList() { + if (lustreMountsBuilder_ != null) { + return lustreMountsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(lustreMounts_); + } + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.LustreMount.Builder addLustreMountsBuilder() { + return getLustreMountsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1.LustreMount.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.LustreMount.Builder addLustreMountsBuilder(int index) { + return getLustreMountsFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1.LustreMount.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. List of Lustre mounts.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getLustreMountsBuilderList() { + return getLustreMountsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.LustreMount, + com.google.cloud.aiplatform.v1.LustreMount.Builder, + com.google.cloud.aiplatform.v1.LustreMountOrBuilder> + getLustreMountsFieldBuilder() { + if (lustreMountsBuilder_ == null) { + lustreMountsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.LustreMount, + com.google.cloud.aiplatform.v1.LustreMount.Builder, + com.google.cloud.aiplatform.v1.LustreMountOrBuilder>( + lustreMounts_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); + lustreMounts_ = null; + } + return lustreMountsBuilder_; + } + private com.google.cloud.aiplatform.v1.DiskSpec diskSpec_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.aiplatform.v1.DiskSpec, @@ -2158,7 +2717,7 @@ public com.google.cloud.aiplatform.v1.NfsMount.Builder addNfsMountsBuilder(int i * @return Whether the diskSpec field is set. */ public boolean hasDiskSpec() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** @@ -2200,7 +2759,7 @@ public Builder setDiskSpec(com.google.cloud.aiplatform.v1.DiskSpec value) { } else { diskSpecBuilder_.setMessage(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2220,7 +2779,7 @@ public Builder setDiskSpec(com.google.cloud.aiplatform.v1.DiskSpec.Builder build } else { diskSpecBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2236,7 +2795,7 @@ public Builder setDiskSpec(com.google.cloud.aiplatform.v1.DiskSpec.Builder build */ public Builder mergeDiskSpec(com.google.cloud.aiplatform.v1.DiskSpec value) { if (diskSpecBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) + if (((bitField0_ & 0x00000040) != 0) && diskSpec_ != null && diskSpec_ != com.google.cloud.aiplatform.v1.DiskSpec.getDefaultInstance()) { getDiskSpecBuilder().mergeFrom(value); @@ -2247,7 +2806,7 @@ public Builder mergeDiskSpec(com.google.cloud.aiplatform.v1.DiskSpec value) { diskSpecBuilder_.mergeFrom(value); } if (diskSpec_ != null) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); } return this; @@ -2263,7 +2822,7 @@ public Builder mergeDiskSpec(com.google.cloud.aiplatform.v1.DiskSpec value) { * .google.cloud.aiplatform.v1.DiskSpec disk_spec = 5; */ public Builder clearDiskSpec() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); diskSpec_ = null; if (diskSpecBuilder_ != null) { diskSpecBuilder_.dispose(); @@ -2283,7 +2842,7 @@ public Builder clearDiskSpec() { * .google.cloud.aiplatform.v1.DiskSpec disk_spec = 5; */ public com.google.cloud.aiplatform.v1.DiskSpec.Builder getDiskSpecBuilder() { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return getDiskSpecFieldBuilder().getBuilder(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WorkerPoolSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WorkerPoolSpecOrBuilder.java index 82161061039e..957859f117bd 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WorkerPoolSpecOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WorkerPoolSpecOrBuilder.java @@ -220,6 +220,72 @@ public interface WorkerPoolSpecOrBuilder */ com.google.cloud.aiplatform.v1.NfsMountOrBuilder getNfsMountsOrBuilder(int index); + /** + * + * + *
+   * Optional. List of Lustre mounts.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List getLustreMountsList(); + + /** + * + * + *
+   * Optional. List of Lustre mounts.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1.LustreMount getLustreMounts(int index); + + /** + * + * + *
+   * Optional. List of Lustre mounts.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getLustreMountsCount(); + + /** + * + * + *
+   * Optional. List of Lustre mounts.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getLustreMountsOrBuilderList(); + + /** + * + * + *
+   * Optional. List of Lustre mounts.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1.LustreMountOrBuilder getLustreMountsOrBuilder(int index); + /** * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto index ae940e744d4e..ea1230354290 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto @@ -312,6 +312,10 @@ message WorkerPoolSpec { // Optional. List of NFS mount spec. repeated NfsMount nfs_mounts = 4 [(google.api.field_behavior) = OPTIONAL]; + // Optional. List of Lustre mounts. + repeated LustreMount lustre_mounts = 9 + [(google.api.field_behavior) = OPTIONAL]; + // Disk spec. DiskSpec disk_spec = 5; } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto index e82856202e02..41ed31300ab1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto @@ -85,35 +85,31 @@ message MachineSpec { ]; } -// A description of resources that are dedicated to a DeployedModel, and -// that need a higher degree of manual configuration. +// A description of resources that are dedicated to a DeployedModel or +// DeployedIndex, and that need a higher degree of manual configuration. message DedicatedResources { - // Required. Immutable. The specification of a single machine used by the - // prediction. + // Required. Immutable. The specification of a single machine being used. MachineSpec machine_spec = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE ]; - // Required. Immutable. The minimum number of machine replicas this - // DeployedModel will be always deployed on. This value must be greater than - // or equal to 1. + // Required. Immutable. The minimum number of machine replicas that will be + // always deployed on. This value must be greater than or equal to 1. // - // If traffic against the DeployedModel increases, it may dynamically be - // deployed onto more replicas, and as traffic decreases, some of these extra - // replicas may be freed. + // If traffic increases, it may dynamically be deployed onto more replicas, + // and as traffic decreases, some of these extra replicas may be freed. int32 min_replica_count = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE ]; - // Immutable. The maximum number of replicas this DeployedModel may be - // deployed on when the traffic against it increases. If the requested value - // is too large, the deployment will error, but if deployment succeeds then - // the ability to scale the model to that many replicas is guaranteed (barring - // service outages). If traffic against the DeployedModel increases beyond - // what its replicas at maximum may handle, a portion of the traffic will be - // dropped. If this value is not provided, will use + // Immutable. The maximum number of replicas that may be deployed on when the + // traffic against it increases. If the requested value is too large, the + // deployment will error, but if deployment succeeds then the ability to scale + // to that many replicas is guaranteed (barring service outages). If traffic + // increases beyond what its replicas at maximum may handle, a portion of the + // traffic will be dropped. If this value is not provided, will use // [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count] // as the default value. // @@ -124,8 +120,8 @@ message DedicatedResources { int32 max_replica_count = 3 [(google.api.field_behavior) = IMMUTABLE]; // Optional. Number of required available replicas for the deployment to - // succeed. This field is only needed when partial model deployment/mutation - // is desired. If set, the model deploy/mutate operation will succeed once + // succeed. This field is only needed when partial deployment/mutation is + // desired. If set, the deploy/mutate operation will succeed once // available_replica_count reaches required_replica_count, and the rest of // the replicas will be retried. If not set, the default // required_replica_count will be min_replica_count. @@ -166,23 +162,22 @@ message DedicatedResources { // and require only a modest additional configuration. // Each Model supporting these resources documents its specific guidelines. message AutomaticResources { - // Immutable. The minimum number of replicas this DeployedModel will be always - // deployed on. If traffic against it increases, it may dynamically be - // deployed onto more replicas up to + // Immutable. The minimum number of replicas that will be always deployed on. + // If traffic against it increases, it may dynamically be deployed onto more + // replicas up to // [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count], // and as traffic decreases, some of these extra replicas may be freed. If the // requested value is too large, the deployment will error. int32 min_replica_count = 1 [(google.api.field_behavior) = IMMUTABLE]; - // Immutable. The maximum number of replicas this DeployedModel may be - // deployed on when the traffic against it increases. If the requested value - // is too large, the deployment will error, but if deployment succeeds then - // the ability to scale the model to that many replicas is guaranteed (barring - // service outages). If traffic against the DeployedModel increases beyond - // what its replicas at maximum may handle, a portion of the traffic will be - // dropped. If this value is not provided, a no upper bound for scaling under - // heavy traffic will be assume, though Vertex AI may be unable to scale - // beyond certain replica number. + // Immutable. The maximum number of replicas that may be deployed on when the + // traffic against it increases. If the requested value is too large, the + // deployment will error, but if deployment succeeds then the ability to scale + // to that many replicas is guaranteed (barring service outages). If traffic + // increases beyond what its replicas at maximum may handle, a portion of the + // traffic will be dropped. If this value is not provided, a no upper bound + // for scaling under heavy traffic will be assume, though Vertex AI may be + // unable to scale beyond certain replica number. int32 max_replica_count = 2 [(google.api.field_behavior) = IMMUTABLE]; } @@ -215,9 +210,10 @@ message ResourcesConsumed { // Represents the spec of disk options. message DiskSpec { - // Type of the boot disk (default is "pd-ssd"). - // Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or - // "pd-standard" (Persistent Disk Hard Disk Drive). + // Type of the boot disk. For non-A3U machines, the default value is + // "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". + // Valid values: "pd-ssd" (Persistent Disk Solid State Drive), + // "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced". string boot_disk_type = 1; // Size in GB of the boot disk (default is 100GB). @@ -253,6 +249,22 @@ message NfsMount { string mount_point = 3 [(google.api.field_behavior) = REQUIRED]; } +// Represents a mount configuration for Lustre file system. +message LustreMount { + // Required. IP address of the Lustre instance. + string instance_ip = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The unique identifier of the Lustre volume. + string volume_handle = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The name of the Lustre filesystem. + string filesystem = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. Destination mount path. The Lustre file system will be mounted + // for the user under /mnt/lustre/ + string mount_point = 4 [(google.api.field_behavior) = REQUIRED]; +} + // The metric specification that defines the target resource utilization // (CPU utilization, accelerator's duty cycle, and so on) for calculating the // desired replica count. @@ -263,6 +275,7 @@ message AutoscalingMetricSpec { // * For Online Prediction: // * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` // * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + // * `aiplatform.googleapis.com/prediction/online/request_count` string metric_name = 1 [(google.api.field_behavior) = REQUIRED]; // The target resource utilization in percentage (1% - 100%) for the given From 5dfeab140ba9624dce072a8f698b2df941924a82 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 20 Dec 2025 02:32:10 +0000 Subject: [PATCH 5/8] chore: Update generation configuration at Sat Dec 20 02:32:01 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 813b777fadc2..a10f59deb6de 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.64.2 -googleapis_commitish: affadb6065604127974a094649edbaceacfa2433 +googleapis_commitish: 347b0e45a6ec42e183e44ce11e0cb0eaf7f24caa libraries_bom_version: 26.73.0 # the libraries are ordered with respect to library name, which is From 7757d072c6299efc2df336cd77647ec4c03636ce Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 20 Dec 2025 02:43:24 +0000 Subject: [PATCH 6/8] chore: generate libraries at Sat Dec 20 02:34:33 UTC 2025 --- .../v1/ArtifactRegistryClient.java | 8 +- .../ArtifactRegistryClientHttpJsonTest.java | 4 + .../v1/ArtifactRegistryClientTest.java | 2 + .../v1/ArtifactRegistryGrpc.java | 10 +- .../devtools/artifactregistry/v1/Version.java | 606 ++++++++++++++++++ .../artifactregistry/v1/VersionOrBuilder.java | 76 +++ .../artifactregistry/v1/VersionProto.java | 112 ++-- .../artifactregistry/v1/service.proto | 2 +- .../artifactregistry/v1/version.proto | 6 + 9 files changed, 759 insertions(+), 67 deletions(-) diff --git a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java index 8e89e8c211df..82d474ad2d57 100644 --- a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java +++ b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java @@ -1005,7 +1005,7 @@ * * *

ExportArtifact - *

Exports an artifact. + *

Exports an artifact to a Cloud Storage bucket. * *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    @@ -7000,7 +7000,7 @@ public final UnaryCallable deleteAttachmentC // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Exports an artifact. + * Exports an artifact to a Cloud Storage bucket. * *

    Sample code: * @@ -7030,7 +7030,7 @@ public final OperationFuture exp // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Exports an artifact. + * Exports an artifact to a Cloud Storage bucket. * *

    Sample code: * @@ -7061,7 +7061,7 @@ public final OperationFuture exp // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Exports an artifact. + * Exports an artifact to a Cloud Storage bucket. * *

    Sample code: * diff --git a/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java b/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java index fa3f18e4bb3b..888797ec414a 100644 --- a/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java +++ b/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java @@ -1902,6 +1902,7 @@ public void getVersionTest() throws Exception { .addAllRelatedTags(new ArrayList()) .setMetadata(Struct.newBuilder().build()) .putAllAnnotations(new HashMap()) + .addAllFingerprints(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -2099,6 +2100,7 @@ public void updateVersionTest() throws Exception { .addAllRelatedTags(new ArrayList()) .setMetadata(Struct.newBuilder().build()) .putAllAnnotations(new HashMap()) + .addAllFingerprints(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -2113,6 +2115,7 @@ public void updateVersionTest() throws Exception { .addAllRelatedTags(new ArrayList()) .setMetadata(Struct.newBuilder().build()) .putAllAnnotations(new HashMap()) + .addAllFingerprints(new ArrayList()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -2154,6 +2157,7 @@ public void updateVersionExceptionTest() throws Exception { .addAllRelatedTags(new ArrayList()) .setMetadata(Struct.newBuilder().build()) .putAllAnnotations(new HashMap()) + .addAllFingerprints(new ArrayList()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateVersion(version, updateMask); diff --git a/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java b/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java index 80a2c83ad2f1..52d9187e3bfc 100644 --- a/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java +++ b/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java @@ -1682,6 +1682,7 @@ public void getVersionTest() throws Exception { .addAllRelatedTags(new ArrayList()) .setMetadata(Struct.newBuilder().build()) .putAllAnnotations(new HashMap()) + .addAllFingerprints(new ArrayList()) .build(); mockArtifactRegistry.addResponse(expectedResponse); @@ -1860,6 +1861,7 @@ public void updateVersionTest() throws Exception { .addAllRelatedTags(new ArrayList()) .setMetadata(Struct.newBuilder().build()) .putAllAnnotations(new HashMap()) + .addAllFingerprints(new ArrayList()) .build(); mockArtifactRegistry.addResponse(expectedResponse); diff --git a/java-artifact-registry/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/java-artifact-registry/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java index 8602a9185fe0..5dbc393f5afd 100644 --- a/java-artifact-registry/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java +++ b/java-artifact-registry/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java @@ -3149,7 +3149,7 @@ default void deleteAttachment( * * *

    -     * Exports an artifact.
    +     * Exports an artifact to a Cloud Storage bucket.
          * 
    */ default void exportArtifact( @@ -4021,7 +4021,7 @@ public void deleteAttachment( * * *
    -     * Exports an artifact.
    +     * Exports an artifact to a Cloud Storage bucket.
          * 
    */ public void exportArtifact( @@ -4767,7 +4767,7 @@ public com.google.longrunning.Operation deleteAttachment( * * *
    -     * Exports an artifact.
    +     * Exports an artifact to a Cloud Storage bucket.
          * 
    */ public com.google.longrunning.Operation exportArtifact( @@ -5462,7 +5462,7 @@ public com.google.longrunning.Operation deleteAttachment( * * *
    -     * Exports an artifact.
    +     * Exports an artifact to a Cloud Storage bucket.
          * 
    */ public com.google.longrunning.Operation exportArtifact( @@ -6201,7 +6201,7 @@ public com.google.common.util.concurrent.ListenableFuture - * Exports an artifact. + * Exports an artifact to a Cloud Storage bucket. *
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java index be0a5156e394..b1bb9fee6227 100644 --- a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java +++ b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java @@ -45,6 +45,7 @@ private Version() { name_ = ""; description_ = ""; relatedTags_ = java.util.Collections.emptyList(); + fingerprints_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -545,6 +546,102 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { return map.get(key); } + public static final int FINGERPRINTS_FIELD_NUMBER = 10; + + @SuppressWarnings("serial") + private java.util.List fingerprints_; + + /** + * + * + *
+   * Output only. Immutable reference for the version, calculated based on the
+   * version's content. Currently we only support dirsum_sha256 hash algorithm.
+   * Additional hash algorithms may be added in the future.
+   * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List getFingerprintsList() { + return fingerprints_; + } + + /** + * + * + *
+   * Output only. Immutable reference for the version, calculated based on the
+   * version's content. Currently we only support dirsum_sha256 hash algorithm.
+   * Additional hash algorithms may be added in the future.
+   * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getFingerprintsOrBuilderList() { + return fingerprints_; + } + + /** + * + * + *
+   * Output only. Immutable reference for the version, calculated based on the
+   * version's content. Currently we only support dirsum_sha256 hash algorithm.
+   * Additional hash algorithms may be added in the future.
+   * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getFingerprintsCount() { + return fingerprints_.size(); + } + + /** + * + * + *
+   * Output only. Immutable reference for the version, calculated based on the
+   * version's content. Currently we only support dirsum_sha256 hash algorithm.
+   * Additional hash algorithms may be added in the future.
+   * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Hash getFingerprints(int index) { + return fingerprints_.get(index); + } + + /** + * + * + *
+   * Output only. Immutable reference for the version, calculated based on the
+   * version's content. Currently we only support dirsum_sha256 hash algorithm.
+   * Additional hash algorithms may be added in the future.
+   * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.devtools.artifactregistry.v1.HashOrBuilder getFingerprintsOrBuilder(int index) { + return fingerprints_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -579,6 +676,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 9); + for (int i = 0; i < fingerprints_.size(); i++) { + output.writeMessage(10, fingerprints_.get(i)); + } getUnknownFields().writeTo(output); } @@ -616,6 +716,9 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, annotations__); } + for (int i = 0; i < fingerprints_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, fingerprints_.get(i)); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -648,6 +751,7 @@ public boolean equals(final java.lang.Object obj) { if (!getMetadata().equals(other.getMetadata())) return false; } if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getFingerprintsList().equals(other.getFingerprintsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -683,6 +787,10 @@ public int hashCode() { hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; hash = (53 * hash) + internalGetAnnotations().hashCode(); } + if (getFingerprintsCount() > 0) { + hash = (37 * hash) + FINGERPRINTS_FIELD_NUMBER; + hash = (53 * hash) + getFingerprintsList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -852,6 +960,7 @@ private void maybeForceBuilderInitialization() { getUpdateTimeFieldBuilder(); getRelatedTagsFieldBuilder(); getMetadataFieldBuilder(); + getFingerprintsFieldBuilder(); } } @@ -884,6 +993,13 @@ public Builder clear() { metadataBuilder_ = null; } internalGetMutableAnnotations().clear(); + if (fingerprintsBuilder_ == null) { + fingerprints_ = java.util.Collections.emptyList(); + } else { + fingerprints_ = null; + fingerprintsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); return this; } @@ -930,6 +1046,15 @@ private void buildPartialRepeatedFields( } else { result.relatedTags_ = relatedTagsBuilder_.build(); } + if (fingerprintsBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0)) { + fingerprints_ = java.util.Collections.unmodifiableList(fingerprints_); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.fingerprints_ = fingerprints_; + } else { + result.fingerprints_ = fingerprintsBuilder_.build(); + } } private void buildPartial0(com.google.devtools.artifactregistry.v1.Version result) { @@ -1054,6 +1179,33 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other) } internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); bitField0_ |= 0x00000040; + if (fingerprintsBuilder_ == null) { + if (!other.fingerprints_.isEmpty()) { + if (fingerprints_.isEmpty()) { + fingerprints_ = other.fingerprints_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureFingerprintsIsMutable(); + fingerprints_.addAll(other.fingerprints_); + } + onChanged(); + } + } else { + if (!other.fingerprints_.isEmpty()) { + if (fingerprintsBuilder_.isEmpty()) { + fingerprintsBuilder_.dispose(); + fingerprintsBuilder_ = null; + fingerprints_ = other.fingerprints_; + bitField0_ = (bitField0_ & ~0x00000080); + fingerprintsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFingerprintsFieldBuilder() + : null; + } else { + fingerprintsBuilder_.addAllMessages(other.fingerprints_); + } + } + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1135,6 +1287,19 @@ public Builder mergeFrom( bitField0_ |= 0x00000040; break; } // case 74 + case 82: + { + com.google.devtools.artifactregistry.v1.Hash m = + input.readMessage( + com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry); + if (fingerprintsBuilder_ == null) { + ensureFingerprintsIsMutable(); + fingerprints_.add(m); + } else { + fingerprintsBuilder_.addMessage(m); + } + break; + } // case 82 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2582,6 +2747,447 @@ public Builder putAllAnnotations(java.util.Map fingerprints_ = + java.util.Collections.emptyList(); + + private void ensureFingerprintsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + fingerprints_ = + new java.util.ArrayList(fingerprints_); + bitField0_ |= 0x00000080; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder> + fingerprintsBuilder_; + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List getFingerprintsList() { + if (fingerprintsBuilder_ == null) { + return java.util.Collections.unmodifiableList(fingerprints_); + } else { + return fingerprintsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public int getFingerprintsCount() { + if (fingerprintsBuilder_ == null) { + return fingerprints_.size(); + } else { + return fingerprintsBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.devtools.artifactregistry.v1.Hash getFingerprints(int index) { + if (fingerprintsBuilder_ == null) { + return fingerprints_.get(index); + } else { + return fingerprintsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFingerprints(int index, com.google.devtools.artifactregistry.v1.Hash value) { + if (fingerprintsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFingerprintsIsMutable(); + fingerprints_.set(index, value); + onChanged(); + } else { + fingerprintsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFingerprints( + int index, com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + if (fingerprintsBuilder_ == null) { + ensureFingerprintsIsMutable(); + fingerprints_.set(index, builderForValue.build()); + onChanged(); + } else { + fingerprintsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addFingerprints(com.google.devtools.artifactregistry.v1.Hash value) { + if (fingerprintsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFingerprintsIsMutable(); + fingerprints_.add(value); + onChanged(); + } else { + fingerprintsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addFingerprints(int index, com.google.devtools.artifactregistry.v1.Hash value) { + if (fingerprintsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFingerprintsIsMutable(); + fingerprints_.add(index, value); + onChanged(); + } else { + fingerprintsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addFingerprints( + com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + if (fingerprintsBuilder_ == null) { + ensureFingerprintsIsMutable(); + fingerprints_.add(builderForValue.build()); + onChanged(); + } else { + fingerprintsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addFingerprints( + int index, com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + if (fingerprintsBuilder_ == null) { + ensureFingerprintsIsMutable(); + fingerprints_.add(index, builderForValue.build()); + onChanged(); + } else { + fingerprintsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addAllFingerprints( + java.lang.Iterable values) { + if (fingerprintsBuilder_ == null) { + ensureFingerprintsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fingerprints_); + onChanged(); + } else { + fingerprintsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearFingerprints() { + if (fingerprintsBuilder_ == null) { + fingerprints_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + } else { + fingerprintsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removeFingerprints(int index) { + if (fingerprintsBuilder_ == null) { + ensureFingerprintsIsMutable(); + fingerprints_.remove(index); + onChanged(); + } else { + fingerprintsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.devtools.artifactregistry.v1.Hash.Builder getFingerprintsBuilder(int index) { + return getFingerprintsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.devtools.artifactregistry.v1.HashOrBuilder getFingerprintsOrBuilder( + int index) { + if (fingerprintsBuilder_ == null) { + return fingerprints_.get(index); + } else { + return fingerprintsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getFingerprintsOrBuilderList() { + if (fingerprintsBuilder_ != null) { + return fingerprintsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(fingerprints_); + } + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.devtools.artifactregistry.v1.Hash.Builder addFingerprintsBuilder() { + return getFingerprintsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.devtools.artifactregistry.v1.Hash.Builder addFingerprintsBuilder(int index) { + return getFingerprintsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + } + + /** + * + * + *
+     * Output only. Immutable reference for the version, calculated based on the
+     * version's content. Currently we only support dirsum_sha256 hash algorithm.
+     * Additional hash algorithms may be added in the future.
+     * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getFingerprintsBuilderList() { + return getFingerprintsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder> + getFingerprintsFieldBuilder() { + if (fingerprintsBuilder_ == null) { + fingerprintsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder>( + fingerprints_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); + fingerprints_ = null; + } + return fingerprintsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java index ae585612b8cd..e5525b1bc85b 100644 --- a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java +++ b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java @@ -333,4 +333,80 @@ java.lang.String getAnnotationsOrDefault( *
*/ java.lang.String getAnnotationsOrThrow(java.lang.String key); + + /** + * + * + *
+   * Output only. Immutable reference for the version, calculated based on the
+   * version's content. Currently we only support dirsum_sha256 hash algorithm.
+   * Additional hash algorithms may be added in the future.
+   * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List getFingerprintsList(); + + /** + * + * + *
+   * Output only. Immutable reference for the version, calculated based on the
+   * version's content. Currently we only support dirsum_sha256 hash algorithm.
+   * Additional hash algorithms may be added in the future.
+   * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.devtools.artifactregistry.v1.Hash getFingerprints(int index); + + /** + * + * + *
+   * Output only. Immutable reference for the version, calculated based on the
+   * version's content. Currently we only support dirsum_sha256 hash algorithm.
+   * Additional hash algorithms may be added in the future.
+   * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getFingerprintsCount(); + + /** + * + * + *
+   * Output only. Immutable reference for the version, calculated based on the
+   * version's content. Currently we only support dirsum_sha256 hash algorithm.
+   * Additional hash algorithms may be added in the future.
+   * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getFingerprintsOrBuilderList(); + + /** + * + * + *
+   * Output only. Immutable reference for the version, calculated based on the
+   * version's content. Currently we only support dirsum_sha256 hash algorithm.
+   * Additional hash algorithms may be added in the future.
+   * 
+ * + * + * repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.devtools.artifactregistry.v1.HashOrBuilder getFingerprintsOrBuilder(int index); } diff --git a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java index 9e8ed9b5151f..4486421aa40d 100644 --- a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java +++ b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java @@ -73,64 +73,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { - "\n" - + "1google/devtools/artifactregistry/v1/version.proto\022#google.devtools.artifactreg" + "\n1google/devtools/artifactregistry/v1/ve" + + "rsion.proto\022#google.devtools.artifactreg" + "istry.v1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032-google/devtools/artifactregistry/v1/tag.proto\032" - + " google/protobuf/field_mask.proto\032\034google/pr" - + "otobuf/struct.proto\032\037google/protobuf/timestamp.proto\"\244\004\n" - + "\007Version\022\014\n" - + "\004name\030\001 \001(\t\022\023\n" - + "\013description\030\003 \001(\t\022/\n" - + "\013create_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n" - + "\013update_time\030\006 \001(\0132\032.google.protobuf.Timestamp\022>\n" - + "\014related_tags\030\007 \003(\0132(.google.devtools.artifactregistry.v1.Tag\022.\n" - + "\010metadata\030\010 \001(\0132\027.google.protobuf.StructB\003\340A\003\022W\n" - + "\013annotations\030\t \003(\0132=.google.devtools.artifactreg" - + "istry.v1.Version.AnnotationsEntryB\003\340A\001\0322\n" - + "\020AnnotationsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001:\226\001\352A\222\001\n" - + "\'artifactregistry.googleapis.com/Version\022gprojects/{project}/l" - + "ocations/{location}/repositories/{reposi" - + "tory}/packages/{package}/versions/{version}\"\270\001\n" - + "\023ListVersionsRequest\022\016\n" - + "\006parent\030\001 \001(\t\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\022>\n" - + "\004view\030\004 \001(\01620.google.devtools.artifactregistry.v1.VersionView\022\025\n" - + "\010order_by\030\005 \001(\tB\003\340A\001\022\023\n" - + "\006filter\030\006 \001(\tB\003\340A\001\"o\n" - + "\024ListVersionsResponse\022>\n" - + "\010versions\030\001 \003(\0132,.google.devtools.artifactregistry.v1.Version\022\027\n" - + "\017next_page_token\030\002 \001(\t\"a\n" - + "\021GetVersionRequest\022\014\n" - + "\004name\030\001 \001(\t\022>\n" - + "\004view\030\002 \001(\01620.google.devtools.artifactregistry.v1.VersionView\"3\n" - + "\024DeleteVersionRequest\022\014\n" - + "\004name\030\001 \001(\t\022\r\n" - + "\005force\030\002 \001(\010\"\261\001\n" - + "\032BatchDeleteVersionsRequest\022<\n" - + "\006parent\030\001 \001(\tB,\372A)\022\'artifactregistry.googleapis.com/Version\022>\n" - + "\005names\030\002 \003(\tB/\340A\002\372A)\n" - + "\'artifactregistry.googleapis.com/Version\022\025\n\r" - + "validate_only\030\003 \001(\010\"6\n" - + "\033BatchDeleteVersionsMetadata\022\027\n" - + "\017failed_versions\030\002 \003(\t\"\213\001\n" - + "\024UpdateVersionRequest\022B\n" - + "\007version\030\001" - + " \001(\0132,.google.devtools.artifactregistry.v1.VersionB\003\340A\002\022/\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMask*@\n" - + "\013VersionView\022\034\n" - + "\030VERSION_VIEW_UNSPECIFIED\020\000\022\t\n" - + "\005BASIC\020\001\022\010\n" - + "\004FULL\020\002B\367\001\n" - + "\'com.google.devtools.artifactregistry.v1B\014VersionProtoP\001Z" - + "Pcloud.google.com/go/artifactregistry/ap" - + "iv1/artifactregistrypb;artifactregistrypb\252\002" - + " Google.Cloud.ArtifactRegistry.V1\312\002 G" - + "oogle\\Cloud\\ArtifactRegistry\\V1\352\002#Google" - + "::Cloud::ArtifactRegistry::V1b\006proto3" + + "o\032\031google/api/resource.proto\032.google/dev" + + "tools/artifactregistry/v1/file.proto\032-go" + + "ogle/devtools/artifactregistry/v1/tag.pr" + + "oto\032 google/protobuf/field_mask.proto\032\034g" + + "oogle/protobuf/struct.proto\032\037google/prot" + + "obuf/timestamp.proto\"\352\004\n\007Version\022\014\n\004name" + + "\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_ti" + + "me\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013" + + "update_time\030\006 \001(\0132\032.google.protobuf.Time" + + "stamp\022>\n\014related_tags\030\007 \003(\0132(.google.dev" + + "tools.artifactregistry.v1.Tag\022.\n\010metadat" + + "a\030\010 \001(\0132\027.google.protobuf.StructB\003\340A\003\022W\n" + + "\013annotations\030\t \003(\0132=.google.devtools.art" + + "ifactregistry.v1.Version.AnnotationsEntr" + + "yB\003\340A\001\022D\n\014fingerprints\030\n \003(\0132).google.de" + + "vtools.artifactregistry.v1.HashB\003\340A\003\0322\n\020" + + "AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001:\226\001\352A\222\001\n\'artifactregistry.google" + + "apis.com/Version\022gprojects/{project}/loc" + + "ations/{location}/repositories/{reposito" + + "ry}/packages/{package}/versions/{version" + + "}\"\270\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(" + + "\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t" + + "\022>\n\004view\030\004 \001(\01620.google.devtools.artifac" + + "tregistry.v1.VersionView\022\025\n\010order_by\030\005 \001" + + "(\tB\003\340A\001\022\023\n\006filter\030\006 \001(\tB\003\340A\001\"o\n\024ListVers" + + "ionsResponse\022>\n\010versions\030\001 \003(\0132,.google." + + "devtools.artifactregistry.v1.Version\022\027\n\017" + + "next_page_token\030\002 \001(\t\"a\n\021GetVersionReque" + + "st\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.google." + + "devtools.artifactregistry.v1.VersionView" + + "\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001 \001(\t\022\r" + + "\n\005force\030\002 \001(\010\"\261\001\n\032BatchDeleteVersionsReq" + + "uest\022<\n\006parent\030\001 \001(\tB,\372A)\022\'artifactregis" + + "try.googleapis.com/Version\022>\n\005names\030\002 \003(" + + "\tB/\340A\002\372A)\n\'artifactregistry.googleapis.c" + + "om/Version\022\025\n\rvalidate_only\030\003 \001(\010\"6\n\033Bat" + + "chDeleteVersionsMetadata\022\027\n\017failed_versi" + + "ons\030\002 \003(\t\"\213\001\n\024UpdateVersionRequest\022B\n\007ve" + + "rsion\030\001 \001(\0132,.google.devtools.artifactre" + + "gistry.v1.VersionB\003\340A\002\022/\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMask*@\n\013Versi" + + "onView\022\034\n\030VERSION_VIEW_UNSPECIFIED\020\000\022\t\n\005" + + "BASIC\020\001\022\010\n\004FULL\020\002B\367\001\n\'com.google.devtool" + + "s.artifactregistry.v1B\014VersionProtoP\001ZPc" + + "loud.google.com/go/artifactregistry/apiv" + + "1/artifactregistrypb;artifactregistrypb\252" + + "\002 Google.Cloud.ArtifactRegistry.V1\312\002 Goo" + + "gle\\Cloud\\ArtifactRegistry\\V1\352\002#Google::" + + "Cloud::ArtifactRegistry::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -138,6 +133,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), @@ -156,6 +152,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RelatedTags", "Metadata", "Annotations", + "Fingerprints", }); internal_static_google_devtools_artifactregistry_v1_Version_AnnotationsEntry_descriptor = internal_static_google_devtools_artifactregistry_v1_Version_descriptor @@ -232,6 +229,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); diff --git a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto index 7c1720201143..b7e7c368092d 100644 --- a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto +++ b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto @@ -543,7 +543,7 @@ service ArtifactRegistry { }; } - // Exports an artifact. + // Exports an artifact to a Cloud Storage bucket. rpc ExportArtifact(ExportArtifactRequest) returns (google.longrunning.Operation) { option (google.api.http) = { diff --git a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto index ec64db538c95..4efa5c15fec3 100644 --- a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto +++ b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto @@ -18,6 +18,7 @@ package google.devtools.artifactregistry.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/devtools/artifactregistry/v1/file.proto"; import "google/devtools/artifactregistry/v1/tag.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; @@ -83,6 +84,11 @@ message Version { // Optional. Client specified annotations. map annotations = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Immutable reference for the version, calculated based on the + // version's content. Currently we only support dirsum_sha256 hash algorithm. + // Additional hash algorithms may be added in the future. + repeated Hash fingerprints = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; } // The request to list versions. From 267a007091a5721ace2341e086b142f3772b5d01 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 24 Dec 2025 02:34:20 +0000 Subject: [PATCH 7/8] chore: Update generation configuration at Wed Dec 24 02:34:12 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index a10f59deb6de..d6de9a475b0a 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.64.2 -googleapis_commitish: 347b0e45a6ec42e183e44ce11e0cb0eaf7f24caa +googleapis_commitish: ef6a532bfd9ab7a944bdedd64c69a2b4042db58b libraries_bom_version: 26.73.0 # the libraries are ordered with respect to library name, which is From 942101482a3094301f8094fa9c52a82722288a42 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 25 Dec 2025 02:36:10 +0000 Subject: [PATCH 8/8] chore: Update generation configuration at Thu Dec 25 02:36:03 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index d6de9a475b0a..c0f974e361d6 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.64.2 -googleapis_commitish: ef6a532bfd9ab7a944bdedd64c69a2b4042db58b +googleapis_commitish: 60f1e6ad747f1a603902b0d87867539c7df22a3b libraries_bom_version: 26.73.0 # the libraries are ordered with respect to library name, which is