.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=721
+ * google/cloud/alloydb/v1alpha/resources.proto;l=724
* @return Whether the sslConfig field is set.
*/
@java.lang.Override
@@ -7043,7 +7043,7 @@ public boolean hasSslConfig() {
* .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=721
+ * google/cloud/alloydb/v1alpha/resources.proto;l=724
* @return The sslConfig.
*/
@java.lang.Override
@@ -7677,7 +7677,7 @@ public com.google.cloud.alloydb.v1alpha.MaintenanceSchedule getMaintenanceSchedu
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=771
+ * google/cloud/alloydb/v1alpha/resources.proto;l=774
* @return Whether the geminiConfig field is set.
*/
@java.lang.Override
@@ -7699,7 +7699,7 @@ public boolean hasGeminiConfig() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=771
+ * google/cloud/alloydb/v1alpha/resources.proto;l=774
* @return The geminiConfig.
*/
@java.lang.Override
@@ -12066,7 +12066,7 @@ public Builder clearNetworkConfig() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=686
+ * google/cloud/alloydb/v1alpha/resources.proto;l=689
* @return The network.
*/
@java.lang.Deprecated
@@ -12098,7 +12098,7 @@ public java.lang.String getNetwork() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=686
+ * google/cloud/alloydb/v1alpha/resources.proto;l=689
* @return The bytes for network.
*/
@java.lang.Deprecated
@@ -12130,7 +12130,7 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=686
+ * google/cloud/alloydb/v1alpha/resources.proto;l=689
* @param value The network to set.
* @return This builder for chaining.
*/
@@ -12161,7 +12161,7 @@ public Builder setNetwork(java.lang.String value) {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=686
+ * google/cloud/alloydb/v1alpha/resources.proto;l=689
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -12188,7 +12188,7 @@ public Builder clearNetwork() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=686
+ * google/cloud/alloydb/v1alpha/resources.proto;l=689
* @param value The bytes for network to set.
* @return This builder for chaining.
*/
@@ -13074,7 +13074,7 @@ public Builder clearAutomatedBackupPolicy() {
* .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=721
+ * google/cloud/alloydb/v1alpha/resources.proto;l=724
* @return Whether the sslConfig field is set.
*/
@java.lang.Deprecated
@@ -13092,7 +13092,7 @@ public boolean hasSslConfig() {
* .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=721
+ * google/cloud/alloydb/v1alpha/resources.proto;l=724
* @return The sslConfig.
*/
@java.lang.Deprecated
@@ -15391,7 +15391,7 @@ public Builder clearMaintenanceSchedule() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=771
+ * google/cloud/alloydb/v1alpha/resources.proto;l=774
* @return Whether the geminiConfig field is set.
*/
@java.lang.Deprecated
@@ -15412,7 +15412,7 @@ public boolean hasGeminiConfig() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=771
+ * google/cloud/alloydb/v1alpha/resources.proto;l=774
* @return The geminiConfig.
*/
@java.lang.Deprecated
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java
index df8dafffa1e4..6f13ce23c768 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java
@@ -572,7 +572,7 @@ java.lang.String getLabelsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=686
+ * google/cloud/alloydb/v1alpha/resources.proto;l=689
* @return The network.
*/
@java.lang.Deprecated
@@ -594,7 +594,7 @@ java.lang.String getLabelsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=686
+ * google/cloud/alloydb/v1alpha/resources.proto;l=689
* @return The bytes for network.
*/
@java.lang.Deprecated
@@ -828,7 +828,7 @@ java.lang.String getAnnotationsOrDefault(
* .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=721
+ * google/cloud/alloydb/v1alpha/resources.proto;l=724
* @return Whether the sslConfig field is set.
*/
@java.lang.Deprecated
@@ -844,7 +844,7 @@ java.lang.String getAnnotationsOrDefault(
* .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=721
+ * google/cloud/alloydb/v1alpha/resources.proto;l=724
* @return The sslConfig.
*/
@java.lang.Deprecated
@@ -1305,7 +1305,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=771
+ * google/cloud/alloydb/v1alpha/resources.proto;l=774
* @return Whether the geminiConfig field is set.
*/
@java.lang.Deprecated
@@ -1324,7 +1324,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=771
+ * google/cloud/alloydb/v1alpha/resources.proto;l=774
* @return The geminiConfig.
*/
@java.lang.Deprecated
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
index 147eb9a3967b..a97d6cfc8a37 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
@@ -271,7 +271,7 @@ public com.google.protobuf.ByteString getPublicIpAddressBytes() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @return A list containing the pemCertificateChain.
*/
@java.lang.Deprecated
@@ -292,7 +292,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @return The count of pemCertificateChain.
*/
@java.lang.Deprecated
@@ -313,7 +313,7 @@ public int getPemCertificateChainCount() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @param index The index of the element to return.
* @return The pemCertificateChain at the given index.
*/
@@ -335,7 +335,7 @@ public java.lang.String getPemCertificateChain(int index) {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @param index The index of the value to return.
* @return The bytes of the pemCertificateChain at the given index.
*/
@@ -1370,7 +1370,7 @@ private void ensurePemCertificateChainIsMutable() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @return A list containing the pemCertificateChain.
*/
@java.lang.Deprecated
@@ -1392,7 +1392,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @return The count of pemCertificateChain.
*/
@java.lang.Deprecated
@@ -1413,7 +1413,7 @@ public int getPemCertificateChainCount() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @param index The index of the element to return.
* @return The pemCertificateChain at the given index.
*/
@@ -1435,7 +1435,7 @@ public java.lang.String getPemCertificateChain(int index) {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @param index The index of the value to return.
* @return The bytes of the pemCertificateChain at the given index.
*/
@@ -1457,7 +1457,7 @@ public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @param index The index to set the value at.
* @param value The pemCertificateChain to set.
* @return This builder for chaining.
@@ -1487,7 +1487,7 @@ public Builder setPemCertificateChain(int index, java.lang.String value) {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @param value The pemCertificateChain to add.
* @return This builder for chaining.
*/
@@ -1516,7 +1516,7 @@ public Builder addPemCertificateChain(java.lang.String value) {
*
*
* @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1alpha/resources.proto;l=1453
+ * See google/cloud/alloydb/v1alpha/resources.proto;l=1456
* @param values The pemCertificateChain to add.
* @return This builder for chaining.
*/
@@ -1542,7 +1542,7 @@ public Builder addAllPemCertificateChain(java.lang.Iterablebool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
* @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1850
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1853
* @return The isTemplate.
*/
@java.lang.Override
@@ -1410,7 +1410,7 @@ public Builder setCharacterTypeBytes(com.google.protobuf.ByteString value) {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1850
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1853
* @return The isTemplate.
*/
@java.lang.Override
@@ -1431,7 +1431,7 @@ public boolean getIsTemplate() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1850
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1853
* @param value The isTemplate to set.
* @return This builder for chaining.
*/
@@ -1456,7 +1456,7 @@ public Builder setIsTemplate(boolean value) {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1850
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1853
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java
index 33405bc3bff3..a0373e183f7d 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java
@@ -167,7 +167,7 @@ public interface DatabaseOrBuilder
* bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
*
* @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1850
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1853
* @return The isTemplate.
*/
@java.lang.Deprecated
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java
index fe91978c6909..a38dffa312c3 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java
@@ -102,6 +102,16 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum {
* POSTGRES_18 = 6;
*/
POSTGRES_18(6),
+ /**
+ *
+ *
+ * + * The database version is Postgres 19. + *+ * + *
POSTGRES_19 = 7;
+ */
+ POSTGRES_19(7),
UNRECOGNIZED(-1),
;
@@ -192,6 +202,17 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum {
*/
public static final int POSTGRES_18_VALUE = 6;
+ /**
+ *
+ *
+ * + * The database version is Postgres 19. + *+ * + *
POSTGRES_19 = 7;
+ */
+ public static final int POSTGRES_19_VALUE = 7;
+
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
@@ -230,6 +251,8 @@ public static DatabaseVersion forNumber(int value) {
return POSTGRES_17;
case 6:
return POSTGRES_18;
+ case 7:
+ return POSTGRES_19;
default:
return null;
}
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java
index a06045ba4436..4d27c2620fd5 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java
@@ -20873,7 +20873,7 @@ public com.google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig getNetwor
*
*
* @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1396
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1399
* @return Whether the geminiConfig field is set.
*/
@java.lang.Override
@@ -20895,7 +20895,7 @@ public boolean hasGeminiConfig() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1396
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1399
* @return The geminiConfig.
*/
@java.lang.Override
@@ -27950,7 +27950,7 @@ public Builder clearNetworkConfig() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1396
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1399
* @return Whether the geminiConfig field is set.
*/
@java.lang.Deprecated
@@ -27971,7 +27971,7 @@ public boolean hasGeminiConfig() {
*
*
* @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1396
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1399
* @return The geminiConfig.
*/
@java.lang.Deprecated
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java
index 684b6efbe0d1..ed79dbc22b00 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java
@@ -1304,7 +1304,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1396
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1399
* @return Whether the geminiConfig field is set.
*/
@java.lang.Deprecated
@@ -1323,7 +1323,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1alpha/resources.proto;l=1396
+ * google/cloud/alloydb/v1alpha/resources.proto;l=1399
* @return The geminiConfig.
*/
@java.lang.Deprecated
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java
index b35bd26ac62a..b153392295d4 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java
@@ -855,7 +855,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013ClusterView\022\034\n"
+ "\030CLUSTER_VIEW_UNSPECIFIED\020\000\022\026\n"
+ "\022CLUSTER_VIEW_BASIC\020\001\022\"\n"
- + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\235\001\n"
+ + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\256\001\n"
+ "\017DatabaseVersion\022 \n"
+ "\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n"
+ "\013POSTGRES_13\020\001\032\002\010\001\022\017\n"
@@ -863,25 +863,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013POSTGRES_15\020\003\022\017\n"
+ "\013POSTGRES_16\020\004\022\017\n"
+ "\013POSTGRES_17\020\005\022\017\n"
- + "\013POSTGRES_18\020\006*N\n"
+ + "\013POSTGRES_18\020\006\022\017\n"
+ + "\013POSTGRES_19\020\007*N\n"
+ "\020SubscriptionType\022!\n"
+ "\035SUBSCRIPTION_TYPE_UNSPECIFIED\020\000\022\014\n"
+ "\010STANDARD\020\001\022\t\n"
+ "\005TRIAL\020\002B\300\005\n"
- + " com.google.cloud.alloydb.v1alphaB\016ResourcesPro"
- + "toP\001Z:cloud.google.com/go/alloydb/apiv1a"
- + "lpha/alloydbpb;alloydbpb\252\002\034Google.Cloud."
- + "AlloyDb.V1Alpha\312\002\034Google\\Cloud\\AlloyDb\\V"
- + "1alpha\352\002\037Google::Cloud::AlloyDB::V1alpha\352A\246\001\n"
- + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects/{project}/locations/{lo"
- + "cation}/keyRings/{key_ring}/cryptoKeys/{"
- + "crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n"
- + "\036compute.googleapis.com/Ne"
- + "twork\022,projects/{project}/global/networks/{network}\352Ax\n"
- + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project}/locations/"
- + "{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352Aw\n"
- + "(compute.googleapis.com/ServiceAttachment\022Kprojects/{project}/"
- + "regions/{region}/serviceAttachments/{service_attachment}b\006proto3"
+ + " com.google.cloud.alloydb.v1alphaB\016ResourcesProtoP\001Z:cloud.google.com/"
+ + "go/alloydb/apiv1alpha/alloydbpb;alloydbp"
+ + "b\252\002\034Google.Cloud.AlloyDb.V1Alpha\312\002\034Googl"
+ + "e\\Cloud\\AlloyDb\\V1alpha\352\002\037Google::Cloud::AlloyDB::V1alpha\352A\246\001\n"
+ + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects/{proje"
+ + "ct}/locations/{location}/keyRings/{key_r"
+ + "ing}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n"
+ + "\036compute."
+ + "googleapis.com/Network\022,projects/{project}/global/networks/{network}\352Ax\n"
+ + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{pr"
+ + "oject}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352Aw\n"
+ + "(compute.googleapis.com/ServiceAttachment\022Kpr"
+ + "ojects/{project}/regions/{region}/serviceAttachments/{service_attachment}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto
index 19d20e43b097..e315ef47b6d2 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto
@@ -107,6 +107,9 @@ enum DatabaseVersion {
// The database version is Postgres 18.
POSTGRES_18 = 6;
+
+ // The database version is Postgres 19.
+ POSTGRES_19 = 7;
}
// Subscription_type added to distinguish between Standard and Trial
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 6062575c0e8a..18714ddc7a8e 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
@@ -6635,7 +6635,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=686
+ * google/cloud/alloydb/v1beta/resources.proto;l=689
* @return The network.
*/
@java.lang.Override
@@ -6668,7 +6668,7 @@ public java.lang.String getNetwork() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=686
+ * google/cloud/alloydb/v1beta/resources.proto;l=689
* @return The bytes for network.
*/
@java.lang.Override
@@ -7024,7 +7024,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=721
+ * google/cloud/alloydb/v1beta/resources.proto;l=724
* @return Whether the sslConfig field is set.
*/
@java.lang.Override
@@ -7043,7 +7043,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=721
+ * google/cloud/alloydb/v1beta/resources.proto;l=724
* @return The sslConfig.
*/
@java.lang.Override
@@ -7658,7 +7658,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=768
+ * google/cloud/alloydb/v1beta/resources.proto;l=771
* @return Whether the geminiConfig field is set.
*/
@java.lang.Override
@@ -7680,7 +7680,7 @@ public boolean hasGeminiConfig() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=768
+ * google/cloud/alloydb/v1beta/resources.proto;l=771
* @return The geminiConfig.
*/
@java.lang.Override
@@ -12021,7 +12021,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=686
+ * google/cloud/alloydb/v1beta/resources.proto;l=689
* @return The network.
*/
@java.lang.Deprecated
@@ -12053,7 +12053,7 @@ public java.lang.String getNetwork() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=686
+ * google/cloud/alloydb/v1beta/resources.proto;l=689
* @return The bytes for network.
*/
@java.lang.Deprecated
@@ -12085,7 +12085,7 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=686
+ * google/cloud/alloydb/v1beta/resources.proto;l=689
* @param value The network to set.
* @return This builder for chaining.
*/
@@ -12116,7 +12116,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=686
+ * google/cloud/alloydb/v1beta/resources.proto;l=689
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -12143,7 +12143,7 @@ public Builder clearNetwork() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=686
+ * google/cloud/alloydb/v1beta/resources.proto;l=689
* @param value The bytes for network to set.
* @return This builder for chaining.
*/
@@ -13020,7 +13020,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=721
+ * google/cloud/alloydb/v1beta/resources.proto;l=724
* @return Whether the sslConfig field is set.
*/
@java.lang.Deprecated
@@ -13038,7 +13038,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=721
+ * google/cloud/alloydb/v1beta/resources.proto;l=724
* @return The sslConfig.
*/
@java.lang.Deprecated
@@ -15278,7 +15278,7 @@ public Builder clearMaintenanceSchedule() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=768
+ * google/cloud/alloydb/v1beta/resources.proto;l=771
* @return Whether the geminiConfig field is set.
*/
@java.lang.Deprecated
@@ -15299,7 +15299,7 @@ public boolean hasGeminiConfig() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=768
+ * google/cloud/alloydb/v1beta/resources.proto;l=771
* @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 a179906507bd..a5375faf6a98 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
@@ -572,7 +572,7 @@ java.lang.String getLabelsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=686
+ * google/cloud/alloydb/v1beta/resources.proto;l=689
* @return The network.
*/
@java.lang.Deprecated
@@ -594,7 +594,7 @@ java.lang.String getLabelsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=686
+ * google/cloud/alloydb/v1beta/resources.proto;l=689
* @return The bytes for network.
*/
@java.lang.Deprecated
@@ -828,7 +828,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=721
+ * google/cloud/alloydb/v1beta/resources.proto;l=724
* @return Whether the sslConfig field is set.
*/
@java.lang.Deprecated
@@ -844,7 +844,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=721
+ * google/cloud/alloydb/v1beta/resources.proto;l=724
* @return The sslConfig.
*/
@java.lang.Deprecated
@@ -1292,7 +1292,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=768
+ * google/cloud/alloydb/v1beta/resources.proto;l=771
* @return Whether the geminiConfig field is set.
*/
@java.lang.Deprecated
@@ -1311,7 +1311,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=768
+ * google/cloud/alloydb/v1beta/resources.proto;l=771
* @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 e4a9755a7447..3444631b4d67 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
@@ -271,7 +271,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=1447
+ * google/cloud/alloydb/v1beta/resources.proto;l=1450
* @return A list containing the pemCertificateChain.
*/
@java.lang.Deprecated
@@ -292,7 +292,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=1447
+ * google/cloud/alloydb/v1beta/resources.proto;l=1450
* @return The count of pemCertificateChain.
*/
@java.lang.Deprecated
@@ -313,7 +313,7 @@ public int getPemCertificateChainCount() {
*
*
* @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=1447
+ * google/cloud/alloydb/v1beta/resources.proto;l=1450
* @param index The index of the element to return.
* @return The pemCertificateChain at the given index.
*/
@@ -335,7 +335,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=1447
+ * google/cloud/alloydb/v1beta/resources.proto;l=1450
* @param index The index of the value to return.
* @return The bytes of the pemCertificateChain at the given index.
*/
@@ -1369,7 +1369,7 @@ private void ensurePemCertificateChainIsMutable() {
*
*
* @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1beta/resources.proto;l=1447
+ * See google/cloud/alloydb/v1beta/resources.proto;l=1450
* @return A list containing the pemCertificateChain.
*/
@java.lang.Deprecated
@@ -1391,7 +1391,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=1447
+ * See google/cloud/alloydb/v1beta/resources.proto;l=1450
* @return The count of pemCertificateChain.
*/
@java.lang.Deprecated
@@ -1412,7 +1412,7 @@ public int getPemCertificateChainCount() {
*
*
* @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
- * See google/cloud/alloydb/v1beta/resources.proto;l=1447
+ * See google/cloud/alloydb/v1beta/resources.proto;l=1450
* @param index The index of the element to return.
* @return The pemCertificateChain at the given index.
*/
@@ -1434,7 +1434,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=1447
+ * See google/cloud/alloydb/v1beta/resources.proto;l=1450
* @param index The index of the value to return.
* @return The bytes of the pemCertificateChain at the given index.
*/
@@ -1456,7 +1456,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=1447
+ * See google/cloud/alloydb/v1beta/resources.proto;l=1450
* @param index The index to set the value at.
* @param value The pemCertificateChain to set.
* @return This builder for chaining.
@@ -1486,7 +1486,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=1447
+ * See google/cloud/alloydb/v1beta/resources.proto;l=1450
* @param value The pemCertificateChain to add.
* @return This builder for chaining.
*/
@@ -1515,7 +1515,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=1447
+ * See google/cloud/alloydb/v1beta/resources.proto;l=1450
* @param values The pemCertificateChain to add.
* @return This builder for chaining.
*/
@@ -1541,7 +1541,7 @@ public Builder addAllPemCertificateChain(java.lang.Iterablebool 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=1841
+ * google/cloud/alloydb/v1beta/resources.proto;l=1844
* @return The isTemplate.
*/
@java.lang.Override
@@ -1409,7 +1409,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=1841
+ * google/cloud/alloydb/v1beta/resources.proto;l=1844
* @return The isTemplate.
*/
@java.lang.Override
@@ -1430,7 +1430,7 @@ public boolean getIsTemplate() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=1841
+ * google/cloud/alloydb/v1beta/resources.proto;l=1844
* @param value The isTemplate to set.
* @return This builder for chaining.
*/
@@ -1455,7 +1455,7 @@ public Builder setIsTemplate(boolean value) {
*
*
* @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=1841
+ * google/cloud/alloydb/v1beta/resources.proto;l=1844
* @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 a8e704e8c202..e6e062a0c89b 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
@@ -167,7 +167,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=1841
+ * google/cloud/alloydb/v1beta/resources.proto;l=1844
* @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 3c9f2506fa03..01eea23c45af 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
@@ -102,6 +102,16 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum {
* POSTGRES_18 = 6;
*/
POSTGRES_18(6),
+ /**
+ *
+ *
+ * + * The database version is Postgres 19. + *+ * + *
POSTGRES_19 = 7;
+ */
+ POSTGRES_19(7),
UNRECOGNIZED(-1),
;
@@ -192,6 +202,17 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum {
*/
public static final int POSTGRES_18_VALUE = 6;
+ /**
+ *
+ *
+ * + * The database version is Postgres 19. + *+ * + *
POSTGRES_19 = 7;
+ */
+ public static final int POSTGRES_19_VALUE = 7;
+
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
@@ -230,6 +251,8 @@ public static DatabaseVersion forNumber(int value) {
return POSTGRES_17;
case 6:
return POSTGRES_18;
+ case 7:
+ return POSTGRES_19;
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 58cbb5e48678..f818f1cb6200 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
@@ -20820,7 +20820,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=1390
+ * google/cloud/alloydb/v1beta/resources.proto;l=1393
* @return Whether the geminiConfig field is set.
*/
@java.lang.Override
@@ -20842,7 +20842,7 @@ public boolean hasGeminiConfig() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=1390
+ * google/cloud/alloydb/v1beta/resources.proto;l=1393
* @return The geminiConfig.
*/
@java.lang.Override
@@ -27816,7 +27816,7 @@ public Builder clearNetworkConfig() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=1390
+ * google/cloud/alloydb/v1beta/resources.proto;l=1393
* @return Whether the geminiConfig field is set.
*/
@java.lang.Deprecated
@@ -27837,7 +27837,7 @@ public boolean hasGeminiConfig() {
*
*
* @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=1390
+ * google/cloud/alloydb/v1beta/resources.proto;l=1393
* @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 fafdceaf22a4..2180c542d45f 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
@@ -1291,7 +1291,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=1390
+ * google/cloud/alloydb/v1beta/resources.proto;l=1393
* @return Whether the geminiConfig field is set.
*/
@java.lang.Deprecated
@@ -1310,7 +1310,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See
- * google/cloud/alloydb/v1beta/resources.proto;l=1390
+ * google/cloud/alloydb/v1beta/resources.proto;l=1393
* @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 85ff547cd0dc..0e99b0e985ba 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
@@ -852,7 +852,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013ClusterView\022\034\n"
+ "\030CLUSTER_VIEW_UNSPECIFIED\020\000\022\026\n"
+ "\022CLUSTER_VIEW_BASIC\020\001\022\"\n"
- + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\235\001\n"
+ + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\256\001\n"
+ "\017DatabaseVersion\022 \n"
+ "\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n"
+ "\013POSTGRES_13\020\001\032\002\010\001\022\017\n"
@@ -860,24 +860,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013POSTGRES_15\020\003\022\017\n"
+ "\013POSTGRES_16\020\004\022\017\n"
+ "\013POSTGRES_17\020\005\022\017\n"
- + "\013POSTGRES_18\020\006*N\n"
+ + "\013POSTGRES_18\020\006\022\017\n"
+ + "\013POSTGRES_19\020\007*N\n"
+ "\020SubscriptionType\022!\n"
+ "\035SUBSCRIPTION_TYPE_UNSPECIFIED\020\000\022\014\n"
+ "\010STANDARD\020\001\022\t\n"
+ "\005TRIAL\020\002B\273\005\n"
- + "\037com.google.cloud.alloydb.v1betaB\016ResourcesProtoP\001Z9cloud."
- + "google.com/go/alloydb/apiv1beta/alloydbp"
- + "b;alloydbpb\252\002\033Google.Cloud.AlloyDb.V1Bet"
- + "a\312\002\033Google\\Cloud\\AlloyDb\\V1beta\352\002\036Google::Cloud::AlloyDB::V1beta\352A\246\001\n"
- + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects"
- + "/{project}/locations/{location}/keyRings"
- + "/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n"
- + "\036c"
- + "ompute.googleapis.com/Network\022,projects/{project}/global/networks/{network}\352Ax\n"
- + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project}/locations/{location}/keyRi"
- + "ngs/{key_ring}/cryptoKeys/{crypto_key}\352Aw\n"
- + "(compute.googleapis.com/ServiceAttachment\022Kprojects/{project}/regions/{region}"
- + "/serviceAttachments/{service_attachment}b\006proto3"
+ + "\037com.google.cloud.alloydb.v1betaB\016Resourc"
+ + "esProtoP\001Z9cloud.google.com/go/alloydb/a"
+ + "piv1beta/alloydbpb;alloydbpb\252\002\033Google.Cl"
+ + "oud.AlloyDb.V1Beta\312\002\033Google\\Cloud\\AlloyD"
+ + "b\\V1beta\352\002\036Google::Cloud::AlloyDB::V1beta\352A\246\001\n"
+ + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects/{project}/locations/{l"
+ + "ocation}/keyRings/{key_ring}/cryptoKeys/"
+ + "{crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n"
+ + "\036compute.googleapis.com/N"
+ + "etwork\022,projects/{project}/global/networks/{network}\352Ax\n"
+ + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project}/locations"
+ + "/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352Aw\n"
+ + "(compute.googleapis.com/ServiceAttachment\022Kprojects/{project}"
+ + "/regions/{region}/serviceAttachments/{service_attachment}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 31cbb902f9ab..d9e11384472d 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
@@ -107,6 +107,9 @@ enum DatabaseVersion {
// The database version is Postgres 18.
POSTGRES_18 = 6;
+
+ // The database version is Postgres 19.
+ POSTGRES_19 = 7;
}
// Subscription_type added to distinguish between Standard and Trial
diff --git a/java-analytics-admin/README.md b/java-analytics-admin/README.md
index bdc4b15d8247..5f1a17eb9973 100644
--- a/java-analytics-admin/README.md
+++ b/java-analytics-admin/README.md
@@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies:
This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+ * FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(parent);
+ * }
+ * }
+ *
+ * Note: close() needs to be called on the FeedsServiceClient object to clean up resources such + * as threads. In the example above, try-with-resources is used, which automatically calls close(). + * + *
| Method | + *Description | + *Method Variants | + *
|---|---|---|
FetchServiceAccountForCustomer |
+ * Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
CreateFeed |
+ * Creates a feed. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
GetFeed |
+ * Gets a feed. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
DeleteFeed |
+ * Deletes a feed. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
EnableFeed |
+ * Enable feed for ingestion. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
DisableFeed |
+ * Disable feed for ingestion. Make FeedState ARCHIVED. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
ListFeeds |
+ * Lists all feeds for the customer. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
ListFeedPacks |
+ * Lists Packs for which feeds can be configured. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
GetFeedPack |
+ * Gets a feed pack. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
UpdateFeed |
+ * Updates the full feed. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
ListFeedSourceTypeSchemas |
+ * List all FeedSourceTypeSchemas. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
ListLogTypeSchemas |
+ * List all LogTypeSchemas compatible with a given FeedSourceType. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
ImportPushLogs |
+ * Import logs coming from https push feeds. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
GenerateSecret |
+ * Generates a new secret for https push feeds which do not support jwt tokens. Secrets once generated should be copied and stored in safe place to be used while configuring https push feeds.Please note that you can always generate a new secret again for a feed using this API but it will invalidate the previously generated secret for the feed. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
See the individual methods for example code. + * + *
Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *
This class can be customized by passing in a custom instance of FeedsServiceSettings to + * create(). For example: + * + *
To customize credentials: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeedsServiceSettings feedsServiceSettings =
+ * FeedsServiceSettings.newBuilder()
+ * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ * .build();
+ * FeedsServiceClient feedsServiceClient = FeedsServiceClient.create(feedsServiceSettings);
+ * }
+ *
+ * To customize the endpoint: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeedsServiceSettings feedsServiceSettings =
+ * FeedsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * FeedsServiceClient feedsServiceClient = FeedsServiceClient.create(feedsServiceSettings);
+ * }
+ *
+ * To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeedsServiceSettings feedsServiceSettings = FeedsServiceSettings.newHttpJsonBuilder().build();
+ * FeedsServiceClient feedsServiceClient = FeedsServiceClient.create(feedsServiceSettings);
+ * }
+ *
+ * Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@NullMarked +@Generated("by gapic-generator-java") +public class FeedsServiceClient implements BackgroundResource { + private final @Nullable FeedsServiceSettings settings; + private final FeedsServiceStub stub; + + /** Constructs an instance of FeedsServiceClient with default settings. */ + public static final FeedsServiceClient create() throws IOException { + return create(FeedsServiceSettings.newBuilder().build()); + } + + /** + * Constructs an instance of FeedsServiceClient, using the given settings. The channels are + * created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final FeedsServiceClient create(FeedsServiceSettings settings) throws IOException { + return new FeedsServiceClient(settings); + } + + /** + * Constructs an instance of FeedsServiceClient, using the given stub for making calls. This is + * for advanced usage - prefer using create(FeedsServiceSettings). + */ + public static final FeedsServiceClient create(FeedsServiceStub stub) { + return new FeedsServiceClient(stub); + } + + /** + * Constructs an instance of FeedsServiceClient, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected FeedsServiceClient(FeedsServiceSettings settings) throws IOException { + this.settings = settings; + this.stub = ((FeedsServiceStubSettings) settings.getStubSettings()).createStub(); + } + + protected FeedsServiceClient(FeedsServiceStub stub) { + this.settings = null; + this.stub = stub; + } + + public final @Nullable FeedsServiceSettings getSettings() { + return settings; + } + + public FeedsServiceStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets. + * + *
Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+ * FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(parent);
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource where this FeedServiceAccount will be created.
+ * Format: projects/{project}/locations/{location}/instances/{instance}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeedServiceAccount fetchServiceAccountForCustomer(@Nullable InstanceName parent) {
+ FetchServiceAccountForCustomerRequest request =
+ FetchServiceAccountForCustomerRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return fetchServiceAccountForCustomer(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
+ * FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(parent);
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource where this FeedServiceAccount will be created.
+ * Format: projects/{project}/locations/{location}/instances/{instance}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeedServiceAccount fetchServiceAccountForCustomer(String parent) {
+ FetchServiceAccountForCustomerRequest request =
+ FetchServiceAccountForCustomerRequest.newBuilder().setParent(parent).build();
+ return fetchServiceAccountForCustomer(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * FetchServiceAccountForCustomerRequest request =
+ * FetchServiceAccountForCustomerRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .build();
+ * FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeedServiceAccount fetchServiceAccountForCustomer(
+ FetchServiceAccountForCustomerRequest request) {
+ return fetchServiceAccountForCustomerCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * FetchServiceAccountForCustomerRequest request =
+ * FetchServiceAccountForCustomerRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .build();
+ * ApiFuture future =
+ * feedsServiceClient.fetchServiceAccountForCustomerCallable().futureCall(request);
+ * // Do something.
+ * FeedServiceAccount response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+ * Feed feed = Feed.newBuilder().build();
+ * Feed response = feedsServiceClient.createFeed(parent, feed);
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource where this Feed will be created. Format:
+ * projects/{project}/locations/{location}/instances/{instance}
+ * @param feed Required. Feed to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed createFeed(@Nullable InstanceName parent, Feed feed) {
+ CreateFeedRequest request =
+ CreateFeedRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setFeed(feed)
+ .build();
+ return createFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
+ * Feed feed = Feed.newBuilder().build();
+ * Feed response = feedsServiceClient.createFeed(parent, feed);
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource where this Feed will be created. Format:
+ * projects/{project}/locations/{location}/instances/{instance}
+ * @param feed Required. Feed to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed createFeed(String parent, Feed feed) {
+ CreateFeedRequest request =
+ CreateFeedRequest.newBuilder().setParent(parent).setFeed(feed).build();
+ return createFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * CreateFeedRequest request =
+ * CreateFeedRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setFeed(Feed.newBuilder().build())
+ * .build();
+ * Feed response = feedsServiceClient.createFeed(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed createFeed(CreateFeedRequest request) {
+ return createFeedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * CreateFeedRequest request =
+ * CreateFeedRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setFeed(Feed.newBuilder().build())
+ * .build();
+ * ApiFuture future = feedsServiceClient.createFeedCallable().futureCall(request);
+ * // Do something.
+ * Feed response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+ * Feed response = feedsServiceClient.getFeed(name);
+ * }
+ * }
+ *
+ * @param name Required. The ID of the feed to retrieve. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed getFeed(@Nullable FeedName name) {
+ GetFeedRequest request =
+ GetFeedRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+ * Feed response = feedsServiceClient.getFeed(name);
+ * }
+ * }
+ *
+ * @param name Required. The ID of the feed to retrieve. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed getFeed(String name) {
+ GetFeedRequest request = GetFeedRequest.newBuilder().setName(name).build();
+ return getFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * GetFeedRequest request =
+ * GetFeedRequest.newBuilder()
+ * .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .build();
+ * Feed response = feedsServiceClient.getFeed(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed getFeed(GetFeedRequest request) {
+ return getFeedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * GetFeedRequest request =
+ * GetFeedRequest.newBuilder()
+ * .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .build();
+ * ApiFuture future = feedsServiceClient.getFeedCallable().futureCall(request);
+ * // Do something.
+ * Feed response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+ * feedsServiceClient.deleteFeed(name);
+ * }
+ * }
+ *
+ * @param name Required. The ID of the feed to retrieve. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteFeed(@Nullable FeedName name) {
+ DeleteFeedRequest request =
+ DeleteFeedRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ deleteFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+ * feedsServiceClient.deleteFeed(name);
+ * }
+ * }
+ *
+ * @param name Required. The ID of the feed to retrieve. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteFeed(String name) {
+ DeleteFeedRequest request = DeleteFeedRequest.newBuilder().setName(name).build();
+ deleteFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * DeleteFeedRequest request =
+ * DeleteFeedRequest.newBuilder()
+ * .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .setDeleteBacklog(true)
+ * .build();
+ * feedsServiceClient.deleteFeed(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteFeed(DeleteFeedRequest request) {
+ deleteFeedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * DeleteFeedRequest request =
+ * DeleteFeedRequest.newBuilder()
+ * .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .setDeleteBacklog(true)
+ * .build();
+ * ApiFuture future = feedsServiceClient.deleteFeedCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+ * Feed response = feedsServiceClient.enableFeed(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the feed to enable. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed enableFeed(@Nullable FeedName name) {
+ EnableFeedRequest request =
+ EnableFeedRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return enableFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Enable feed for ingestion.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+ * Feed response = feedsServiceClient.enableFeed(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the feed to enable. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed enableFeed(String name) {
+ EnableFeedRequest request = EnableFeedRequest.newBuilder().setName(name).build();
+ return enableFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Enable feed for ingestion.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * EnableFeedRequest request =
+ * EnableFeedRequest.newBuilder()
+ * .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .build();
+ * Feed response = feedsServiceClient.enableFeed(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed enableFeed(EnableFeedRequest request) {
+ return enableFeedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Enable feed for ingestion.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * EnableFeedRequest request =
+ * EnableFeedRequest.newBuilder()
+ * .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .build();
+ * ApiFuture future = feedsServiceClient.enableFeedCallable().futureCall(request);
+ * // Do something.
+ * Feed response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+ * Feed response = feedsServiceClient.disableFeed(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the feed to disable. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed disableFeed(@Nullable FeedName name) {
+ DisableFeedRequest request =
+ DisableFeedRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return disableFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Disable feed for ingestion. Make FeedState ARCHIVED.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+ * Feed response = feedsServiceClient.disableFeed(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the feed to disable. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed disableFeed(String name) {
+ DisableFeedRequest request = DisableFeedRequest.newBuilder().setName(name).build();
+ return disableFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Disable feed for ingestion. Make FeedState ARCHIVED.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * DisableFeedRequest request =
+ * DisableFeedRequest.newBuilder()
+ * .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .build();
+ * Feed response = feedsServiceClient.disableFeed(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed disableFeed(DisableFeedRequest request) {
+ return disableFeedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Disable feed for ingestion. Make FeedState ARCHIVED.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * DisableFeedRequest request =
+ * DisableFeedRequest.newBuilder()
+ * .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .build();
+ * ApiFuture future = feedsServiceClient.disableFeedCallable().futureCall(request);
+ * // Do something.
+ * Feed response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+ * for (Feed element : feedsServiceClient.listFeeds(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource where this Feed will be created. Format:
+ * projects/{project}/locations/{location}/instances/{instance}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeedsPagedResponse listFeeds(@Nullable InstanceName parent) {
+ ListFeedsRequest request =
+ ListFeedsRequest.newBuilder().setParent(parent == null ? null : parent.toString()).build();
+ return listFeeds(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all feeds for the customer.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
+ * for (Feed element : feedsServiceClient.listFeeds(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource where this Feed will be created. Format:
+ * projects/{project}/locations/{location}/instances/{instance}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeedsPagedResponse listFeeds(String parent) {
+ ListFeedsRequest request = ListFeedsRequest.newBuilder().setParent(parent).build();
+ return listFeeds(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all feeds for the customer.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListFeedsRequest request =
+ * ListFeedsRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Feed element : feedsServiceClient.listFeeds(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeedsPagedResponse listFeeds(ListFeedsRequest request) {
+ return listFeedsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all feeds for the customer.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListFeedsRequest request =
+ * ListFeedsRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future = feedsServiceClient.listFeedsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (Feed element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListFeedsRequest request =
+ * ListFeedsRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListFeedsResponse response = feedsServiceClient.listFeedsCallable().call(request);
+ * for (Feed element : response.getFeedsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+ * for (FeedPack element : feedsServiceClient.listFeedPacks(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource where this content pack will be created. Format:
+ * projects/{project}/locations/{location}/instances/{instance}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeedPacksPagedResponse listFeedPacks(@Nullable InstanceName parent) {
+ ListFeedPacksRequest request =
+ ListFeedPacksRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listFeedPacks(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Packs for which feeds can be configured.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
+ * for (FeedPack element : feedsServiceClient.listFeedPacks(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource where this content pack will be created. Format:
+ * projects/{project}/locations/{location}/instances/{instance}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeedPacksPagedResponse listFeedPacks(String parent) {
+ ListFeedPacksRequest request = ListFeedPacksRequest.newBuilder().setParent(parent).build();
+ return listFeedPacks(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Packs for which feeds can be configured.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListFeedPacksRequest request =
+ * ListFeedPacksRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (FeedPack element : feedsServiceClient.listFeedPacks(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeedPacksPagedResponse listFeedPacks(ListFeedPacksRequest request) {
+ return listFeedPacksPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Packs for which feeds can be configured.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListFeedPacksRequest request =
+ * ListFeedPacksRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * feedsServiceClient.listFeedPacksPagedCallable().futureCall(request);
+ * // Do something.
+ * for (FeedPack element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListFeedPacksRequest request =
+ * ListFeedPacksRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListFeedPacksResponse response = feedsServiceClient.listFeedPacksCallable().call(request);
+ * for (FeedPack element : response.getFeedPacksList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * FeedPackName name = FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]");
+ * FeedPack response = feedsServiceClient.getFeedPack(name);
+ * }
+ * }
+ *
+ * @param name Required. The ID of the feed pack to retrieve. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeedPack getFeedPack(@Nullable FeedPackName name) {
+ GetFeedPackRequest request =
+ GetFeedPackRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getFeedPack(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a feed pack.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String name =
+ * FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]").toString();
+ * FeedPack response = feedsServiceClient.getFeedPack(name);
+ * }
+ * }
+ *
+ * @param name Required. The ID of the feed pack to retrieve. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeedPack getFeedPack(String name) {
+ GetFeedPackRequest request = GetFeedPackRequest.newBuilder().setName(name).build();
+ return getFeedPack(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a feed pack.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * GetFeedPackRequest request =
+ * GetFeedPackRequest.newBuilder()
+ * .setName(
+ * FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]")
+ * .toString())
+ * .build();
+ * FeedPack response = feedsServiceClient.getFeedPack(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeedPack getFeedPack(GetFeedPackRequest request) {
+ return getFeedPackCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a feed pack.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * GetFeedPackRequest request =
+ * GetFeedPackRequest.newBuilder()
+ * .setName(
+ * FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]")
+ * .toString())
+ * .build();
+ * ApiFuture future = feedsServiceClient.getFeedPackCallable().futureCall(request);
+ * // Do something.
+ * FeedPack response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * Feed feed = Feed.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * Feed response = feedsServiceClient.updateFeed(feed, updateMask);
+ * }
+ * }
+ *
+ * @param feed Required. Feed to update. Updates full feed object.
+ * @param updateMask Optional. Specifies which fields to update. If empty, update the full feed.
+ * To update the display name, pass only `displayName` and no other fields. To update other
+ * fields, pass a comma-separated list of fields to update and omit `displayName`. The update
+ * fails if an existing `displayName` is sent in the update request.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed updateFeed(Feed feed, FieldMask updateMask) {
+ UpdateFeedRequest request =
+ UpdateFeedRequest.newBuilder().setFeed(feed).setUpdateMask(updateMask).build();
+ return updateFeed(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the full feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * UpdateFeedRequest request =
+ * UpdateFeedRequest.newBuilder()
+ * .setFeed(Feed.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * Feed response = feedsServiceClient.updateFeed(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feed updateFeed(UpdateFeedRequest request) {
+ return updateFeedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the full feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * UpdateFeedRequest request =
+ * UpdateFeedRequest.newBuilder()
+ * .setFeed(Feed.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future = feedsServiceClient.updateFeedCallable().futureCall(request);
+ * // Do something.
+ * Feed response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+ * for (FeedSourceTypeSchema element :
+ * feedsServiceClient.listFeedSourceTypeSchemas(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+ * Format: projects/{project}/locations/{location}/instances/{instance}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeedSourceTypeSchemasPagedResponse listFeedSourceTypeSchemas(
+ @Nullable InstanceName parent) {
+ ListFeedSourceTypeSchemasRequest request =
+ ListFeedSourceTypeSchemasRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listFeedSourceTypeSchemas(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * List all FeedSourceTypeSchemas.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
+ * for (FeedSourceTypeSchema element :
+ * feedsServiceClient.listFeedSourceTypeSchemas(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+ * Format: projects/{project}/locations/{location}/instances/{instance}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeedSourceTypeSchemasPagedResponse listFeedSourceTypeSchemas(String parent) {
+ ListFeedSourceTypeSchemasRequest request =
+ ListFeedSourceTypeSchemasRequest.newBuilder().setParent(parent).build();
+ return listFeedSourceTypeSchemas(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * List all FeedSourceTypeSchemas.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListFeedSourceTypeSchemasRequest request =
+ * ListFeedSourceTypeSchemasRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (FeedSourceTypeSchema element :
+ * feedsServiceClient.listFeedSourceTypeSchemas(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeedSourceTypeSchemasPagedResponse listFeedSourceTypeSchemas(
+ ListFeedSourceTypeSchemasRequest request) {
+ return listFeedSourceTypeSchemasPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * List all FeedSourceTypeSchemas.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListFeedSourceTypeSchemasRequest request =
+ * ListFeedSourceTypeSchemasRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * feedsServiceClient.listFeedSourceTypeSchemasPagedCallable().futureCall(request);
+ * // Do something.
+ * for (FeedSourceTypeSchema element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ListFeedSourceTypeSchemasRequest, ListFeedSourceTypeSchemasPagedResponse>
+ listFeedSourceTypeSchemasPagedCallable() {
+ return stub.listFeedSourceTypeSchemasPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * List all FeedSourceTypeSchemas.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListFeedSourceTypeSchemasRequest request =
+ * ListFeedSourceTypeSchemasRequest.newBuilder()
+ * .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListFeedSourceTypeSchemasResponse response =
+ * feedsServiceClient.listFeedSourceTypeSchemasCallable().call(request);
+ * for (FeedSourceTypeSchema element : response.getFeedSourceTypeSchemasList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * FeedSourceTypeSchemaName parent =
+ * FeedSourceTypeSchemaName.of(
+ * "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]");
+ * for (LogTypeSchema element : feedsServiceClient.listLogTypeSchemas(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The parent, which owns this collection of LogTypeSchemas. Format:
+ * Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListLogTypeSchemasPagedResponse listLogTypeSchemas(
+ @Nullable FeedSourceTypeSchemaName parent) {
+ ListLogTypeSchemasRequest request =
+ ListLogTypeSchemasRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listLogTypeSchemas(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * List all LogTypeSchemas compatible with a given FeedSourceType.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String parent =
+ * FeedSourceTypeSchemaName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]")
+ * .toString();
+ * for (LogTypeSchema element : feedsServiceClient.listLogTypeSchemas(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The parent, which owns this collection of LogTypeSchemas. Format:
+ * Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListLogTypeSchemasPagedResponse listLogTypeSchemas(String parent) {
+ ListLogTypeSchemasRequest request =
+ ListLogTypeSchemasRequest.newBuilder().setParent(parent).build();
+ return listLogTypeSchemas(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * List all LogTypeSchemas compatible with a given FeedSourceType.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListLogTypeSchemasRequest request =
+ * ListLogTypeSchemasRequest.newBuilder()
+ * .setParent(
+ * FeedSourceTypeSchemaName.of(
+ * "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]")
+ * .toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (LogTypeSchema element : feedsServiceClient.listLogTypeSchemas(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListLogTypeSchemasPagedResponse listLogTypeSchemas(
+ ListLogTypeSchemasRequest request) {
+ return listLogTypeSchemasPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * List all LogTypeSchemas compatible with a given FeedSourceType.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListLogTypeSchemasRequest request =
+ * ListLogTypeSchemasRequest.newBuilder()
+ * .setParent(
+ * FeedSourceTypeSchemaName.of(
+ * "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]")
+ * .toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * feedsServiceClient.listLogTypeSchemasPagedCallable().futureCall(request);
+ * // Do something.
+ * for (LogTypeSchema element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ListLogTypeSchemasRequest request =
+ * ListLogTypeSchemasRequest.newBuilder()
+ * .setParent(
+ * FeedSourceTypeSchemaName.of(
+ * "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]")
+ * .toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListLogTypeSchemasResponse response =
+ * feedsServiceClient.listLogTypeSchemasCallable().call(request);
+ * for (LogTypeSchema element : response.getLogTypeSchemasList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * FeedName parent = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+ * HttpBody response = feedsServiceClient.importPushLogs(parent);
+ * }
+ * }
+ *
+ * @param parent Required. The parent, which owns this collection of logs. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final HttpBody importPushLogs(@Nullable FeedName parent) {
+ ImportPushLogsRequest request =
+ ImportPushLogsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return importPushLogs(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Import logs coming from https push feeds. All log entries must be valid UTF-8. A single invalid
+ * event will cause the entire request to be rejected.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String parent = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+ * HttpBody response = feedsServiceClient.importPushLogs(parent);
+ * }
+ * }
+ *
+ * @param parent Required. The parent, which owns this collection of logs. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final HttpBody importPushLogs(String parent) {
+ ImportPushLogsRequest request = ImportPushLogsRequest.newBuilder().setParent(parent).build();
+ return importPushLogs(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Import logs coming from https push feeds. All log entries must be valid UTF-8. A single invalid
+ * event will cause the entire request to be rejected.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ImportPushLogsRequest request =
+ * ImportPushLogsRequest.newBuilder()
+ * .setParent(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .setHttpBody(HttpBody.newBuilder().build())
+ * .setSecret("secret-906277200")
+ * .build();
+ * HttpBody response = feedsServiceClient.importPushLogs(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final HttpBody importPushLogs(ImportPushLogsRequest request) {
+ return importPushLogsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Import logs coming from https push feeds. All log entries must be valid UTF-8. A single invalid
+ * event will cause the entire request to be rejected.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * ImportPushLogsRequest request =
+ * ImportPushLogsRequest.newBuilder()
+ * .setParent(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .setHttpBody(HttpBody.newBuilder().build())
+ * .setSecret("secret-906277200")
+ * .build();
+ * ApiFuture future = feedsServiceClient.importPushLogsCallable().futureCall(request);
+ * // Do something.
+ * HttpBody response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+ * GenerateSecretResponse response = feedsServiceClient.generateSecret(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the feed to for which to generate secret. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final GenerateSecretResponse generateSecret(@Nullable FeedName name) {
+ GenerateSecretRequest request =
+ GenerateSecretRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return generateSecret(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Generates a new secret for https push feeds which do not support jwt tokens. Secrets once
+ * generated should be copied and stored in safe place to be used while configuring https push
+ * feeds.Please note that you can always generate a new secret again for a feed using this API but
+ * it will invalidate the previously generated secret for the feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+ * GenerateSecretResponse response = feedsServiceClient.generateSecret(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the feed to for which to generate secret. Format:
+ * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final GenerateSecretResponse generateSecret(String name) {
+ GenerateSecretRequest request = GenerateSecretRequest.newBuilder().setName(name).build();
+ return generateSecret(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Generates a new secret for https push feeds which do not support jwt tokens. Secrets once
+ * generated should be copied and stored in safe place to be used while configuring https push
+ * feeds.Please note that you can always generate a new secret again for a feed using this API but
+ * it will invalidate the previously generated secret for the feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * GenerateSecretRequest request =
+ * GenerateSecretRequest.newBuilder()
+ * .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .build();
+ * GenerateSecretResponse response = feedsServiceClient.generateSecret(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final GenerateSecretResponse generateSecret(GenerateSecretRequest request) {
+ return generateSecretCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Generates a new secret for https push feeds which do not support jwt tokens. Secrets once
+ * generated should be copied and stored in safe place to be used while configuring https push
+ * feeds.Please note that you can always generate a new secret again for a feed using this API but
+ * it will invalidate the previously generated secret for the feed.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * GenerateSecretRequest request =
+ * GenerateSecretRequest.newBuilder()
+ * .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+ * .build();
+ * ApiFuture future =
+ * feedsServiceClient.generateSecretCallable().futureCall(request);
+ * // Do something.
+ * GenerateSecretResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableThe default instance has everything set to sensible defaults: + * + *
The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *
For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of fetchServiceAccountForCustomer: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeedsServiceSettings.Builder feedsServiceSettingsBuilder = FeedsServiceSettings.newBuilder();
+ * feedsServiceSettingsBuilder
+ * .fetchServiceAccountForCustomerSettings()
+ * .setRetrySettings(
+ * feedsServiceSettingsBuilder
+ * .fetchServiceAccountForCustomerSettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setInitialRetryDelayDuration(Duration.ofSeconds(1))
+ * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
+ * .setMaxAttempts(5)
+ * .setMaxRetryDelayDuration(Duration.ofSeconds(30))
+ * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
+ * .setRetryDelayMultiplier(1.3)
+ * .setRpcTimeoutMultiplier(1.5)
+ * .setTotalTimeoutDuration(Duration.ofSeconds(300))
+ * .build());
+ * FeedsServiceSettings feedsServiceSettings = feedsServiceSettingsBuilder.build();
+ * }
+ *
+ * Please refer to the [Client Side Retry
+ * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
+ * retries.
+ */
+@NullMarked
+@Generated("by gapic-generator-java")
+public class FeedsServiceSettings extends ClientSettingsNote: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction ======================= FeedsServiceClient =======================
+ *
+ * Service Description: FeedsService contains procedures for managing Chronicle third-party
+ * feeds.
+ *
+ * Sample for FeedsServiceClient:
+ *
+ * ======================= FindingsRefinementServiceClient =======================
*
* Service Description: FindingsRefinementService provides an interface for filtering out
diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/FeedsServiceStub.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/FeedsServiceStub.java
new file mode 100644
index 000000000000..e4b8c4469558
--- /dev/null
+++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/FeedsServiceStub.java
@@ -0,0 +1,145 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.chronicle.v1.stub;
+
+import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedPacksPagedResponse;
+import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedSourceTypeSchemasPagedResponse;
+import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedsPagedResponse;
+import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListLogTypeSchemasPagedResponse;
+
+import com.google.api.HttpBody;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.cloud.chronicle.v1.CreateFeedRequest;
+import com.google.cloud.chronicle.v1.DeleteFeedRequest;
+import com.google.cloud.chronicle.v1.DisableFeedRequest;
+import com.google.cloud.chronicle.v1.EnableFeedRequest;
+import com.google.cloud.chronicle.v1.Feed;
+import com.google.cloud.chronicle.v1.FeedPack;
+import com.google.cloud.chronicle.v1.FeedServiceAccount;
+import com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest;
+import com.google.cloud.chronicle.v1.GenerateSecretRequest;
+import com.google.cloud.chronicle.v1.GenerateSecretResponse;
+import com.google.cloud.chronicle.v1.GetFeedPackRequest;
+import com.google.cloud.chronicle.v1.GetFeedRequest;
+import com.google.cloud.chronicle.v1.ImportPushLogsRequest;
+import com.google.cloud.chronicle.v1.ListFeedPacksRequest;
+import com.google.cloud.chronicle.v1.ListFeedPacksResponse;
+import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest;
+import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse;
+import com.google.cloud.chronicle.v1.ListFeedsRequest;
+import com.google.cloud.chronicle.v1.ListFeedsResponse;
+import com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest;
+import com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse;
+import com.google.cloud.chronicle.v1.UpdateFeedRequest;
+import com.google.protobuf.Empty;
+import javax.annotation.Generated;
+import org.jspecify.annotations.NullMarked;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Base stub class for the FeedsService service API.
+ *
+ * This class is for advanced usage and reflects the underlying API directly.
+ */
+@NullMarked
+@Generated("by gapic-generator-java")
+public abstract class FeedsServiceStub implements BackgroundResource {
+
+ public UnaryCallable The default instance has everything set to sensible defaults:
+ *
+ * The builder of this class is recursive, so contained classes are themselves builders. When
+ * build() is called, the tree of builders is called to create the complete settings object.
+ *
+ * For example, to set the
+ * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
+ * of fetchServiceAccountForCustomer:
+ *
+ * Note: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction This class is for advanced usage.
+ */
+@NullMarked
+@Generated("by gapic-generator-java")
+public class GrpcFeedsServiceCallableFactory implements GrpcStubCallableFactory {
+
+ @Override
+ public This class is for advanced usage and reflects the underlying API directly.
+ */
+@NullMarked
+@Generated("by gapic-generator-java")
+public class GrpcFeedsServiceStub extends FeedsServiceStub {
+ private static final MethodDescriptor{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ * InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+ * FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(parent);
+ * }
+ * }
+ *
*
+ *
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeedsServiceStubSettings.Builder feedsServiceSettingsBuilder =
+ * FeedsServiceStubSettings.newBuilder();
+ * feedsServiceSettingsBuilder
+ * .fetchServiceAccountForCustomerSettings()
+ * .setRetrySettings(
+ * feedsServiceSettingsBuilder
+ * .fetchServiceAccountForCustomerSettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setInitialRetryDelayDuration(Duration.ofSeconds(1))
+ * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
+ * .setMaxAttempts(5)
+ * .setMaxRetryDelayDuration(Duration.ofSeconds(30))
+ * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
+ * .setRetryDelayMultiplier(1.3)
+ * .setRpcTimeoutMultiplier(1.5)
+ * .setTotalTimeoutDuration(Duration.ofSeconds(300))
+ * .build());
+ * FeedsServiceStubSettings feedsServiceSettings = feedsServiceSettingsBuilder.build();
+ * }
+ *
+ * Please refer to the [Client Side Retry
+ * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
+ * retries.
+ */
+@NullMarked
+@Generated("by gapic-generator-java")
+@SuppressWarnings("CanonicalDuration")
+public class FeedsServiceStubSettings extends StubSettings